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