Home
last modified time | relevance | path

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

/l4re-core-master/uclibc/lib/contrib/uclibc/libc/sysdeps/linux/common/
A Dgetdirname.c34 char *pwd; in get_current_dir_name() local
41 pwd = getenv ("PWD"); in get_current_dir_name()
42 if (pwd != NULL in get_current_dir_name()
45 && stat64 (pwd, &pwdstat) == 0 in get_current_dir_name()
48 && stat (pwd, &pwdstat) == 0 in get_current_dir_name()
53 return strdup (pwd); in get_current_dir_name()
/l4re-core-master/uclibc/lib/contrib/uclibc/test/pwd_grp/
A Dgetgroups.c68 struct passwd *pwd; in main() local
70 pwd = getpwuid(getuid()); in main()
71 if (pwd == NULL) in main()
85 if (xgetgroups((pwd ? pwd->pw_gid : (gid_t) - 1), in main()
/l4re-core-master/uclibc/lib/contrib/uclibc/libc/inet/rpc/
A Drcmd.c428 struct passwd *pwd; in iruserok2() local
438 buflen, &pwd) != 0 || pwd == NULL) in iruserok2()
445 if ((pwd = getpwnam(luser)) == NULL) in iruserok2()
449 dirlen = strlen (pwd->pw_dir); in iruserok2()
451 strcpy (pbuf, pwd->pw_dir); in iruserok2()
458 seteuid (pwd->pw_uid); in iruserok2()
459 hostf = iruserfopen (pbuf, pwd->pw_uid); in iruserok2()
/l4re-core-master/uclibc/lib/contrib/uclibc/test/
A DRules.mak11 abs_top_builddir ?= $(shell cd $(top_builddir); pwd)/
101 …= -B$(UCLIBC_PATH) -Wl,-rpath,$(UCLIBC_PATH):$(shell pwd) -Wl,-rpath-link,$(UCLIBC_PATH):$(shell p…
103 LDFLAGS += -Wl,-rpath,$(shell pwd)
/l4re-core-master/uclibc/lib/contrib/uclibc/libc/misc/wordexp/
A Dwordexp.c275 struct passwd pwd, *tpwd; in parse_tilde() local
294 while ((result = getpwuid_r(uid, &pwd, buffer, buflen, &tpwd)) in parse_tilde()
301 if (result == 0 && tpwd != NULL && pwd.pw_dir != NULL) { in parse_tilde()
302 *word = w_addstr(*word, word_length, max_length, pwd.pw_dir); in parse_tilde()
314 struct passwd pwd, *tpwd; in parse_tilde() local
319 while ((result = getpwnam_r(user, &pwd, buffer, buflen, &tpwd)) != 0 in parse_tilde()
325 if (result == 0 && tpwd != NULL && pwd.pw_dir) in parse_tilde()
326 *word = w_addstr(*word, word_length, max_length, pwd.pw_dir); in parse_tilde()
/l4re-core-master/uclibc/lib/contrib/uclibc/libc/pwd_grp/
A Dpwd_grp.c594 static struct passwd pwd; in libc_hidden_def() local
597 getpwent_r(&pwd, line_buff, sizeof(line_buff), &result); in libc_hidden_def()
/l4re-core-master/uclibc/lib/uclibc/
A Dtarget_headers.lst164 pwd.h
/l4re-core-master/uclibc/lib/contrib/uclibc/test/regex/
A Dtst-regex2.dat821 * pwd/fgetpwent.c (buffer): Add libc_freeres_ptr.

Completed in 14 milliseconds