Home
last modified time | relevance | path

Searched refs:dev_dirfd (Results 1 – 2 of 2) sorted by relevance

/coreutils/src/
Dpinky.c208 static int dev_dirfd; in print_entry() local
209 if (!dev_dirfd) in print_entry()
211 dev_dirfd = open ("/dev", O_PATHSEARCH | O_DIRECTORY); in print_entry()
212 if (dev_dirfd < 0) in print_entry()
213 dev_dirfd = AT_FDCWD - 1; in print_entry()
215 dirfd = dev_dirfd; in print_entry()
Dwho.c344 static int dev_dirfd; in print_user() local
345 if (!dev_dirfd) in print_user()
347 dev_dirfd = open ("/dev", O_PATHSEARCH | O_DIRECTORY); in print_user()
348 if (dev_dirfd < 0) in print_user()
349 dev_dirfd = AT_FDCWD - 1; in print_user()
351 dirfd = dev_dirfd; in print_user()