strings.h - string operations
[XSI] #include <strings.h>
The following shall be declared as functions and may also be defined as macros. Function prototypes shall be provided.
int bcmp(const void *, const void *, size_t); (LEGACY ) void bcopy(const void *, void *, size_t); (LEGACY ) void bzero(void *, size_t); (LEGACY ) int ffs(int); char *index(const char *, int); (LEGACY ) char *rindex(const char *, int); (LEGACY ) int strcasecmp(const char *, const char *); int strncasecmp(const char *, const char *, size_t);The size_t type shall be defined through typedef as described in <stddef.h>.
None.
None.
None.
<stddef.h>, the System Interfaces volume of IEEE Std 1003.1-2001, ffs(), strcasecmp(), strncasecmp()
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.