Home
last modified time | relevance | path

Searched refs:allocp (Results 1 – 1 of 1) sorted by relevance

/src/usr.bin/mdo/
H A Dmdo.c288 parse_user_pwd(const char *s, struct passwd **pwdp, struct alloc *allocp) in parse_user_pwd() argument
296 assert((pwdp == NULL && allocp == NULL) || in parse_user_pwd()
297 (pwdp != NULL && allocp != NULL)); in parse_user_pwd()
301 allocp = &alloc; in parse_user_pwd()
304 error = alloc_getpwnam(s, pwdp, allocp); in parse_user_pwd()
317 if (allocp == &alloc) in parse_user_pwd()
318 alloc_free(allocp); in parse_user_pwd()