| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
I believe have made all of libc .c's as consistent as possible.
|
| |
|
| |
|
|
|
|
| |
MFC after: 1 week
|
|
|
|
|
|
|
|
| |
o Restore vendor ID.
o Order variable types by size.
o Remove a gratuitous temporary variable.
Submitted by: bde
|
|
|
|
|
|
|
| |
style(9):
o Order variables in declarations.
o Move initialization out of declaration.
o Fix over-indents in previous delta.
|
|
|
|
|
| |
Submitted by: Joseph Mallett <jmallett@xmach.org>
Reviewed by: md5(1)
|
|
|
|
| |
Stop abusing the .%J macro for where the .Pa macro should have been used.
|
|
|
|
|
| |
PR: 33298
Submitted by: Tim J. Robbins <tim@robbins.dropbear.id.au>
|
|
|
|
|
|
|
|
|
| |
the first revision of strcpy(3)'s section is included, but should be
removed as the Security Architecture document is committed and
completed.
Obtained from: TrustedBSD Project
Sponsored by: DARPA, NAI Labs
|
|
|
|
|
|
|
| |
CONSIDERATIONS' as a source for relevant sample code.
Obtained from: TrustedBSD Project
Sponsored by: DARPA, NAI Labs
|
|
|
|
|
|
|
| |
duplicated code from EXAMPLES.
Obtained from: TrustedBSD Project
Sponsored by: DARPA, NAI Labs
|
|
|
|
|
|
|
|
| |
This will be trimmed as the FreeBSD Security Architecture document
is fleshed out and committed.
Obtained from: TrustedBSD Project
Sponsored by: DARPA, NAI Labs
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
Thanks for the review, Mike.
Submitted by: Mike Barcroft <mike@FreeBSD.org>
|
|
|
|
|
| |
Reviewed by: Mike Barcroft <mike@FreeBSD.org>
MFC after: 2 weeks
|
| |
|
|
|
|
|
| |
PR: bin/29218
Submitted by: Goran Lowkrantz <goran.lowkrantz@ismobile.com>
|
| |
|
|
|
|
|
|
|
| |
Add a missing word. Bump document date.
Inspired by: IEEE Std 1003.1-200x (Draft 7)
MFC after: 3 days
|
|
|
|
| |
character. Bump document date. Add a missing comma.
|
| |
|
|
|
|
| |
Requested by: brian, gad
|
|
|
|
|
|
|
|
| |
number of characters that are searched. This is especially useful
with file operations and non-NUL terminated strings.
Silence from: -audit, -hackers
MFC after: 5 days
|
|
|
|
|
|
| |
The corresponding bugs in <wchar.h> have no effect because the function
prototypes there don't have args so the __restrict "keyword" is
misinterpreted as an arg.
|
| |
|
|
|
|
|
|
| |
is also required by the forthcoming POSIX.1-200x standard.
Obtained from: malloc.3
|
|
|
|
|
|
|
|
|
|
| |
o Replace strncpy examples with less confusing ones from
OpenBSD. These examples give more detail and also suggest
using strlcpy(3).
Reviewed by: des, ru, sheldonh
Obtained from: OpenBSD
MFC after: 3 days
|
| |
|
|
|
|
| |
implementation and compilation when bringing up a new architecture.
|
|
|
|
|
| |
Obtained from: OpenBSD
MFC after: 1 week
|
|
|
|
|
|
|
|
|
|
|
|
| |
Clarify that if strlcat() does not find a NUL within siz byte it
will not NUL terminate either.
Document boundary condition when size < strlen(dst).
"of", not "on" (from Henric Jungheim)
Obtained from: OpenBSD
MFC After: 1 week
|
|
|
|
|
| |
PR: 29002
Submitted by: Joseph Mallett <jmallett@xMach.org>
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Do the same for the non-wcs*/wmem* files while I'm here.
|
|
|
|
|
|
|
|
|
|
|
| |
history info as:
: .Sh STANDARDS If the command, library function or file adheres to a
: specific implementation such as IEEE Std 1003.2
: (``POSIX.2'') or ANSI X3.159-1989 (``ANSI C'') this
: should be noted here. If the command does not adhere
: to any standard, its history should be noted in the
: HISTORY section.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
- enable locale-insensitive functions of wchar.h:
wcscat.c wcschr.c wcscmp.c wcscpy.c wcscspn.c wcslcat.c wcslcpy.c
wcslen.c wcsncat.c wcsncmp.c wcsncpy.c wcspbrk.c wcsrchr.c wcsspn.c
wcsstr.c wmemchr.c wmemcmp.c wmemcpy.c wmemmove.c wmemset.c
XXX: wcswidth.c is not enabled yet.
- enable wmemchr(3) man page.
XXX: FreeBSD lacks .St -isoC99 and .St -isoC-amd1.
|
|
|
|
| |
Obtained from: NetBSD and Citrus.
|
|
|
|
|
| |
PR: docs/27161
Submitted by: Kazuhiro KONDOU <k-fuji@za2.so-net.ne.jp>
|
| |
|
| |
|
| |
|
|
|
|
| |
Obtained from: OpenBSD
|
|
|
|
|
|
|
|
|
|
| |
attempt to read memory when siz is 0
- Clarify comments referring to strlcat() usage
PR: 24278, 24295
Submitted by: Tony Finch <dot@dotat.at>
Richard Kettlewell <rjk@greenend.org.uk>
Reviewed by: -audit
|