Home
last modified time | relevance | path

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

/haiku/src/system/libroot/posix/
H A Dpwd_query.c348 int fill_pwent_default(struct passwd *pwbuf) in fill_pwent_default() argument
352 pwbuf->pw_gid = 1000; in fill_pwent_default()
353 pwbuf->pw_uid = 1000; in fill_pwent_default()
354 pwbuf->pw_name = "baron"; in fill_pwent_default()
355 pwbuf->pw_passwd = "*"; in fill_pwent_default()
356 pwbuf->pw_dir = "/var/tmp"; in fill_pwent_default()
357 pwbuf->pw_shell = "/bin/false"; in fill_pwent_default()
358 pwbuf->pw_gecos = "Unknown User"; in fill_pwent_default()
362 int fill_pwent_from_fd(int fd, struct passwd *pwbuf, char *buf, size_t buflen) in fill_pwent_from_fd() argument
371 len = fs_read_attr(fd, B_PW_GID, B_INT32_TYPE, 0LL, &pwbuf->pw_gid, sizeof(gid_t)); in fill_pwent_from_fd()
[all …]
/haiku/headers/posix/
H A Dpwd.h27 extern int getpwent_r(struct passwd* pwbuf, char* buf, size_t buflen,
/haiku/src/bin/unzip/
H A Dunzip.h349 typedef int (UZ_EXP PasswdFn) (zvoid *pG, int *rcnt, char *pwbuf,
600 int UZ_EXP UzpPassword OF((zvoid *pG, int *rcnt, char *pwbuf,
H A Dfileio.c1507 int UZ_EXP UzpPassword (pG, rcnt, pwbuf, size, zfn, efn) in UzpPassword() argument
1510 char *pwbuf; /* buffer for password */
1539 m = getp(__G__ m, pwbuf, size);
1546 else if (*pwbuf == '\0') {
1553 pG = pG; rcnt = rcnt; pwbuf = pwbuf; size = size; zfn = zfn; efn = efn;