STRINGS.H(7) Miscellaneous Information Manual STRINGS.H(7)
NAME
strings.h — string
operations
SYNOPSIS
DESCRIPTION
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> .
APPLICATION USAGE
None.
RATIONALE
None.
FUTURE DIRECTIONS
None.
SEE ALSO
<stddef.h> , the System Interfaces volume of IEEE Std 1003.1-2001 (“POSIX.1”), ffs(3), strcasecmp(3), strncasecmp(3)
CHANGE HISTORY
First released in Issue 4, Version 2.
Issue 6
The Open Group Corrigendum U021/2 is applied, correcting the prototype for index(3) to be consistent with the reference page.
The bcmp(3), bcopy(3), bzero(3), index(3), and rindex(3) functions are marked LEGACY.
End of informative text. footer end
December 6, 2001 posix.fail