| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
C99 now that all known standards-related bugs have been fixed.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
out. This will probably have to wait until after 5.0-R.
|
|
|
|
|
| |
Also add a note to the Bugs section pointing out that strerror() and
perror() share the same static buffer.
|
| |
|
|
|
|
| |
MFC after: 1 week
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
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)
|
|
|
|
|
|
|
| |
complete with documentation.
Reviewed by: mike@ gad@
MFC after: 1 week
|
|
|
|
|
| |
Reviewed by: Mike Barcroft <mike@FreeBSD.org>
MFC after: 2 weeks
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
More libraries manpages updates following.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
processing of the string argument by perror().
|
| |
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
| |
Use .Va instead of .Fa to describe these variables.
Say a little about inconsistent declarations of sys_errlist in the BUGS
section.
|
|
|