Lines Matching refs:dest
82 clone_passwd(struct passwd *dest, struct passwd const *src)
84 ATF_REQUIRE(dest != NULL);
87 memcpy(dest, src, sizeof(struct passwd));
89 dest->pw_name = strdup(src->pw_name);
91 dest->pw_passwd = strdup(src->pw_passwd);
93 dest->pw_class = strdup(src->pw_class);
95 dest->pw_gecos = strdup(src->pw_gecos);
97 dest->pw_dir = strdup(src->pw_dir);
99 dest->pw_shell = strdup(dest->pw_shell);