Linux Manual Pages development
 help / color / mirror / Atom feed
From: Georg Sauthoff <gsauthof-If1cxaH3S3JVgF+RW+Bo1SZEdBbF94EN@public.gmane.org>
To: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
Cc: linux-man-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: fsync(2) EINVAL example, fifo(7) read-only
Date: Sun, 23 Jan 2011 10:08:47 +0100	[thread overview]
Message-ID: <20110123090847.GQ3446@lenovo.private> (raw)

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-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

                 reply	other threads:[~2011-01-23  9:08 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20110123090847.GQ3446@lenovo.private \
    --to=gsauthof-if1cxah3s3jvgf+rw+bo1szedbbf94en@public.gmane.org \
    --cc=linux-man-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox