lib/fcntl-safer.h


Log

Author Commit Date CI Message
Eric Blake 02fd4eb4 2009-09-02T06:07:54 openat-safer: new module * modules/openat-safer: New file. * lib/openat-safer.c: Likewise. * m4/fcntl-safer.m4 (gl_OPENAT_SAFER): New macro. * lib/fcntl-safer.h (openat_safer): Declare. * lib/fcntl--.h (openat): Override. * MODULES.html.sh (File descriptor based I/O): Mention it. * lib/openat.h: Add double-inclusion guards. * lib/openat.c (includes): Only include "fcntl-safer.h", not "fcntl--.h", so we can implement openat. * modules/openat-safer-tests: New test. * tests/test-openat-safer.c: New file. Signed-off-by: Eric Blake <ebb9@byu.net>
Bruno Haible 57fdfd3f 2007-10-07T19:14:58 Change copyright notice from GPLv2+ to GPLv3+.
Jim Meyering 45cc6c2e 2005-08-27T14:28:28 Include <sys/types.h> and declare creat_safer.
Jim Meyering 66c3906e 2005-08-24T19:40:42 Sync from coreutils. New file.
Paul Eggert 8b03458e 2005-05-02T07:00:50 Merge from coreutils.
Paul Eggert be1c8ade 2004-08-06T05:21:37 Merge from coreutils.