summaryrefslogtreecommitdiff
path: root/include/string.h
Commit message (Collapse)AuthorAgeFilesLines
* This commit was manufactured by cvs2svn to create tagrelease/5.1.0_cvscvs2svn2003-06-041-1/+1
| | | | | | | 'RELENG_5_1_0_RELEASE'. This commit was manufactured to restore the state of the 5.1-RELEASE image. Releases prior to 5.3-RELEASE are omitting the secure/ and crypto/ subdirs.
* Correct visibility conditionals for memccpy(), strdup(), andMike Barcroft2002-10-141-18/+29
| | | | | | | strtok_r(). Merge conditional prototypes into the regular block. Notes: svn path=/head/; revision=105128
* Make stpcpy() only visiable w/in __BSD_VISIBLE.David E. O'Brien2002-10-051-1/+1
| | | | Notes: svn path=/head/; revision=104544
* Add stpcpy(3).David E. O'Brien2002-10-031-0/+1
| | | | Notes: svn path=/head/; revision=104420
* o Merge <machine/ansi.h> and <machine/types.h> into a new headerMike Barcroft2002-08-211-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | called <machine/_types.h>. o <machine/ansi.h> will continue to live so it can define MD clock macros, which are only MD because of gratuitous differences between architectures. o Change all headers to make use of this. This mainly involves changing: #ifdef _BSD_FOO_T_ typedef _BSD_FOO_T_ foo_t; #undef _BSD_FOO_T_ #endif to: #ifndef _FOO_T_DECLARED typedef __foo_t foo_t; #define _FOO_T_DECLARED #endif Concept by: bde Reviewed by: jake, obrien Notes: svn path=/head/; revision=102227
* Add support for X/Open.Mike Barcroft2002-04-151-2/+5
| | | | | | | PR: 37078 Notes: svn path=/head/; revision=94721
* o Move some function prototypes from <string.h> to the newly rewrittenMike Barcroft2002-04-041-22/+24
| | | | | | | | | | <strings.h>, based on POSIX.1-2001's requirements. o Add 'restrict' qualifier (spelled '__restrict') to functions in <string.h>, as per C99 and POSIX.1-2001. o Properly expose new POSIX.1-2001 functions in <string.h>. Notes: svn path=/head/; revision=93747
* Breath deep and take __P out of the system include files.Warner Losh2002-03-231-42/+42
| | | | | | | | | # This appears to not break X11, but I'm having problems compiling the # glide part of the server with or without this patch, so I can't tell # for sure. Notes: svn path=/head/; revision=93032
* Fixed namespace pollution in previous commit. The C99 functionBruce Evans2001-11-281-1/+1
| | | | | | | | sterror_r() must not be declared in the C90/POSIX.1-1990 section. Put it in the nonstandard section for now. Notes: svn path=/head/; revision=87069
* Add strerror_r function per Posix prototype.Wes Peters2001-11-271-0/+1
| | | | | | | | Reviewed by: Mike Barcroft <mike@FreeBSD.org> MFC after: 2 weeks Notes: svn path=/head/; revision=86944
* Fixed some style bugs:Bruce Evans2001-10-101-3/+3
| | | | | | | | | - rev.1.6: corrupt tab before strlcpy. - rev.1.7: "From: " in vendor id. - rev.1.8: unsorted prototype for strccasestr. Notes: svn path=/head/; revision=84747
* Implement strcasestr() which many others (f.e. Linux) already haveAndrey A. Chernov2001-10-101-0/+1
| | | | Notes: svn path=/head/; revision=84741
* Add a new libc function, strnstr(3), which allows one to limit theMike Barcroft2001-10-091-1/+3
| | | | | | | | | | | 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 Notes: svn path=/head/; revision=84699
* Add prototypes for strl* functionsWarner Losh1999-08-161-0/+2
| | | | | | | | Forgotten by: imp Reported by: bde Notes: svn path=/head/; revision=49875
* Add a strsignal(3) (like strerror(3)) for libc compatability with otherPeter Wemm1999-05-181-0/+1
| | | | | | | systems. NetBSD, Linux, SVR4 etc all have it. Notes: svn path=/head/; revision=47289
* Add a prototype for strtok_r().John Polstra1999-01-201-0/+1
| | | | Notes: svn path=/head/; revision=42913
* string.h defines nonstandard routines when _POSIX_SOURCE isWarner Losh1996-12-171-1/+1
| | | | | | | | | | defined. It has been fixed to not do that. Submitted by: Jake Hamby <jehamby@lightside.com> Closes PR: 1954 Notes: svn path=/head/; revision=20600
* Remove trailing whitespace.Rodney W. Grimes1995-05-301-1/+1
| | | | Notes: svn path=/head/; revision=8858
* BSD 4.4 Lite Include SourcesRodney W. Grimes1994-05-241-0/+93
Notes: svn path=/head/; revision=1539