diff options
author | Jim Meyering <jim@meyering.net> | 2005-11-12 10:06:29 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2005-11-12 10:06:29 +0000 |
commit | 108429b83f3146b54a94b781b1f28ae5ffe114a0 (patch) | |
tree | 5fed81c6ba82b5b61f2a8e069101ab1afbc640e2 /lib/readtokens0.h | |
parent | af3cabbf7f6209d13d84052108cd57188b881365 (diff) | |
download | coreutils-108429b83f3146b54a94b781b1f28ae5ffe114a0.tar.xz |
Emulate openat-family functions using Linux's procfs, if possible.
Idea and some code from Ulrich Drepper's glibc changes.
(BUILD_PROC_NAME): New macro.
Include <stdio.h>, <string.h>, "alloca.h" and "intprops.h".
(rpl_openat): Emulate by trying to open /proc/self/fd/%d/%s,
before falling back on save_cwd and restore_cwd.
(fdopendir, fstatat, unlinkat): Likewise.
Diffstat (limited to 'lib/readtokens0.h')
0 files changed, 0 insertions, 0 deletions