Mercurial > gnulib
view modules/getcwd @ 29225:699ecd849255
Port to GNU/kFreeBSD - FreeBSD kernel + GNU libc,
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.
author | Jim Meyering <meyering@redhat.com> |
---|---|
date | Fri, 14 Dec 2007 19:46:26 +0100 |
parents | b09b2eef49a1 |
children | 3cb22d0bfd0b |
line wrap: on
line source
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