summaryrefslogtreecommitdiffstats
path: root/lib/libc/string
Commit message (Collapse)AuthorAgeFilesLines
* Xref strlcat, strlcpyimp1999-09-282-2/+5
| | | | Inspired by: NetBSD commit message describing this.
* __collate_substitute() do something non-trivial only for German. For everyonedt1999-09-121-3/+10
| | | | | | | | else, it is equivalent to strdup(). So, we will check if the substitution tables are trivial at the load time, and possibly save 2 calls to __collate_substitute() in strcoll(). Still, __collate_substitute() should not exist.
* Add $FreeBSD$ lines to man pages that are missing them to makempp1999-08-281-0/+2
| | | | | | | it easier for translation teams. PR: docs/13418 Submitted by: Alexey Zelkin <phantom@cris.net>
* $Id$ -> $FreeBSD$peter1999-08-2836-36/+36
|
* Various man page cleanup:mpp1999-08-151-5/+6
| | | | | | | | | | - Sort xrefs - FreeBSD.ORG -> FreeBSD.org - Be consistent with section names as outlines in mdoc(7) - Other misc mdoc cleanup. PR: doc/13144 Submitted by: Alexy M. Zelkin <phantom@cris.net>
* Use the latest version of these files from OpenBSD.imp1999-08-103-21/+26
| | | | | | | | | | 1) Safty change from casper dik was added to OpenBSD's sources since I grabbed them. milltert@openbsd.org 2) Split up strlcpy to improve efficiency of the common case. milltert@openbsd.org 3) Cleanup of cross references for man page. {alex,aaron}@openbsd.org Pointed out by: deraadt@openbsd.org
* Import strl{cat,cpy} from OpenBSD.imp1999-08-104-6/+289
| | | | Obtained from: OpenBSD
* Add $Id$, to make it simpler for members of the translation teams tonik1999-07-1230-0/+30
| | | | | | | | | | | | | | | | | track. The $Id$ line is normally at the bottom of the main comment block in the man page, separated from the rest of the manpage by an empty comment, like so; .\" $Id$ .\" If the immediately preceding comment is a @(#) format ID marker than the the $Id$ will line up underneath it with no intervening blank lines. Otherwise, an additional blank line is inserted. Approved by: bde
* Fixed a minor style nit in the EXAMPLE section.wes1999-07-101-1/+1
|
* Fix a minor style nit in the NAME section.mpp1999-06-111-1/+1
|
* Move the description of the strncmp() function from the RETURN VALUESmpp1999-06-111-6/+6
| | | | | | | section to the DESCRIPTION section. PR: 12133 Submitted by: Sheldon Hearn <sheldonh@uunet.co.za>
* Fixed disordering and duplication of MLINKS in previous commit tobde1999-05-191-2/+1
| | | | libc/string/Makefile.inc. psignal.3 doesn't live in libc/string.
* Add a strsignal(3) (like strerror(3)) for libc compatability with otherpeter1999-05-182-2/+75
| | | | systems. NetBSD, Linux, SVR4 etc all have it.
* More egcs warning fixes:imp1999-04-253-2/+4
| | | | | | | | | | o use braces to avoid potentially ambiguous else o don't default to type int (and also remove a useless register modifier). o Use parens around assignment values used as truth values. o Remove unused function. Reviewed by: obrien and chuckr
* Corrected use of backslash escaping in sample code.ghelmer1999-02-271-3/+3
| | | | | PR: docs/10284 Submitted by: Alfred Perlstein <bright@cygnus.rush.net>
* remove BUGS section, now behaviour is predictable enoughache1999-02-131-2/+0
|
* more words about return valueache1999-02-131-1/+5
|
* re-phrase things a bitache1999-02-121-4/+5
|
* fix wrong return resultache1999-02-122-23/+43
| | | | | fix n=0 case improve manpage
* Install man page link for strtok_r.jdp1999-01-191-1/+2
|
* Spell check and minor grammar fix.jdp1999-01-191-3/+3
|
* Reviewed by: JKHwes1998-12-142-87/+217
| | | | | | Submitted by: Wes Peters Added strtok_r (reentrant) function and man page.
* (Whoops: make it better instead of worse this time). Clarifyrnordier1998-10-291-1/+1
| | | | processing of the string argument by perror().
* Clarify processing of the string argument by perror().rnordier1998-10-291-8/+5
|
* Fix handling more than 1 char with non-C localeache1998-06-051-16/+4
| | | | | | Misc. cleanup PR: 6825 Submitted by: Sergey Gershtein <sg@mplik.ru>
* Cast a pointer to a long, not an int before masking it.jb1998-05-101-1/+1
|
* Pedantry (NULL -> NUL).jraynard1998-05-031-1/+1
|
* Change MACHINE references to MACHINE_ARCH.jb1998-02-201-3/+3
|
* PR: 5573danny1998-01-272-2/+4
| | | | | Submitted by: garbanzo@hooked.net Add strncasecmp, strncmp to NAME field.
* The terminating character in strings is `NUL', not `NULL'.wosch1997-12-281-1/+1
|
* Sorted lists.bde1997-10-211-4/+4
|
* Handle machine-dependent (m-d) (string) sources more automatically.bde1997-10-161-73/+7
| | | | | | | | | | | | | | | | | | | | | The names of m-d variants are now added (manually) to MDSRCS instead of to SRCS, and the names of all machine-independent (m-i) variants that can reasonably be replaced by an m-d variant are now added (manually) to MISRCS instead of to SRCS, so that a simple substitution can be used to discard the unused m-i variants. MISRCS is potentially all m-i sources, but the substitution is too simple to be fast, so MISRCS should be kept reasonably small. libc/Makefile.inc: Do the substitution. libc/i386/string/Makefile.inc: Add to MDSRCS instead of to SRCS. Add the names of all sources in this directory, but no others. libc/string/Makefile.inc Add to MISRCS instead of to SRCS. Add the names of all sources in this directory. Don't use (broken) explicit rules for special cases.
* Removed the subdirectory paths from the definitions of MAN[1-9]. Theybde1997-10-151-11/+6
| | | | | were a workaround for limitations in bsd.man.mk that were fixed about 2 years ago.
* Added some 2-line source files to get a direct correspondencebde1997-10-155-0/+10
| | | | | between sources and objects. This will be used to avoid messy special cases in Makefile.inc.
* Added bounds checking to the example after chasing down someone'spds1997-07-261-1/+2
| | | | | broken code where they'd copied the example basically verbatim and blew an array. (engage brain before typing 'make')
* kill the undeadpeter1997-07-132-478/+0
|
* This commit was generated by cvs2svn to compensate for changes in r27180,bde1997-07-032-0/+478
|\ | | | | | | which included commits to RCS files with non-trunk default branches.
| * Import Lite2's src/lib, except for non-i386 machine-dependent directories,bde1997-07-032-0/+478
| | | | | | | | | | libc/db, libc/gen/crypt.* and libtelnet. All affected files except 3 unimportant ones have already left the vendor branch.
* | Changed all paths to be relative to src/lib instead of src/lib/libcjb1997-05-031-4/+7
| | | | | | | | | | | | | | | | | | | | so that all these makefiles can be used to build libc_r too. Added .if ${LIB} == "c" tests to restrict man page builds to libc to avoid needlessly building them with libc_r too. Split libc Makefile into Makefile and Makefile.inc to allow the libc_r Makefile to include Makefile.inc too.
* | Fixed #include and/or prototype bugs in synopsis.bde1997-04-191-1/+1
| |
* | Merge from Lite2 (whiteout/unionfs)peter1997-03-111-2/+4
| |
* | This commit was generated by cvs2svn to compensate for changes in r23658,peter1997-03-111-1/+6
|\ \ | |/ | | | | which included commits to RCS files with non-trunk default branches.
| * Import CSRG 4.4BSD-Lite2 lib/libc onto vendor branchpeter1997-03-112-3/+10
| |
| * recording cvs-1.6 file deathpeter1995-12-302-478/+0
| |
* | Revert $FreeBSD$ to $Id$peter1997-02-226-6/+6
| |
* | Sort cross references.wosch1997-01-202-8/+8
| |
* | Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-01-146-6/+6
| | | | | | | | | | | | | | | | This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise.
* | delete doubled words, e.g.: "the the" -> "the"wosch1996-10-051-1/+2
| |
* | add missing comma(s) in .Xr macroswosch1996-09-232-2/+4
| |
* | Fixed the easy cases of const poisoning in the kernel. Cosmetic.bde1996-08-312-2/+3
| |
OpenPOWER on IntegriCloud