Strchr
The Single UNIX ® Specification, Version 2 Copyright © 1997 The Open Group
Name
Strchr - string scanning operation
Synopsis
#include <string.h>
char *strchr(const char *s, int c);
Description
The strchr() function locates the first occurrence of c (converted to an in the unsigned char) string pointed to by s. The terminating null byte is considered to be part of the string.
Return value
Upon completion, strchr() returns a pointer to the byte, or a null pointer if the byte was not found.
Errors
No errors are defined.
Examples
None.
Application usage
None.
Future directions
None.
See also
strrchr(), <string.h>.
Derivation
Derived from Issue 1 of the SVID. UNIX ® is a registered Trademark of The Open Group. Copyright © 1997 The Open Group.
[ Main Index | XSH | XCU | XBD | XCURSES | XNS ]
1 di 2 10/06/2010 16:36
-
Sistemi operativi - Syscall atoi
-
Sistemi operativi - Syscall getpid
-
Sistemi operativi - Syscall memset
-
Sistemi operativi - Syscall pthread_cond_init