summaryrefslogtreecommitdiff
path: root/lib/stdlib-safer.h
diff options
context:
space:
mode:
authorEric Blake <ebb9@byu.net>2006-07-21 13:06:05 +0000
committerEric Blake <ebb9@byu.net>2006-07-21 13:06:05 +0000
commit1657e8ea4800a0ecbd67c05e6b8896b37720110b (patch)
treed8a00ba17902451c04d9868806533d2d44cd35b0 /lib/stdlib-safer.h
parentd2552e3be9c5f6db3e8a396cfa727255753f3f8f (diff)
downloadgnulib-1657e8ea4800a0ecbd67c05e6b8896b37720110b.tar.gz
* stdlib-safer.h: New file from coreutils, required by
stdlib--.h.
Diffstat (limited to 'lib/stdlib-safer.h')
-rw-r--r--lib/stdlib-safer.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/lib/stdlib-safer.h b/lib/stdlib-safer.h
new file mode 100644
index 0000000000..8b1a7e11e5
--- /dev/null
+++ b/lib/stdlib-safer.h
@@ -0,0 +1,21 @@
+/* Invoke stdlib.h functions, but avoid some 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. */
+
+int mkstemp_safer (char *);