Initial revision
This commit is contained in:
12
modules/src/system/write.c
Normal file
12
modules/src/system/write.c
Normal file
@@ -0,0 +1,12 @@
|
||||
/* $Header$ */
|
||||
|
||||
#include <system.h>
|
||||
|
||||
int
|
||||
sys_write(fp, bufptr, nbytes)
|
||||
File *fp;
|
||||
char *bufptr;
|
||||
int nbytes;
|
||||
{
|
||||
return write(fp->o_fd, bufptr, nbytes) == nbytes;
|
||||
}
|
||||
Reference in New Issue
Block a user