26 lines · 334 B · C
RawDownload
/* * Some support for functions that might be missing on lunix * */ #include <u.h>#define NOPLAN9DEFINES#include <libc.h> longp9write(int fd, void *buf, long nbytes){	return write(fd, buf, nbytes);} longp9read(int fd, void *buf, long nbytes){	return read(fd, buf, nbytes);} intp9close(int fd){	return close(fd);}