1 2 3 4 5 6 7
#include <unistd.h> #include "buffer.h" int buffer_unixwrite(int fd,const char *buf,unsigned int len) { return write(fd,buf,len); }