Chinaunix's Archiver
论坛
›
Linux环境编程
› linux中的open,read,write函数成功调用返回值是什么
wy200747055
发表于 2012-06-12 10:44
linux中的open,read,write函数成功调用返回值是什么
open调用成功返回值是不是为0?
read(filename,buffer,number),成功调用返回的值是不是读取的字节数number?
write(filename,buffer,number),成功调用返回的值是不是写入文件的字节数number?
MMMIX
发表于 2012-06-12 10:58
回复 1# wy200747055
查文档。
恨天低
发表于 2012-06-12 12:54
man一下就知道了。
页:
[1]
查看完整版本:
linux中的open,read,write函数成功调用返回值是什么