关于read()的问题read()函数在什么情况下返回的是负数[解决办法]Upon successful completion, read()and p
关于read()的问题 read()函数在什么情况下返回的是负数
[解决办法] Upon successful completion, read() and pread() shall return a non-negative integer indicating the number of bytes actually read. Otherwise, the functions shall return -1 and set errno to indicate the error.