bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: POSIX 2008 available, openat


From: Bruno Haible
Subject: Re: POSIX 2008 available, openat
Date: Sun, 14 Dec 2008 19:47:29 +0100
User-agent: KMail/1.9.9

Part 4: New functions.

Jim, some of these functions (fchmodat, fchownat, fdopendir, fstatat, mkdirat,
openat, unlinkat) are provided by gnulib module 'openat'. Others (faccessat,
linkat, mkfifoat, mknodat, readlinkat, renameat, symlinkat, utimensat) are not.
What do you think about
  - splitting the module 'openat' in such a way that there is a module for
    each of these POSIX functions?
  - adding replacements for faccessat, linkat, mkfifoat, mknodat, readlinkat,
    renameat, symlinkat, utimensat?
  - putting the whole thing under LGPL (currently GPL)?

Bruno


2008-12-14  Bruno Haible  <address@hidden>

        Update doc for POSIX:2008.
        * doc/posix-functions/faccessat.texi: New file.
        * doc/posix-functions/fchmodat.texi: New file.
        * doc/posix-functions/fchownat.texi: New file.
        * doc/posix-functions/fdopendir.texi: New file.
        * doc/posix-functions/fstatat.texi: New file.
        * doc/posix-functions/futimens.texi: New file.
        * doc/posix-functions/linkat.texi: New file.
        * doc/posix-functions/mkdirat.texi: New file.
        * doc/posix-functions/mkfifoat.texi: New file.
        * doc/posix-functions/mknodat.texi: New file.
        * doc/posix-functions/open_wmemstream.texi: New file.
        * doc/posix-functions/openat.texi: New file.
        * doc/posix-functions/psiginfo.texi: New file.
        * doc/posix-functions/pthread_mutex_consistent.texi: New file.
        * doc/posix-functions/pthread_mutexattr_getrobust.texi: New file.
        * doc/posix-functions/pthread_mutexattr_setrobust.texi: New file.
        * doc/posix-functions/readlinkat.texi: New file.
        * doc/posix-functions/renameat.texi: New file.
        * doc/posix-functions/strerror_l.texi: New file.
        * doc/posix-functions/symlinkat.texi: New file.
        * doc/posix-functions/unlinkat.texi: New file.
        * doc/posix-functions/utimensat.texi: New file.
        * doc/gnulib.texi (Function Substitutes): Add these subsections.

--- doc/gnulib.texi.orig        2008-12-14 19:35:59.000000000 +0100
+++ doc/gnulib.texi     2008-12-14 19:34:50.000000000 +0100
@@ -888,10 +888,13 @@
 * fabs::
 * fabsf::
 * fabsl::
+* faccessat::
 * fattach::
 * fchdir::
 * fchmod::
+* fchmodat::
 * fchown::
+* fchownat::
 * fclose::
 * fcntl::
 * fdatasync::
@@ -900,6 +903,7 @@
 * fdimf::
 * fdiml::
 * fdopen::
+* fdopendir::
 * feclearexcept::
 * fegetenv::
 * fegetexceptflag::
@@ -963,6 +967,7 @@
 * fseeko::
 * fsetpos::
 * fstat::
+* fstatat::
 * fstatvfs::
 * fsync::
 * ftell::
@@ -972,6 +977,7 @@
 * ftrylockfile::
 * ftw::
 * funlockfile::
+* futimens::
 * fwide::
 * fwprintf::
 * fwrite::
@@ -1155,6 +1161,7 @@
 * lgammaf::
 * lgammal::
 * link::
+* linkat::
 * lio_listio::
 * listen::
 * llabs::
@@ -1211,9 +1218,12 @@
 * memmove::
 * memset::
 * mkdir::
+* mkdirat::
 * mkdtemp::
 * mkfifo::
+* mkfifoat::
 * mknod::
+* mknodat::
 * mkstemp::
 * mktime::
 * mlock::
@@ -1264,9 +1274,11 @@
 * ntohl::
 * ntohs::
 * open::
+* openat::
 * opendir::
 * openlog::
 * open_memstream::
+* open_wmemstream::
 * optarg::
 * opterr::
 * optind::
@@ -1363,6 +1375,7 @@
 * pread::
 * printf::
 * pselect::
+* psiginfo::
 * psignal::
 * pthread_atfork::
 * pthread_attr_destroy::
