kolibrios-gitea/drivers/ddk/io/create.c
turbocat 80647f2201 libddk: fixed io functions
git-svn-id: svn://kolibrios.org@9186 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-09-10 18:50:14 +00:00

15 lines
243 B
C

#include <syscall.h>
int create_file(const char *path)
{
int err;
ksys70_t k;
k.p00 = 2;
k.p04dw = 0;
k.p08dw = 0;
k.p12 = 0;
k.p20 = 0;
k.p21 = path;
return FS_Service(&k, &err);
};