summaryrefslogtreecommitdiffstats
path: root/lib/libc/string/strerror.3
Commit message (Collapse)AuthorAgeFilesLines
* Add back the Standards section claiming conformance to 1003.1-2001 andtjr2002-12-191-10/+13
| | | | C99 now that all known standards-related bugs have been fixed.
* Rearrange strerror() so that its itoa procedure can be used withmike2002-12-181-1/+6
| | | | | | | | | | | | | | | strerror_r(). Doing this allows us to ensure that strerror_r() always fills the supplied buffer regardless of EINVAL or ERANGE errors. strerror()'s semantics have changed slightly such that an argument of 0 is now considered invalid and errno is set to EINVAL. Remove internal regression test for strerror() and strerror_r(). This will be reincarnated in src/tools/regression/lib/libc/string. In strerror(3), add a comment about strerror()'s bogus return type. PR: 44356
* Remove the Standards section again until we get these functions sortedtjr2002-10-241-8/+0
| | | | out. This will probably have to wait until after 5.0-R.
* Add a Standards section, claiming conformance to IEEE Std. 1003.1-2001.tjr2002-10-231-1/+17
| | | | | Also add a note to the Bugs section pointing out that strerror() and perror() share the same static buffer.
* Revert last commit. stdio.h include is for perror(), not strerror()jedgar2002-01-311-1/+1
|
* strerror(3) is in string.h, not stdio.hjedgar2002-01-311-1/+1
| | | | MFC after: 1 week
* mdoc(7) police: minor markup nits.ru2001-12-121-20/+20
|
* Make strerror and strerror_r use sys_errlist[0] for errnum = 0. Bewes2001-12-071-3/+12
| | | | | | | | | | | more careful about reporting truncation with ERANGE in strerror_r. Set errno to EINVAL for "unknown" errnum in strerror as required by P1003.1-200x Draft June 14, 2001. More carefully document the handling of strerrbuf when errors (ERANGE, EINVAL) are encountered in strerror_r. Reviewed by: bde (ongoing discussion)
* New, improved, more Posix-compliant strerror_r implementation,wes2001-12-061-12/+19
| | | | | | | complete with documentation. Reviewed by: mike@ gad@ MFC after: 1 week
* Add strerror_r function per Posix prototype.wes2001-11-271-4/+33
| | | | | Reviewed by: Mike Barcroft <mike@FreeBSD.org> MFC after: 2 weeks
* mdoc(7) police: Use the new .In macro for #include statements.ru2001-10-011-2/+2
|
* mdoc(7) police: removed HISTORY info from the .Os call.ru2001-07-101-1/+1
|
* mdoc(7) police: split punctuation characters + misc fixes.ru2001-02-011-1/+1
|
* mdoc(7) police: Ft/Vt now accept punctuation-type arguments.ru2001-01-121-2/+2
|
* Introduce ".Lb" macro to libc manpages.phantom2000-04-211-0/+2
| | | | More libraries manpages updates following.
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* Add $Id$, to make it simpler for members of the translation teams tonik1999-07-121-0/+1
| | | | | | | | | | | | | | | | | track. The $Id$ line is normally at the bottom of the main comment block in the man page, separated from the rest of the manpage by an empty comment, like so; .\" $Id$ .\" If the immediately preceding comment is a @(#) format ID marker than the the $Id$ will line up underneath it with no intervening blank lines. Otherwise, an additional blank line is inserted. Approved by: bde
* (Whoops: make it better instead of worse this time). Clarifyrnordier1998-10-291-1/+1
| | | | processing of the string argument by perror().
* Clarify processing of the string argument by perror().rnordier1998-10-291-8/+5
|
* Correctly use .Fn instead of .Nm to reference function namesmpp1996-08-221-1/+2
| | | | | | | | in a bunch of man pages. Use the correct .Bx (BSD UNIX) or .At (AT&T UNIX) macros instead of explicitly specifying the version in the text in a bunch of man pages.
* Added `const' to types of sys_errlist and sys_nerr.bde1996-04-191-5/+10
| | | | | | | Use .Va instead of .Fa to describe these variables. Say a little about inconsistent declarations of sys_errlist in the BUGS section.
* BSD 4.4 Lite Lib Sourcesrgrimes1994-05-271-0/+124
OpenPOWER on IntegriCloud