开发者

Read from a file opened with O_WRONLY

Is 开发者_如何学Cit possible to read from a file which is opened using open system call with O_WRONLY flag in Unix?. If it is possible then what does Write Only (O_WRONLY) mean??

Thanks, LinuxPenseur


Yes, it's possible, just not with the file descriptor returned from that open() call.


Duh. Oh course write-only means exactly that — write ONLY.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