aboutsummaryrefslogtreecommitdiff
path: root/include/strings.h
Commit message (Collapse)AuthorAgeFilesLines
* include: General further adoption of SPDX licensing ID tags.Pedro F. Giffuni2017-11-251-0/+2
| | | | | | | | | | | | | | | Mainly focus on files that use BSD 2-Clause license, however the tool I was using mis-identified many licenses so this was mostly a manual - error prone - task. The Software Package Data Exchange (SPDX) group provides a specification to make it easier for automated tools to detect and summarize well known opensource licenses. We are gradually adopting the specification, noting that the tags are considered only advisory and do not, in any way, superceed or replace the license texts. Notes: svn path=/head/; revision=326192
* Add explicit_bzero(3) and its kernel counterpart.Xin LI2014-10-071-0/+3
| | | | | | | | Obtained from: OpenBSD MFC after: 2 weeks Notes: svn path=/head/; revision=272673
* Fix strcasecmp_l() and strncasecmp_l() POSIX 2008 compliance.Pedro F. Giffuni2014-05-301-0/+4
| | | | | | | | | | | | | | | POSIX.1-2008 specifies that those two functions should be declared by including <strings.h>, not <string.h> (the latter only has strcoll_l() and strxfrm_l()): http://pubs.opengroup.org/onlinepubs/9699919799/functions/strcasecmp.html Obtained from: DragonFlyBSD Reviewed by: theraven MFC after: 2 weeks Notes: svn path=/head/; revision=266865
* This should read #if __BSD_VISIBLE instead of #ifdef __BSD_VISIBLE.Ed Schouten2010-01-041-1/+1
| | | | Notes: svn path=/head/; revision=201525
* - Remove bcmp, bcopy, bzero, index, and rindex from the POSIX.1-2008David Schultz2009-03-041-0/+6
| | | | | | | | namespace. - Add ffs to the XSI namespace. Notes: svn path=/head/; revision=189350
* Add the ffsll and flsll functions. These are ffs and fls operatingKonstantin Belousov2008-11-031-0/+2
| | | | | | | | | | | on long long arguments. Reviewed by: bde (previous version, that included asm implementation for all ffs and fls functions on i386 and amd64) MFC after: 2 weeks Notes: svn path=/head/; revision=184587
* Add __pure and __pure2 where appropriate.Tim J. Robbins2004-07-231-11/+11
| | | | Notes: svn path=/head/; revision=132577
* Reduce namespace pollution.Dag-Erling Smørgrav2004-07-091-0/+2
| | | | Notes: svn path=/head/; revision=131875
* Add and document ffsl(), fls() and flsl().Dag-Erling Smørgrav2004-01-131-0/+3
| | | | Notes: svn path=/head/; revision=124483
* 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
* o Move some function prototypes from <string.h> to the newly rewrittenMike Barcroft2002-04-041-13/+28
| | | | | | | | | | <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
* BSD 4.4 Lite Include SourcesRodney W. Grimes1994-05-241-0/+36
Notes: svn path=/head/; revision=1539