FreeBSD Bugzilla – Attachment 47349 Details for
Bug 72578
strerror_r() unrecognized error numbers not correctly documented
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
strerror.3.patch
strerror.3.patch (text/plain), 1.00 KB, created by
Jilles Tjoelker
on 2004-10-12 14:40:14 UTC
(
hide
)
Description:
strerror.3.patch
Filename:
MIME Type:
Creator:
Jilles Tjoelker
Created:
2004-10-12 14:40:14 UTC
Size:
1.00 KB
patch
obsolete
>--- src/lib/libc/string/strerror.3.orig Tue Oct 12 14:59:18 2004 >+++ src/lib/libc/string/strerror.3 Tue Oct 12 15:13:08 2004 >@@ -36,7 +36,7 @@ > .\" @(#)strerror.3 8.1 (Berkeley) 6/9/93 > .\" $FreeBSD: /repoman/r/ncvs/src/lib/libc/string/strerror.3,v 1.7.2.7 2003/01/17 13:39:50 mike Exp $ > .\" >-.Dd December 19, 2002 >+.Dd October 12, 2004 > .Dt STRERROR 3 > .Os > .Sh NAME >@@ -102,18 +102,17 @@ > .Pq Dq Li ":\ " ; > otherwise, only the error message string is printed. > .Pp >-If >-.Fa errnum >-is not a recognized error number, >-.Fn strerror >-returns an error message string containing >+If the error number is not recognized, these functions return an error message >+string containing > .Dq Li "Unknown error:\ " >-followed by the error number in decimal, while >+followed by the error number in decimal. >+The >+.Fn strerror >+and > .Fn strerror_r >-leaves >-.Fa strerrbuf >-unchanged and returns >-.Er EINVAL . >+functions return >+.Er EINVAL >+as a warning. > Error numbers recognized by this implementation fall in > the range 0 < > .Fa errnum
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 72578
: 47349