diff options
author | Jim Meyering <jim@meyering.net> | 2005-08-24 19:40:42 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2005-08-24 19:40:42 +0000 |
commit | 66c3906e0b6a160ce3c2c0db7244a2b72773aa14 (patch) | |
tree | f1db03e5125ed425f00e28898ed84cd563725271 /lib/fcntl--.h | |
parent | 6774268139da6c73cc008b59dac732ee8ed972cf (diff) | |
download | gnulib-66c3906e0b6a160ce3c2c0db7244a2b72773aa14.tar.gz |
Sync from coreutils.
New file.
Diffstat (limited to 'lib/fcntl--.h')
-rw-r--r-- | lib/fcntl--.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/lib/fcntl--.h b/lib/fcntl--.h new file mode 100644 index 0000000000..4d8e84959a --- /dev/null +++ b/lib/fcntl--.h @@ -0,0 +1,25 @@ +/* Like fcntl.h, but redefine some names to avoid glitches. + + Copyright (C) 2005 Free Software Foundation, Inc. + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2, or (at your option) + any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software Foundation, + Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ + +/* Written by Paul Eggert. */ + +#include <fcntl.h> +#include "fcntl-safer.h" + +#undef open +#define open open_safer |