write read;writev readv;recv send;recvfrom sendto;recvmsg sendmsg五组I/O函数汇总
read、write头文件:#include原型:size_tread(intfd,void*buf,size_tcount); size_twrite(intfd,constvoid*buf,size_tcount);参数:fd文件描述符;buf指向一段内存的指针;count想要读取或者写入fd的字节数。返回值:成功时返回实际读取或者写入fd的字节数;错误返回-1.备注:读取时如在到