posix_openpt: new module
[gnulib.git] / modules / openat
1 Description:
2 Open a file at a directory.
3
4 Files:
5 lib/at-func.c
6 lib/fchmodat.c
7 lib/fchownat.c
8 lib/fstatat.c
9 lib/mkdirat.c
10 lib/openat.c
11 lib/openat.h
12 lib/openat-priv.h
13 lib/openat-proc.c
14 lib/unlinkat.c
15 m4/openat.m4
16 m4/mode_t.m4
17
18 Depends-on:
19 dosname
20 errno
21 extensions
22 fchdir
23 fcntl-h
24 fdopendir
25 fstat
26 gettext-h
27 intprops
28 largefile
29 lchown          [test $HAVE_FCHOWNAT = 0 || test $REPLACE_FCHOWNAT = 1]
30 lstat
31 mkdir           [test $HAVE_MKDIRAT = 0]
32 open
33 openat-die
34 rmdir           [test $REPLACE_UNLINKAT = 1]
35 save-cwd
36 stdbool
37 sys_stat
38 unistd
39 unlink          [test $REPLACE_UNLINKAT = 1]
40
41 configure.ac:
42 gl_FUNC_OPENAT
43 AC_LIBOBJ([openat-proc])
44 if test $HAVE_FCHMODAT = 0; then
45   AC_LIBOBJ([fchmodat])
46 fi
47 if test $ac_cv_func_fstatat = no || test $REPLACE_FSTATAT = 1; then
48   AC_LIBOBJ([fstatat])
49 fi
50 if test $HAVE_MKDIRAT = 0; then
51   AC_LIBOBJ([mkdirat])
52 fi
53 if test $HAVE_OPENAT = 0 || test $REPLACE_OPENAT = 1; then
54   AC_LIBOBJ([openat])
55 fi
56 if test $ac_cv_func_unlinkat = no || test $REPLACE_UNLINKAT = 1; then
57   AC_LIBOBJ([unlinkat])
58 fi
59 if test $HAVE_FCHOWNAT = 0 || test $REPLACE_FCHOWNAT = 1; then
60   AC_LIBOBJ([fchownat])
61 fi
62
63 Makefile.am:
64
65 Include:
66 <fcntl.h>
67 <sys/stat.h>
68 <unistd.h>
69 "openat.h"
70
71 License:
72 GPL
73
74 Maintainer:
75 Jim Meyering, Eric Blake