Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | tweak previous; | jmc | 2014-04-19 | 1 | -3/+2 |
| | |||||
* | Use somewhat harsher language and better examples; demonstrate that | deraadt | 2014-04-19 | 4 | -109/+88 |
| | | | | | non-dangerous use functions is difficult. ok guenther | ||||
* | Add some missing names to the NAME sections. | schwarze | 2014-04-07 | 2 | -6/+8 |
| | | | | | | For inet(3), go the other way, remove some bogus symlinks. Found while testing the new makewhatis(8). ok jmc@ | ||||
* | remove the never used bm string functions | tedu | 2014-03-23 | 3 | -329/+3 |
| | |||||
* | in HISTORY, say where this actually came from; | schwarze | 2014-02-23 | 1 | -5/+7 |
| | | | | ok deraadt@ bentley@ | ||||
* | Remove unnecessary stdio.h include. | stsp | 2014-02-05 | 1 | -2/+1 |
| | | | | Patch by Jean-Philippe Ouellet ; ok krw@ | ||||
* | add explicit_bzero to NAME; | jmc | 2014-01-22 | 1 | -2/+3 |
| | |||||
* | add explicit_bzero to libc. implementation subject to change, but start | tedu | 2014-01-22 | 3 | -4/+37 |
| | | | | the ball rolling. ok deraadt. | ||||
* | fix double word error; | jmc | 2013-12-19 | 1 | -2/+2 |
| | |||||
* | Split out strncpy and strncat from strcpy and strcat manuals. | millert | 2013-12-19 | 5 | -168/+308 |
| | | | | Requested by deraadt@ | ||||
* | no more regexp(3), so point to regex(3); | jmc | 2013-12-05 | 1 | -3/+3 |
| | | | | as advised by deraadt | ||||
* | Missed the file renames for the string functions when committing the | guenther | 2013-10-14 | 1 | -1/+25 |
| | | | | DIST_LIB/DIST_OBJ/*.do changes | ||||
* | Use PATH_MAX, NAME_MAX and LOGIN_NAME_MAX not MAXPATHNAMELEN, | millert | 2013-09-30 | 1 | -4/+4 |
| | | | | MAXNAMLEN or MAXLOGNAME where possible. OK deraadt@ | ||||
* | Add examples to show why this is a terrible API. OK jmc@ henning@ | millert | 2013-09-25 | 1 | -1/+60 |
| | |||||
* | According to POSIX, if the src and dst strings overlap, the behavior | millert | 2013-09-25 | 6 | -12/+48 |
| | | | | is undefined. Add a warning to that effect. OK deraadt@ jmc@ | ||||
* | more library history | schwarze | 2013-07-17 | 4 | -15/+22 |
| | | | | | facts checked by sobrado@ style tweaks and ok jmc@ | ||||
* | use .Mt for email addresses; from Jan Stary <hans at stare dot cz>; ok jmc@ | schwarze | 2013-07-16 | 4 | -12/+12 |
| | |||||
* | Use the fancy .In macro for includes. From Jan Klemkow. ok jmc schwarze | tedu | 2013-06-05 | 52 | -157/+157 |
| | |||||
* | remove some incredible lies about overlapping buffers | deraadt | 2013-06-04 | 2 | -22/+10 |
| | | | | ok guenther | ||||
* | Fix catopen(3) for UTF-8 locales and update the implementation to POSIX-2008. | stsp | 2013-06-01 | 1 | -2/+2 |
| | | | | | | | | | Catalogs had an arbitrary character set which was used regardless of locale. Add UTF-8-encoded catalogs for libc error messages, and rename existing ones to indicate their character sets. catopen(3) now chooses a catalog which matches the locale's encoding, if available. help & ok matthew, man page bits ok jmc, input from naddy and bluhm | ||||
* | Remove useless include. | ajacoutot | 2013-05-30 | 1 | -2/+1 |
| | | | | ok millert@ | ||||
* | typo: compare len against null needle, not haystack | ajacoutot | 2013-05-15 | 1 | -2/+2 |
| | | | | | | from Alf Schlichting ok millert@ | ||||
* | Add an implementation of memmem() -- from FreeBSD with some tweaks. | ajacoutot | 2013-05-13 | 3 | -4/+145 |
| | | | | | | | | | Requires a libc minor bump, committing now so that we have up-to-date snapshots for the upcoming hackathon. joint work with millert@ man page bits ok jmc@ input and ok millert@, guenther@, deraadt@ | ||||
* | remove leftover NOLINT, WANTLINT, LINTFLAGS, LOBJ vars and lint targets. | okan | 2012-08-02 | 1 | -21/+1 |
| | | | | ok guenther@ | ||||
* | fix an off-by-one error where the return value would point to the | naddy | 2012-07-11 | 1 | -2/+2 |
| | | | | character after the '\0'; ok guenther@ | ||||
* | Add strnlen() to libkern. | matthew | 2012-04-26 | 1 | -1/+5 |
| | | | | ok deraadt | ||||
* | tweak previous; | jmc | 2012-04-03 | 1 | -3/+3 |
| | |||||
* | simplify the strlcpy/strlcat manual page substantially. do less | deraadt | 2012-04-02 | 1 | -70/+58 |
| | | | | | | | | | | | | explaining of "what a C string is", and make it more clear that these functiosn BEHAVE EXACTLY LIKE snprintf with "%s"! (anyone who wants to write a 'strlcpy considered harmful' paper should probably write a 'strlcpy and snprintf considered harmful' paper instead). note to those from other projects reading this commit message: It would be very good if this new manual was picked up in your project. ok jmc millert krw | ||||
* | Bump standards years, as we conform to the new versions too | guenther | 2012-03-26 | 1 | -4/+4 |
| | | | | ok jmc@ | ||||
* | strsignal() was standardized in POSIX-2008 | guenther | 2012-03-26 | 1 | -2/+7 |
| | | | | ok millert@ | ||||
* | fix SEE ALSO; | jmc | 2012-01-17 | 1 | -2/+2 |
| | |||||
* | Add stpcpy() and stpncpy(), pointless crap that made it into POSIX. | guenther | 2012-01-17 | 4 | -3/+222 |
| | | | | | | Includes friendly linker warning to wake up those dumb enough to use it. Committing for kettenis@, who ran away to the hills after writing it | ||||
* | grammar; | jmc | 2012-01-14 | 1 | -2/+2 |
| | |||||
* | this is sparta^WPOSIX 2008 | espie | 2012-01-14 | 1 | -2/+7 |
| | | | | okay millert@ | ||||
* | strdup and strndup both use malloc. Make this fact explicit. | lum | 2011-12-08 | 1 | -3/+5 |
| | | | | ok jmc@ | ||||
* | tweak previous; | jmc | 2011-07-25 | 3 | -6/+6 |
| | |||||
* | update HISTORY and SEE ALSO for all of string(3), together with various | schwarze | 2011-07-25 | 53 | -237/+642 |
| | | | | | smaller improvements; jmc@ and nicm@ both ask me to get this in because further tweaking will be easier in-tree | ||||
* | Sync wcslcpy and wcslcat with strlcpy and strlcat. OK deraadt@ | millert | 2011-07-24 | 2 | -50/+26 |
| | |||||
* | Minor function name tweaks. | nicm | 2011-07-09 | 3 | -8/+8 |
| | |||||
* | Instead of documenting all the wide string functions in wmemchr(3), add | nicm | 2011-07-09 | 18 | -139/+1327 |
| | | | | | | | individual pages (based on the existing string man pages). By Tim van der Molen (tbvdm at xs4all dot nl) after a suggestion by millert@. ok deraadt | ||||
* | After a certain amount of fighting with the mbstowcs API, remove L from | nicm | 2011-07-08 | 1 | -4/+12 |
| | | | | | | the wcsdup example. ok stsp | ||||
* | Fix some awful code in the example, pointed out by millert@. | nicm | 2011-07-05 | 1 | -3/+3 |
| | |||||
* | Add wcsdup(), from NetBSD. | nicm | 2011-07-04 | 3 | -3/+120 |
| | | | | ok deraadt matthew | ||||
* | fix wcscasecmp() parameters; <wchar.h> was correct | naddy | 2011-06-01 | 1 | -2/+2 |
| | |||||
* | tweak previous (my fault); | jmc | 2011-05-28 | 1 | -4/+4 |
| | |||||
* | wcs(n)casecmp support, manpage comments from jmc@, okay deraadt@ | espie | 2011-05-28 | 3 | -5/+82 |
| | |||||
* | Add a wcswidth man page (based on FreeBSD), and fix the implementation | stsp | 2011-04-04 | 3 | -5/+68 |
| | | | | | to return -1 in case of an unprintable character. ok nicm jmc | ||||
* | Add timingsafe_bcmp(3) to libc, mention that it's already in the | matthew | 2010-09-24 | 3 | -5/+62 |
| | | | | | | kernel in kern(9), and remove it from OpenSSH. ok deraadt@, djm@ | ||||
* | observe the following spelling: | jmc | 2010-09-10 | 2 | -9/+9 |
| | | | | | | | | | - wide character (noun) - wide-character (adjective) this is the "fix of least resistance", and appears to be in line with posix style; a tiny fix still needed for curses, but i'll mail that upstream; | ||||
* | Avoid using and end pointer since strnlen(string, -1) is legal | millert | 2010-06-02 | 1 | -4/+3 |
| | | | | | and would otherwise result in overflowing the end pointer and cause strnlen() to return 0. OK sthen@ |