strings.h - string operations
#include <strings.h>
The following shall be declared as functions and may also be defined as macros. Function prototypes shall be provided for use with ISO C standard compilers.
[XSI] int ffs(int); int strcasecmp(const char *, const char *); int strcasecmp_l(const char *, const char *, locale_t); int strncasecmp(const char *, const char *, size_t); int strncasecmp_l(const char *, const char *, size_t, locale_t);The <strings.h> header shall define the locale_t type as described in <locale.h>.
The <strings.h> header shall define the size_t type as described in <sys/types.h>.
None.
None.
None.
XSH ffs , strcasecmp
First released in Issue 4, Version 2.
The Open Group Corrigendum U021/2 is applied, correcting the prototype for index() to be consistent with the reference page.
The bcmp(), bcopy(), bzero(), index(), and rindex() functions are marked LEGACY.
SD5-XBD-ERN-56 is applied, adding a reference to <sys/types.h> for the size_t type.
The LEGACY functions are removed.
The <strings.h> header is moved from the XSI option to the Base.
The strcasecmp_l() and strncasecmp_l() functions are added from The Open Group Technical Standard, 2006, Extended API Set Part 4.
A declaration for the locale_t type is added.
return to top of page