[PATCH] strdup: doesn't make sense to document errno codes, when NULL means error

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

 



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@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