From: Shawn Landden <shawnlandden-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
Cc: linux-man-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
Shawn Landden
<shawnlandden-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Subject: [PATCH] strdup: doesn't make sense to document errno codes, when NULL means error
Date: Tue, 14 Aug 2012 19:05:21 -0700 [thread overview]
Message-ID: <1344996321-14959-1-git-send-email-shawnlandden@gmail.com> (raw)
man 3 malloc doesn't do this, and its kinda confusing
---
man3/strdup.3 | 4 ----
1 file changed, 4 deletions(-)
diff --git a/man3/strdup.3 b/man3/strdup.3
index 3b5c543..45ea2be 100644
--- a/man3/strdup.3
+++ b/man3/strdup.3
@@ -104,10 +104,6 @@ The
.BR strdup ()
function returns a pointer to the duplicated
string, or NULL if insufficient memory was available.
-.SH ERRORS
-.TP
-.B ENOMEM
-Insufficient memory available to allocate duplicate string.
.SH "CONFORMING TO"
.\" 4.3BSD-Reno, not (first) 4.3BSD.
.BR strdup ()
--
1.7.9.5
--
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:[~2012-08-15 2:05 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=1344996321-14959-1-git-send-email-shawnlandden@gmail.com \
--to=shawnlandden-re5jqeeqqe8avxtiumwx3w@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;
as well as URLs for NNTP newsgroup(s).