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.
精彩评论