@@ -1417,6 +1430,7 @@
 * pthread_key_create::
 * pthread_key_delete::
 * pthread_kill::
+* pthread_mutex_consistent::
 * pthread_mutex_destroy::
 * pthread_mutex_getprioceiling::
 * pthread_mutex_init::
@@ -1429,11 +1443,13 @@
 * pthread_mutexattr_getprioceiling::
 * pthread_mutexattr_getprotocol::
 * pthread_mutexattr_getpshared::
+* pthread_mutexattr_getrobust::
 * pthread_mutexattr_gettype::
 * pthread_mutexattr_init::
 * pthread_mutexattr_setprioceiling::
 * pthread_mutexattr_setprotocol::
 * pthread_mutexattr_setpshared::
+* pthread_mutexattr_setrobust::
 * pthread_mutexattr_settype::
 * pthread_once::
 * pthread_rwlock_destroy::
@@ -1485,6 +1501,7 @@
 * readdir::
 * readdir_r::
 * readlink::
+* readlinkat::
 * readv::
 * realloc::
 * realpath::
@@ -1504,6 +1521,7 @@
 * remquof::
 * remquol::
 * rename::
+* renameat::
 * rewind::
 * rewinddir::
 * rint::
@@ -1645,6 +1663,7 @@
 * strcspn::
 * strdup::
 * strerror::
+* strerror_l::
 * strerror_r::
 * strfmon::
 * strfmon_l::
@@ -1681,6 +1700,7 @@
 * swprintf::
 * swscanf::
 * symlink::
+* symlinkat::
 * sync::
 * sysconf::
 * syslog::
@@ -1744,10 +1764,12 @@
 * ungetc::
 * ungetwc::
 * unlink::
+* unlinkat::
 * unlockpt::
 * unsetenv::
 * uselocale::
 * utime::
+* utimensat::
 * utimes::
 * va_arg::
 * va_copy::
@@ -2059,10 +2081,13 @@
 @include posix-functions/fabs.texi
 @include posix-functions/fabsf.texi
 @include posix-functions/fabsl.texi
address@hidden posix-functions/faccessat.texi
 @include posix-functions/fattach.texi
 @include posix-functions/fchdir.texi
 @include posix-functions/fchmod.texi
address@hidden posix-functions/fchmodat.texi
 @include posix-functions/fchown.texi
address@hidden posix-functions/fchownat.texi
 @include posix-functions/fclose.texi
 @include posix-functions/fcntl.texi
 @include posix-functions/fdatasync.texi
@@ -2071,6 +2096,7 @@
 @include posix-functions/fdimf.texi
 @include posix-functions/fdiml.texi
 @include posix-functions/fdopen.texi
address@hidden posix-functions/fdopendir.texi
 @include posix-functions/feclearexcept.texi
 @include posix-functions/fegetenv.texi
 @include posix-functions/fegetexceptflag.texi
@@ -2134,6 +2160,7 @@
 @include posix-functions/fseeko.texi
 @include posix-functions/fsetpos.texi
 @include posix-functions/fstat.texi
address@hidden posix-functions/fstatat.texi
 @include posix-functions/fstatvfs.texi
 @include posix-functions/fsync.texi
 @include posix-functions/ftell.texi
@@ -2143,6 +2170,7 @@
 @include posix-functions/ftrylockfile.texi
 @include posix-functions/ftw.texi
 @include posix-functions/funlockfile.texi
address@hidden posix-functions/futimens.texi
 @include posix-functions/fwide.texi
 @include posix-functions/fwprintf.texi
 @include posix-functions/fwrite.texi
@@ -2326,6 +2354,7 @@
 @include posix-functions/lgammaf.texi
 @include posix-functions/lgammal.texi
 @include posix-functions/link.texi
address@hidden posix-functions/linkat.texi
 @include posix-functions/lio_listio.texi
 @include posix-functions/listen.texi
 @include posix-functions/llabs.texi
@@ -2382,9 +2411,12 @@
 @include posix-functions/memmove.texi
 @include posix-functions/memset.texi
 @include posix-functions/mkdir.texi
address@hidden posix-functions/mkdirat.texi
 @include posix-functions/mkdtemp.texi
 @include posix-functions/mkfifo.texi
address@hidden posix-functions/mkfifoat.texi
 @include posix-functions/mknod.texi
