memchr.c File Reference
Implements the functions: memchr.
More...
Go to the source code of this file.
|
Functions |
| void * | memchr (const void *cs, int c, int n) |
| | Returns a pointer to the location in memory at which which a particular character appears.
|
Detailed Description
Implements the functions: memchr.
- Id
- memchr.c 404 2008-01-04 21:12:51Z mschul
Definition in file memchr.c.
Function Documentation
| void* memchr |
( |
const void * |
cs, |
|
|
int |
c, |
|
|
int |
n | |
|
) |
| | |
Returns a pointer to the location in memory at which which a particular character appears.
- Parameters:
-
| *s | string to search |
| c | character to locate |
- Returns:
- the pointer in the string, NULL if character not found
Definition at line 16 of file memchr.c.