Searched defs:maxlen (Results 1 - 2 of 2) sorted by relevance

/sssd/src/sss_client/sudo/
H A Dsss_sudo_response.c227 size_t maxlen = 0; local
234 maxlen = message_len - start_pos;
241 len = strnlen(current, maxlen);
242 if (len == maxlen) {
/sssd/src/sss_client/
H A Dcommon.c1038 /* Return strlen(str) or maxlen, whichever is shorter
1039 * Returns EINVAL if str is NULL, EFBIG if str is longer than maxlen
1044 errno_t sss_strnlen(const char *str, size_t maxlen, size_t *len) argument
1051 *len = strnlen(str, maxlen);
1054 while (*len < maxlen) {
1060 if (*len == maxlen && str[*len] != '\0') {

Completed in 697 milliseconds