Searched refs:pw_gecos (Results 1 – 14 of 14) sorted by relevance
/glibc-2.36/nss/nss_compat/ |
D | compat-pwd.c | 108 free (pwd->pw_gecos); in give_pwd_free() 123 if (pwd->pw_gecos != NULL) in pwd_need_buflen() 124 len += strlen (pwd->pw_gecos) + 1; in pwd_need_buflen() 155 if (src->pw_gecos != NULL && strlen (src->pw_gecos)) in copy_pwd_changes() 158 dest->pw_gecos = strdup (src->pw_gecos); in copy_pwd_changes() 159 else if (dest->pw_gecos in copy_pwd_changes() 160 && strlen (dest->pw_gecos) >= strlen (src->pw_gecos)) in copy_pwd_changes() 161 strcpy (dest->pw_gecos, src->pw_gecos); in copy_pwd_changes() 164 dest->pw_gecos = buffer; in copy_pwd_changes() 165 strcpy (dest->pw_gecos, src->pw_gecos); in copy_pwd_changes() [all …]
|
/glibc-2.36/nss/ |
D | bug17079.c | 37 && strcmp (a->pw_gecos, b->pw_gecos) == 0 in equal() 62 target->pw_gecos = xstrdup (pwd->pw_gecos); in init_test_items()
|
D | nss_test.h | 67 .pw_gid = 100, .pw_gecos = (char *) "*", .pw_dir = (char *) "*", \ 72 .pw_gid = 100, .pw_gecos = (char *) "*", .pw_dir = (char *) "*", \ 102 printf (" %u, %s, %s, %s\n", p->pw_gid, p->pw_gecos, p->pw_dir, p->pw_shell); in print_passwd() 168 COMPARE_PWD_FIELD (pw_gecos); in compare_passwds()
|
D | tst-nss-test5.c | 39 .pw_gid = 200, .pw_gecos = (char *) "*", .pw_dir = (char *) "*", \ 42 .pw_gid = 2, .pw_gecos = (char *) "y", .pw_dir = (char *) "z", \
|
D | nss_test1.c | 52 .pw_gid = 100, .pw_gecos = (char *) "*", .pw_dir = (char *) "*", \ 160 result->pw_gecos = alloc_buffer_maybe_copy_string (&buf, local->pw_gecos); in copy_passwd()
|
/glibc-2.36/pwd/ |
D | fgetpwent_r.c | 43 result->pw_gecos = NULL; 60 STRING_FIELD (result->pw_gecos, ISCOLON, 0);
|
D | tst-putpwent.c | 114 .pw_gecos = (char *) "gecos", in do_test() 124 .pw_gecos = (char *) ":ge\n:cos\n", in do_test()
|
D | getpw.c | 55 p->pw_gecos, p->pw_dir, p->pw_shell) < 0) in __getpw()
|
D | putpwent.c | 45 const char *gecos = __nss_rewrite_field (p->pw_gecos, &gecos_alloc); in putpwent()
|
D | pwd.h | 56 char *pw_gecos; /* Real name. */ member
|
/glibc-2.36/nscd/ |
D | nscd_getpw_r.c | 155 resultbuf->pw_gecos = p; in nscd_getpw_r() 196 || resultbuf->pw_gecos[pw_resp.pw_gecos_len - 1] != '\0' in nscd_getpw_r()
|
D | pwdcache.c | 171 size_t pw_gecos_len = strlen (pwd->pw_gecos) + 1; in cache_addpw() 239 cp = mempcpy (cp, pwd->pw_gecos, pw_gecos_len); in cache_addpw()
|
/glibc-2.36/manual/examples/ |
D | db.c | 42 printf ("I am %s.\n", my_passwd->pw_gecos); in main()
|
/glibc-2.36/manual/ |
D | users.texi | 1777 @item char *pw_gecos
|