summaryrefslogtreecommitdiff
path: root/lib/libc/string
AgeCommit message (Collapse)Author
2007-07-03Add strndup(3) to libnbcompat, since estrndup(3) added into efun.c calls it.nakayama
2007-06-03Make these work with _FORTIFY_SOURCE, by overriding the fortified definitionschristos
2007-02-18Bump date for previous.wiz
2007-02-18Try to tell what this really does.hubertf
Including a BUGS section on why it doesn't. *roff code by wiz@, with some input from Slava Semushin <slava.semushin@gmail.com>
2007-02-17Add strings(3), collecting information about strings.h.wiz
Add Xr for it to string(3). XXX: if someone could make a HISTORY section, I'd appreciate it
2007-02-17o Removed functions that are in strings.h, not string.hwiz
o Added memmem o Bump date From Slava Semushin in private mail.
2007-02-17o Removed functions which were moved to strings.h headerwiz
o Added some missing functions from string.h o Update SEE ALSO and STANDARDS o Bump date. From Slava Semushin in private mail.
2007-01-14Avoid lint warning.cbiere
2007-01-14Look only at the first `n' characters to avoid traversing a potentiallycbiere
huge string for nothing.
2006-11-13Add strsep(3) to libkern.dyoung
To avoid code duplication, move strsep.c to the kernel/userland common files. Soon I will commit source-address selection (options IPSELSRC). It will use strsep(3).
2006-10-16nul/null/NULL cleanup:wiz
when talking about characters/bytes, use "nul" and "nul-terminate" when talking about pointers, use "null pointer" or ".Dv NULL"
2006-10-14New sentence, new line.wiz
2006-10-13PR/30809 added manpages of wcswcs(3) and wcscoll(3), wcsxfrm(3)tnozaki
(wcs?width and wprintf are already in repository).
2006-10-07Include nbtool_config.h for tools build. This was part of theapb
patch supplied by Wim Lewis in PR 31232.
2006-10-07PR/31232: Wim Lewis: tools/compat doesn't check for pre-existence ofelad
strmode() Commited slightly different diff, input and okay from apb@
2006-09-02Mark up NULL; the character is nul, not null; sort SEE ALSO;wiz
add RCS Id at top of file.
2006-08-27fix xtos's pastodsl
2006-08-26PR/34238: Aleksey Cheusov: man pages for wcsdup, wcscasecmp and wcsncasecmpchristos
functions
2006-08-26Add copyright notices.christos
2006-08-23include one more new file.christos
2006-08-22PR/34238: Aleksey Cheusov: add wcsdup, wcscasecmp and wcsncasecmp functionschristos
2006-08-13stresep, not strnsep. Remove duplicate "the". Bump date for previous.wiz
2006-08-13Mark up NULL.wiz
2006-08-12- Add strndup and stresepchristos
- Use stresep so in fstab so that we can mount paths with white space in them.
2006-06-03fix lib/33476:tnozaki
added following manpages (derived from FreeBSD), wcwidth(3) wcswidth(3) wcstol(3) wcstoll(3) wcstoimax(3) wcstoul(3) wcstoull(3) wcstoumax(3) and update doc/TODO.i18n.
2006-05-22Punctuation nit.wiz
2006-05-22Clarify that strerror() doesn't return EINVAL but stores in errno;kleink
prompted by Thomas Klausner.
2006-01-26Must include "namespace.h" for strerror_r()'s internal name.kleink
2005-12-20Use reach-over sources from common/lib/libcchristos
2005-11-30Fix warns=4 via __UNCONST()martin
2005-11-30Fix warns=4 (via __UNCONST())martin
2005-11-29fix warns=4christos
2005-11-29WARNS=4christos
2005-10-13wcscpy - cleanuptnozaki
wcsncpy - SUSv6 if s2 is shorter than n, s1 should be filled with L'\0' until n.
2005-09-13compat core reorg.christos
2005-07-30- Fix the remaining indr_references so that they define lint symbols.christos
- Add an internal symbol for strerror_r (thanks klaus for noticing) - Remove internal __strerror
2005-07-29< -> \*[Lt], end sentence with a dot, add commawiz
in enumeration, add RCS Id (lost in previous), fix numbering of license clauses (broken in previous).
2005-07-28PR/30845: Luke Mewburn: strerror_r(3) missingchristos
- Merge 4.4BSD strerror.3 man page changes that summarize information for all the error printing functions. This makes the perror(3) page obsolete. - Implement all error functions in terms of strerror_r(), including __strerror() which is not used internally. Can it be removed? - Bump version for strerror_r
2005-06-12Add missing __RCSID()lukem
2005-06-04Only advance 'p' once each time around the loop....dsl
2005-05-30It is really pointless to come up with new implementations of the wide stringchristos
functions instead of using the narrow string ones. Make this look like strchr, so that wcschr(L"foo", L'\0') does not return NULL as it should.
2005-03-14Remove one of two nearly duplicate words.wiz
2005-03-14Fix stupid typo. I added memmem, not memmove.perry
2005-03-13add memmemperry
2005-03-13Add memmem(3), compatible with version in Linuxperry
2005-02-09A little libc namespace housekeeping exercise:kleink
* Make vfprintf_unlocked() an internal function, c.f. __svfscanf_unlocked(). * Add internal names for arc4random(), endnetpath(), fhstatvfs(), fstatvfs(), mkstemp(), shquote(), statvfs(), taddr2uaddr(), uaddr2taddr(), uuid_create_nil(), uuid_is_nil(), and wcwidth(). * Include namespace.h where supposed to.
2004-10-27Implement strtok() in terms of strtok_r()dsl
2004-10-11Remove sentence about the inability to simultaenously tokenise multipledsl
strings - should have been removes then strtok_r() was added.
2004-07-03Add strcasestr(3), case insensitive version of strstr(3).junyoung
Bump libc minor. From FreeBSD.
2004-06-20Completely rework how tools/compat is done. Purge all uses/references tojmc
_NETBSD_SOURCE as this makes cross building from older/newer versions of NetBSD harder, not easier (and also makes the resulting tools 'different') Wrap all required code with the inclusion of nbtool_config.h, attempt to only use POSIX code in all places (or when reasonable test w. configure and provide definitions: ala u_int, etc). Reviewed by lukem. Tested on FreeBSD 4.9, Redhat Linux ES3, NetBSD 1.6.2 x86 NetBSD current (x86 and amd64) and Solaris 9. Fixes PR's: PR#17762 PR#25944