eospos 26 replace/strnlen.c const char *eospos; eospos 28 replace/strnlen.c eospos = memchr(s, (int)'\0', maxlen); eospos 30 replace/strnlen.c return (eospos == NULL ? maxlen : (size_t) (eospos - s));