linux-man.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* manpage should say that fwrite/fread  sets errno
@ 2014-04-01 18:05 Török Edwin
  0 siblings, 0 replies; only message in thread
From: Török Edwin @ 2014-04-01 18:05 UTC (permalink / raw)
  To: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w; +Cc: linux-man-u79uwXL29TY76Z2rM5mHXA

Hi,

'man 3 fwrite' doesn't say anything about errno, OTOH 'man 3p fwrite', and 'man 3 fclose' does.

The comment about 'fread'  in 'man 3 fread' could make someone believe that it doesn't set errno.

I don't know what C89 has to say about errno, hence I'm just reporting this to you without sending an actual patch.

This is manpages 3.61-1 from Debian unstable, and bottom of the manpage says it is:
GNU                                                       2012-03-30                                                 FREAD(3)

I've checked man-pages.git, and it is the same situation there.

Best regards,
--Edwin
--
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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2014-04-01 18:05 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-01 18:05 manpage should say that fwrite/fread sets errno Török Edwin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).