view modules/fchdir @ 12038:ac2a6371d78c

stat: add as dependency to other modules Modules that use stat but are not in this list don't trip any of the bugs that the stat module fixes. * modules/chown (Depends-on): Add stat. * modules/euidaccess (Depends-on): Likewise. * modules/fchdir (Depends-on): Likewise. * modules/isdir (Depends-on): Likewise. * modules/link (Depends-on): Likewise. * modules/lstat (Depends-on): Likewise. * modules/mkdir-p (Depends-on): Likewise. * modules/modechange (Depends-on): Likewise. * modules/open (Depends-on): Likewise. * modules/readlink (Depends-on): Likewise. * modules/same (Depends-on): Likewise. Signed-off-by: Eric Blake <ebb9@byu.net>
author Eric Blake <ebb9@byu.net>
date Tue, 15 Sep 2009 14:43:14 -0600
parents 18ea6ab4e81d
children 5e590c10bc80
line wrap: on
line source

Description:
fchdir() function: change current directory, given an open file descriptor.

Files:
lib/fchdir.c
m4/fchdir.m4

Depends-on:
canonicalize-lgpl
close
dirent
dirfd
dup2
fcntl-h
include_next
malloc-posix
open
realloc-posix
stat
stdbool
strdup-posix
sys_stat
unistd

configure.ac:
gl_FUNC_FCHDIR
gl_UNISTD_MODULE_INDICATOR([fchdir])

Makefile.am:

Include:
<unistd.h>

License:
LGPL

Maintainer:
Bruno Haible