Lines Matching refs:strdup
48 #define ERR_DUPFAIL "%s: strdup(%s) failed.\n"
425 } else if ((grp->gr_name = strdup(grp->gr_name)) == NULL) {
435 } else if ((grp->gr_passwd = strdup(grp->gr_passwd)) == NULL) {
469 if ((memp[nent++] = strdup(*tp)) == NULL) {
506 } else if ((pwd->pw_name = strdup(pwd->pw_name)) == NULL) {
517 } else if ((pwd->pw_passwd = strdup(pwd->pw_passwd)) == NULL) {
528 } else if ((pwd->pw_age = strdup(pwd->pw_age)) == NULL) {
539 } else if ((pwd->pw_comment = strdup(pwd->pw_comment)) ==
551 } else if ((pwd->pw_gecos = strdup(pwd->pw_gecos)) == NULL) {
562 } else if ((pwd->pw_dir = strdup(pwd->pw_dir)) == NULL) {
573 } else if ((pwd->pw_shell = strdup(pwd->pw_shell)) == NULL) {