The Single UNIX ® Specification, Version 2
Copyright © 1997 The Open Group

 NAME

index - character string operations

 SYNOPSIS



#include <strings.h>

char *index(const char *s, int c);

 DESCRIPTION

The index() function is identical to strchr().

 RETURN VALUE

See strchr().

 ERRORS

See strchr().

 EXAMPLES

None.

 APPLICATION USAGE

For portability to implementations conforming to earlier versions of this specification, strchr() is preferred over this function.

 FUTURE DIRECTIONS

None.

 SEE ALSO

strchr(), <strings.h>.

UNIX ® is a registered Trademark of The Open Group.
Copyright © 1997 The Open Group
[ Main Index | XSH | XCU | XBD | XCURSES | XNS ]