80647f2201
git-svn-id: svn://kolibrios.org@9186 a494cfbc-eb01-0410-851d-a64ba20cac60
15 lines
328 B
C
15 lines
328 B
C
#include <syscall.h>
|
|
|
|
int write_file(const char *path,const void *buff,
|
|
unsigned offset,unsigned count,unsigned *writes)
|
|
{
|
|
ksys70_t k;
|
|
k.p00 = 3;
|
|
k.p04 = offset;
|
|
k.p12 = count;
|
|
k.cbuf16 = buff;
|
|
k.p20 = 0;
|
|
k.p21 = path;
|
|
return FS_Service(&k, writes);
|
|
}
|