address@hidden posix-functions/mknodat.texi
 @include posix-functions/mkstemp.texi
 @include posix-functions/mktime.texi
 @include posix-functions/mlock.texi
@@ -2435,9 +2467,11 @@
 @include posix-functions/ntohl.texi
 @include posix-functions/ntohs.texi
 @include posix-functions/open.texi
address@hidden posix-functions/openat.texi
 @include posix-functions/opendir.texi
 @include posix-functions/openlog.texi
 @include posix-functions/open_memstream.texi
address@hidden posix-functions/open_wmemstream.texi
 @include posix-functions/optarg.texi
 @include posix-functions/opterr.texi
 @include posix-functions/optind.texi
@@ -2534,6 +2568,7 @@
 @include posix-functions/pread.texi
 @include posix-functions/printf.texi
 @include posix-functions/pselect.texi
address@hidden posix-functions/psiginfo.texi
 @include posix-functions/psignal.texi
 @include posix-functions/pthread_atfork.texi
 @include posix-functions/pthread_attr_destroy.texi
@@ -2588,6 +2623,7 @@
 @include posix-functions/pthread_key_create.texi
 @include posix-functions/pthread_key_delete.texi
 @include posix-functions/pthread_kill.texi
address@hidden posix-functions/pthread_mutex_consistent.texi
 @include posix-functions/pthread_mutex_destroy.texi
 @include posix-functions/pthread_mutex_getprioceiling.texi
 @include posix-functions/pthread_mutex_init.texi
@@ -2600,11 +2636,13 @@
 @include posix-functions/pthread_mutexattr_getprioceiling.texi
 @include posix-functions/pthread_mutexattr_getprotocol.texi
 @include posix-functions/pthread_mutexattr_getpshared.texi
address@hidden posix-functions/pthread_mutexattr_getrobust.texi
 @include posix-functions/pthread_mutexattr_gettype.texi
 @include posix-functions/pthread_mutexattr_init.texi
 @include posix-functions/pthread_mutexattr_setprioceiling.texi
 @include posix-functions/pthread_mutexattr_setprotocol.texi
 @include posix-functions/pthread_mutexattr_setpshared.texi
address@hidden posix-functions/pthread_mutexattr_setrobust.texi
 @include posix-functions/pthread_mutexattr_settype.texi
 @include posix-functions/pthread_once.texi
 @include posix-functions/pthread_rwlock_destroy.texi
@@ -2656,6 +2694,7 @@
 @include posix-functions/readdir.texi
 @include posix-functions/readdir_r.texi
 @include posix-functions/readlink.texi
address@hidden posix-functions/readlinkat.texi
 @include posix-functions/readv.texi
 @include posix-functions/realloc.texi
 @include posix-functions/realpath.texi
@@ -2675,6 +2714,7 @@
 @include posix-functions/remquof.texi
 @include posix-functions/remquol.texi
 @include posix-functions/rename.texi
address@hidden posix-functions/renameat.texi
 @include posix-functions/rewind.texi
 @include posix-functions/rewinddir.texi
 @include posix-functions/rint.texi
@@ -2816,6 +2856,7 @@
 @include posix-functions/strcspn.texi
 @include posix-functions/strdup.texi
 @include posix-functions/strerror.texi
address@hidden posix-functions/strerror_l.texi
 @include posix-functions/strerror_r.texi
 @include posix-functions/strfmon.texi
 @include posix-functions/strfmon_l.texi
@@ -2852,6 +2893,7 @@
 @include posix-functions/swprintf.texi
 @include posix-functions/swscanf.texi
 @include posix-functions/symlink.texi
address@hidden posix-functions/symlinkat.texi
 @include posix-functions/sync.texi
 @include posix-functions/sysconf.texi
 @include posix-functions/syslog.texi
@@ -2915,10 +2957,12 @@
 @include posix-functions/ungetc.texi
 @include posix-functions/ungetwc.texi
 @include posix-functions/unlink.texi
address@hidden posix-functions/unlinkat.texi
 @include posix-functions/unlockpt.texi
 @include posix-functions/unsetenv.texi
 @include posix-functions/uselocale.texi
 @include posix-functions/utime.texi
address@hidden posix-functions/utimensat.texi
 @include posix-functions/utimes.texi
 @include posix-functions/va_arg.texi
 @include posix-functions/va_copy.texi




reply via email to

[Prev in Thread] Current Thread [Next in Thread]