STRINGS.H(7) Miscellaneous Information Manual STRINGS.H(7)

strings.hstring operations


#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 type shall be defined through as described in <stddef.h> .

None.

None.

None.

<stddef.h> , the System Interfaces volume of IEEE Std 1003.1-2001 (“POSIX.1”), ffs(3), strcasecmp(3), strncasecmp(3)

First released in Issue 4, Version 2.

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.

footer end

December 6, 2001 posix.fail