mirror of
https://git.savannah.gnu.org/git/gnulib.git
synced 2025-08-17 12:41:05 +03:00
which has no openat syscall, yet <fcntl.h> does define AT_FDCWD. * lib/getcwd.c: Undef AT_FDCWD if there is no openat function. * modules/getcwd (Depends-on): Add openat. Reported by Petr Salinger.
34 lines
349 B
Plaintext
34 lines
349 B
Plaintext
Description:
|
|
Return the current working directory.
|
|
|
|
Files:
|
|
lib/getcwd.c
|
|
m4/getcwd-abort-bug.m4
|
|
m4/getcwd-path-max.m4
|
|
m4/getcwd.m4
|
|
|
|
Depends-on:
|
|
mempcpy
|
|
d-ino
|
|
dirfd
|
|
extensions
|
|
openat
|
|
stdbool
|
|
unistd
|
|
malloc-posix
|
|
|
|
configure.ac:
|
|
gl_FUNC_GETCWD
|
|
gl_UNISTD_MODULE_INDICATOR([getcwd])
|
|
|
|
Makefile.am:
|
|
|
|
Include:
|
|
<unistd.h>
|
|
|
|
License:
|
|
GPL
|
|
|
|
Maintainer:
|
|
all, glibc
|