forked from KolibriOS/kolibrios
be90c91c89
- Fixed Makefile - Added FS_Service instead of calling system call 70 git-svn-id: svn://kolibrios.org@9057 a494cfbc-eb01-0410-851d-a64ba20cac60
13 lines
200 B
C
13 lines
200 B
C
#include <syscall.h>
|
|
|
|
int create_file(const char *path)
|
|
{
|
|
int err=0;
|
|
ksys70_t k;
|
|
k.p00 = 2;
|
|
k.p12 = 0;
|
|
k.p20 = 0;
|
|
k.p21 = path;
|
|
return FS_Service(&k, &err);
|
|
};
|