Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | mdoc(7) police: minor markup nits. | ru | 2001-12-12 | 1 | -20/+20 |
| | |||||
* | Make strerror and strerror_r use sys_errlist[0] for errnum = 0. Be | wes | 2001-12-07 | 2 | -6/+32 |
| | | | | | | | | | | | 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, | wes | 2001-12-06 | 2 | -72/+78 |
| | | | | | | | complete with documentation. Reviewed by: mike@ gad@ MFC after: 1 week | ||||
* | Must link strerror manpage to strerror_r. | wes | 2001-11-27 | 1 | -0/+1 |
| | | | | | | Thanks for the review, Mike. Submitted by: Mike Barcroft <mike@FreeBSD.org> | ||||
* | Add strerror_r function per Posix prototype. | wes | 2001-11-27 | 2 | -23/+107 |
| | | | | | Reviewed by: Mike Barcroft <mike@FreeBSD.org> MFC after: 2 weeks | ||||
* | mdoc(7) police: minor markup and spelling fixes. | ru | 2001-11-20 | 1 | -4/+7 |
| | |||||
* | Increment the loop counter. | des | 2001-11-10 | 1 | -0/+1 |
| | | | | | PR: bin/29218 Submitted by: Goran Lowkrantz <goran.lowkrantz@ismobile.com> | ||||
* | rcsid[]->__FBSDID | obrien | 2001-11-07 | 55 | -248/+95 |
| | |||||
* | Note that strncmp() will not compare characters after a NUL character. | mike | 2001-10-11 | 1 | -1/+8 |
| | | | | | | | Add a missing word. Bump document date. Inspired by: IEEE Std 1003.1-200x (Draft 7) MFC after: 3 days | ||||
* | Clarify that strnstr() will stop searching after in encounters a NUL | mike | 2001-10-11 | 1 | -5/+8 |
| | | | | character. Bump document date. Add a missing comma. | ||||
* | Implement strcasestr() which many others (f.e. Linux) already have. | ache | 2001-10-10 | 3 | -2/+79 |
| | |||||
* | Document the fact that the strnstr(3) function is not portable. | mike | 2001-10-09 | 1 | -0/+5 |
| | | | | Requested by: brian, gad | ||||
* | Add a new libc function, strnstr(3), which allows one to limit the | mike | 2001-10-09 | 3 | -11/+122 |
| | | | | | | | | 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 | ||||
* | Fixed syntax errors in synopsis. The restrict keyword doesn't exist yet. | bde | 2001-10-03 | 1 | -5/+5 |
| | | | | | | 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. | ||||
* | mdoc(7) police: Use the new .In macro for #include statements. | ru | 2001-10-01 | 35 | -36/+36 |
| | |||||
* | Note that strdup(3) will set errno if memory allocation fails. This | mike | 2001-09-23 | 1 | -1/+4 |
| | | | | | | is also required by the forthcoming POSIX.1-200x standard. Obtained from: malloc.3 | ||||
* | o Various mdoc fixes. | mike | 2001-08-09 | 1 | -10/+50 |
| | | | | | | | | | | 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 | ||||
* | mdoc(7) police: expand plain text xrefs. | ru | 2001-08-08 | 1 | -1/+2 |
| | |||||
* | Only pull in the MD files if they exist. This allows for progressive | mp | 2001-07-31 | 1 | -0/+2 |
| | | | | implementation and compilation when bringing up a new architecture. | ||||
* | Sync to OpenBSD (update comment and minor style change). | kris | 2001-07-24 | 1 | -3/+4 |
| | | | | | Obtained from: OpenBSD MFC after: 1 week | ||||
* | Sync to OpenBSD: | kris | 2001-07-24 | 1 | -2/+23 |
| | | | | | | | | | | | | 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 | ||||
* | Don't claim that strncpy() is the same as strcpy(). | dd | 2001-07-19 | 1 | -6/+6 |
| | | | | | PR: 29002 Submitted by: Joseph Mallett <jmallett@xMach.org> | ||||
* | mdoc(7) police: Add strncpy() to the NAME section. | ru | 2001-07-16 | 1 | -1/+1 |
| | |||||
* | Remove whitespace at EOL. | dd | 2001-07-15 | 7 | -10/+10 |
| | |||||
* | style nits | obrien | 2001-07-10 | 1 | -2/+2 |
| | |||||
* | mdoc(7) police: removed HISTORY info from the .Os call. | ru | 2001-07-10 | 7 | -7/+7 |
| | |||||
* | Make the rcsid and FreeBSD IDs more sane in the wcs* and wmem* files. | obrien | 2001-05-24 | 53 | -93/+223 |
| | | | | Do the same for the non-wcs*/wmem* files while I'm here. | ||||
* | ... but we do provide .St -isoC-99, and it is not required to have the | ru | 2001-05-17 | 1 | -5/+1 |
| | | | | | | | | | | | 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. | ||||
* | Unbreak world; _DIAGASSERT macro is not available in FreeBSD. | ru | 2001-05-16 | 21 | -57/+0 |
| | |||||
* | adapt to FreeBSD. | tshiozak | 2001-05-15 | 2 | -4/+20 |
| | | | | | | | | | | - 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. | ||||
* | initial import of locale insensitive wcs* and wmem* functions. | tshiozak | 2001-05-15 | 22 | -0/+1484 |
| | | | | Obtained from: NetBSD and Citrus. | ||||
* | mdoc(7) police: add RETURN VALUES section. | ru | 2001-05-14 | 1 | -8/+13 |
| | | | | | PR: docs/27161 Submitted by: Kazuhiro KONDOU <k-fuji@za2.so-net.ne.jp> | ||||
* | MAN[1-9] -> MAN. | ru | 2001-03-27 | 1 | -1/+1 |
| | |||||
* | .St -ansiC -> .St -isoC | ru | 2001-02-26 | 21 | -21/+21 |
| | |||||
* | mdoc(7) police: split punctuation characters + misc fixes. | ru | 2001-02-01 | 5 | -7/+9 |
| | |||||
* | Clarify comments referring to strlcat() usage | jedgar | 2001-01-17 | 1 | -1/+22 |
| | | | | Obtained from: OpenBSD | ||||
* | - Reverse the order of two loop invariant to ensure strlcat() does not | jedgar | 2001-01-17 | 1 | -3/+6 |
| | | | | | | | | | | 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 | ||||
* | mdoc(7) police: Ft/Vt now accept punctuation-type arguments. | ru | 2001-01-12 | 1 | -2/+2 |
| | |||||
* | Prepare for mdoc(7)NG. | ru | 2000-12-29 | 1 | -3/+3 |
| | |||||
* | mdoc(7) police: removed history info from the .Os FreeBSD call. | ru | 2000-12-14 | 1 | -1/+1 |
| | |||||
* | MAXPATHNAMELEN -> MAXPATHLEN | kris | 2000-11-19 | 1 | -1/+1 |
| | | | | | Submitted by: ianm@kashmir.cit.nepean.uws.edu.au via OpenBSD Obtained from: OpenBSD | ||||
* | mdoc(7) police: use certified section headers wherever possible. | ru | 2000-11-17 | 2 | -2/+2 |
| | |||||
* | Avoid use of direct troff requests in mdoc(7) manual pages. | ru | 2000-11-10 | 1 | -1/+1 |
| | |||||
* | Add: | ache | 2000-09-03 | 1 | -0/+3 |
| | | | | The implementation will behave as if no library function calls strtok(). | ||||
* | Drop the references to index(3) and rindex(3), which are non-standard | alex | 2000-07-18 | 9 | -18/+0 |
| | | | | | | and people shouldn't be encouraged to use them. Asked by: sheldonh | ||||
* | Add SEE ALSO section, as with the other string functions. | alex | 2000-07-17 | 1 | -0/+11 |
| | | | | Submitted by: dcs | ||||
* | Introduce ".Lb" macro to libc manpages. | phantom | 2000-04-21 | 34 | -0/+68 |
| | | | | More libraries manpages updates following. | ||||
* | Remove single-space hard sentence breaks. These degrade the quality | sheldonh | 2000-03-02 | 1 | -1/+2 |
| | | | | | of the typeset output, tend to make diffs harder to read and provide bad examples for new-comers to mdoc. | ||||
* | Grammar: "be even number" -> "be an even number" | billf | 2000-01-03 | 1 | -1/+1 |
| | |||||
* | Backout the prev. commit. It's a bad idea to make-up terms. I believe | hoek | 1999-12-31 | 2 | -3/+3 |
| | | | | | | there is no good solution here. Set-on-the-straight-and-narrow by: bde |