safec
2.1
Safe C Library - ISO TR24731 Bounds Checking Interface
|
#include "safeclib_private.h"
#include "safe_str_constraint.h"
#include "safe_str_lib.h"
Go to the source code of this file.
Functions | |
errno_t | strpbrk_s (char *dest, rsize_t dmax, char *src, rsize_t slen, char **first) |
Returns a pointer, first, to the first ocurrence of any character in src which is contained in dest. More... | |
errno_t strpbrk_s | ( | char * | dest, |
rsize_t | dmax, | ||
char * | src, | ||
rsize_t | slen, | ||
char ** | first | ||
) |
Returns a pointer, first, to the first ocurrence of any character in src which is contained in dest.
dest | pointer to string to compare against |
dmax | restricted maximum length of string dest |
src | pointer to the string |
slen | restricted length of string src |
first | returned pointer to first occurence |
EOK | when successful operation |
ESNULLP | when dest/src/first is NULL pointer |
ESZEROL | when dmax/slen = 0 |
ESLEMAX | when dmax/slen > RSIZE_MAX_STR |
Definition at line 69 of file strpbrk_s.c.