fsync(2) EINVAL example, fifo(7) read-only

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

just small stuff:

from the ERRORS section of fsync(2):


'EROFS, EINVAL
              fd is bound to a special file which does not support
              synchronization.
'

Consider adding an example of an file which does not support
synchronization, i.e. a note that doing fsync on a fifo yields EINVAL.



from fifo(7):

'A process can open a FIFO in nonblocking mode.  In this case, opening for read
 only will succeed even if no-one has opened on the write side yet, opening for
 write only will fail with ENXIO (no such device or address) unless the other
 end has already been opened.
'

IMHO it would be easier to parse, if 'read only'/'write only' would be
substituted with 'read-only'/'write-only'.


Best regards
Georg
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux