|
Revision tags: release/13.4.0-p5, release/13.5.0-p1, release/14.2.0-p3, release/13.5.0, release/14.2.0-p2, release/14.1.0-p8, release/13.4.0-p4, release/14.1.0-p7, release/14.2.0-p1, release/13.4.0-p3, release/14.2.0, release/13.4.0, release/14.1.0, release/13.3.0, release/14.0.0 |
|
| #
b2c76c41 |
| 16-Aug-2023 |
Warner Losh <[email protected]> |
Remove $FreeBSD$: one-line nroff pattern
Remove /^\.\\"\s*\$FreeBSD\$$\n/
|
|
Revision tags: release/13.2.0, release/12.4.0, release/13.1.0, release/12.3.0, release/13.0.0, release/12.2.0, release/11.4.0, release/12.1.0, release/11.3.0, release/12.0.0, release/11.2.0 |
|
| #
b7e471c2 |
| 06-Jun-2018 |
Conrad Meyer <[email protected]> |
strcpy.3: Improve legibility and clarity
In the DESCRIPTION, put the more commonly used functions first in the corresponding sentence, to help catch the eye.
Pull out the note about overlapping buf
strcpy.3: Improve legibility and clarity
In the DESCRIPTION, put the more commonly used functions first in the corresponding sentence, to help catch the eye.
Pull out the note about overlapping buffers to its own paragraph, as it applies to all routines documented by this page.
Emphasize the potentially surprising strncpy(3) behavior of zero-filling the remainder of a buffer larger than the source string.
Encourage strlcpy use; remove portability note about strlcpy(3). Adapting a strlcpy-using code base to a platform that does not provide strlcpy in libc is so trivial as to not be worth mentioning. (Just copy strlcpy.c out of any BSD libc, or include and link the pre-packaged libbsd library on non-BSD platforms.)
Likewise, expand the page's warning about ease of potential misuse to cover all functions documented herein, and explicitly suggest using strlcpy most of the time. The text was mostly cribbed from a similar suggestion in gets(3).
Finally, document the remaining valid use of strncpy -- the rare fixed-length record with no expectation of nul-termination.
Sponsored by: Dell EMC Isilon
show more ...
|
| #
604f1c41 |
| 17-Apr-2018 |
Edward Tomasz Napierala <[email protected]> |
Don't put multiple names on a single .Nm line. This fixes apropos(1) output, from this:
strnlen, strlen, strlen,(3) - find length of string
Don't put multiple names on a single .Nm line. This fixes apropos(1) output, from this:
strnlen, strlen, strlen,(3) - find length of string │·······
... to this:
strlen, strnlen(3) - find length of string
PR: 223525 MFC after: 2 weeks
show more ...
|
| #
50a717a6 |
| 13-Nov-2017 |
Warner Losh <[email protected]> |
Add notes about overlapping copies.
Add notes to each of these that specifically state that results are undefined if the strings overlap. In the case of memcpy, we document the overlapping behavior
Add notes about overlapping copies.
Add notes to each of these that specifically state that results are undefined if the strings overlap. In the case of memcpy, we document the overlapping behavior on FreeBSD (pre-existing). For str*, it is left unspecified, however, since the default (and x86) implementations do not handle overlapping strings properly.
PR: 223653 Sponsored by: Netflix
show more ...
|
|
Revision tags: release/10.4.0, release/11.1.0, release/11.0.1, release/11.0.0, release/10.3.0, release/10.2.0, release/10.1.0, release/9.3.0 |
|
| #
063aa3df |
| 07-Mar-2014 |
Eitan Adler <[email protected]> |
libc man pages: Remove reference to non-existent FreeBSD Security Architecture
MFC After: 3 days
|
|
Revision tags: release/10.0.0, release/9.2.0, release/8.4.0 |
|
| #
3fb3b97c |
| 28-May-2013 |
Ed Maste <[email protected]> |
Renumber clauses to reduce diffs to other versions
NetBSD, OpenBSD, and Android's Bionic number the clauses 1 through 3, so follow suit to make comparison easier.
|
|
Revision tags: release/9.1.0, release/8.3.0_cvs, release/8.3.0, release/9.0.0, release/7.4.0_cvs, release/8.2.0_cvs, release/7.4.0, release/8.2.0, release/8.1.0_cvs, release/8.1.0 |
|
| #
0afc94c1 |
| 13-May-2010 |
Ulrich Spörlein <[email protected]> |
mdoc: move CAVEATS, BUGS and SECURITY CONSIDERATIONS sections to the bottom of the manpages and order them consistently.
GNU groff doesn't care about the ordering, and doesn't even mention CAVEATS a
mdoc: move CAVEATS, BUGS and SECURITY CONSIDERATIONS sections to the bottom of the manpages and order them consistently.
GNU groff doesn't care about the ordering, and doesn't even mention CAVEATS and SECURITY CONSIDERATIONS as common sections and where to put them.
Found by: mdocml lint run Reviewed by: ru
show more ...
|
|
Revision tags: release/7.3.0_cvs, release/7.3.0, release/8.0.0_cvs, release/8.0.0, release/7.2.0_cvs, release/7.2.0 |
|
| #
5174a6a2 |
| 07-Apr-2009 |
Edward Tomasz Napierala <[email protected]> |
Add wide character variants of string manipulations routines to 'SEE ALSO'.
Approved by: rwatson (mentor)
|
| #
69099ba2 |
| 28-Feb-2009 |
David Schultz <[email protected]> |
- Add getdelim(), getline(), stpncpy(), strnlen(), wcsnlen(), wcscasecmp(), and wcsncasecmp(). - Make some previously non-standard extensions visible if POSIX_VISIBLE >= 200809. - Use restrict qu
- Add getdelim(), getline(), stpncpy(), strnlen(), wcsnlen(), wcscasecmp(), and wcsncasecmp(). - Make some previously non-standard extensions visible if POSIX_VISIBLE >= 200809. - Use restrict qualifiers in stpcpy(). - Declare off_t and size_t in stdio.h. - Bump __FreeBSD_version in case the new symbols (particularly getline()) cause issues with ports.
Reviewed by: standards@
show more ...
|
|
Revision tags: release/7.1.0_cvs, release/7.1.0, release/6.4.0_cvs, release/6.4.0, release/7.0.0_cvs, release/7.0.0, release/6.3.0_cvs, release/6.3.0, release/6.2.0_cvs, release/6.2.0 |
|
| #
c879ae35 |
| 09-Jan-2007 |
Warner Losh <[email protected]> |
Per Regents of the University of Calfornia letter, remove advertising clause.
# If I've done so improperly on a file, please let me know.
|
|
Revision tags: release/5.5.0_cvs, release/5.5.0, release/6.1.0_cvs, release/6.1.0, release/6.0.0_cvs, release/6.0.0 |
|
| #
6595b51a |
| 05-Sep-2005 |
Tim J. Robbins <[email protected]> |
Remove references to nonexistent "FreeBSD Security Architecture" document.
|
|
Revision tags: release/5.4.0_cvs, release/5.4.0, release/4.11.0_cvs, release/4.11.0, release/5.3.0_cvs, release/5.3.0, release/4.10.0_cvs, release/4.10.0, release/5.2.1_cvs, release/5.2.1, release/5.2.0_cvs, release/5.2.0, release/4.9.0_cvs, release/4.9.0, release/5.1.0_cvs, release/5.1.0, release/4.8.0_cvs, release/4.8.0, release/5.0.0_cvs, release/5.0.0 |
|
| #
2efeeba5 |
| 19-Dec-2002 |
Ruslan Ermilov <[email protected]> |
mdoc(7) police: "The .Fa argument.".
|
| #
1fae73b1 |
| 18-Dec-2002 |
Ruslan Ermilov <[email protected]> |
mdoc(7) police: "The .Fn function".
|
| #
1798791d |
| 29-Nov-2002 |
Ruslan Ermilov <[email protected]> |
mdoc(7) police: formatting nits.
Approved by: re
|
| #
02edf220 |
| 23-Oct-2002 |
Dag-Erling Smørgrav <[email protected]> |
Translate to English.
|
| #
5d38e85d |
| 10-Oct-2002 |
Robert Drehmel <[email protected]> |
Fix another spelling mistake.
|
| #
73fbee57 |
| 10-Oct-2002 |
Robert Drehmel <[email protected]> |
Correct a spelling mistake.
|
|
Revision tags: release/4.7.0_cvs |
|
| #
8269e8c8 |
| 03-Oct-2002 |
David E. O'Brien <[email protected]> |
Add stpcpy(3).
|
| #
58d38e25 |
| 06-Sep-2002 |
Tim J. Robbins <[email protected]> |
Style: One space between "restrict" qualifier and "*".
|
| #
ad906968 |
| 14-Aug-2002 |
Robert Drehmel <[email protected]> |
- Add the 'restrict' qualifier to the definitions of the string concatenation and copy functions using the '__restrict' macro. This is to satisfy IEEE Std 1003-1.2001. - Use ANSI-C function de
- Add the 'restrict' qualifier to the definitions of the string concatenation and copy functions using the '__restrict' macro. This is to satisfy IEEE Std 1003-1.2001. - Use ANSI-C function definitions. - Add the 'restrict' keyword to the manual pages, too.
show more ...
|
|
Revision tags: release/4.6.2_cvs, release/4.6.2, release/4.6.1, release/4.6.0_cvs, release/4.5.0_cvs, release/4.4.0_cvs |
|
| #
ce9df6ee |
| 09-Jan-2002 |
Ruslan Ermilov <[email protected]> |
mdoc(7) police:
Stop abusing the .%J macro for where the .Pa macro should have been used.
|
| #
80080d64 |
| 05-Jan-2002 |
Chris Costello <[email protected]> |
Include a section cross-reference to `EXAMPLES' in `SECURITY CONSIDERATIONS' as a source for relevant sample code.
Obtained from: TrustedBSD Project Sponsored by: DARPA, NAI Labs
|
| #
8680aaea |
| 05-Jan-2002 |
Chris Costello <[email protected]> |
Remove the example from SECURITY CONSIDERATIONS. This is mostly duplicated code from EXAMPLES.
Obtained from: TrustedBSD Project Sponsored by: DARPA, NAI Labs
|
| #
17dc85f4 |
| 02-Jan-2002 |
Chris Costello <[email protected]> |
Copy the sample `SECURITY CONSIDERATIONS' section from sec-doc.7. This will be trimmed as the FreeBSD Security Architecture document is fleshed out and committed.
Obtained from: TrustedBSD Project S
Copy the sample `SECURITY CONSIDERATIONS' section from sec-doc.7. This will be trimmed as the FreeBSD Security Architecture document is fleshed out and committed.
Obtained from: TrustedBSD Project Sponsored by: DARPA, NAI Labs
show more ...
|
| #
32eef9ae |
| 01-Oct-2001 |
Ruslan Ermilov <[email protected]> |
mdoc(7) police: Use the new .In macro for #include statements.
|