ack/modules/src/system/write.c
1987-03-09 15:15:03 +00:00

16 lines
329 B
C

/*
* (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands.
* See the copyright notice in the ACK home directory, in the file "Copyright".
*/
/* $Header$ */
#include <system.h>
int
sys_write(fp, bufptr, nbytes)
File *fp;
char *bufptr;
int nbytes;
{
return write(fp->o_fd, bufptr, nbytes) == nbytes;
}