summaryrefslogtreecommitdiff
path: root/lib/stdopen.h
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2019-01-05 11:02:51 -0800
committerPaul Eggert <eggert@cs.ucla.edu>2019-01-05 18:04:24 -0800
commit14e1f1c39766bcb3fe4d6ec975ecac4058d11d98 (patch)
treefe6141825aa3bc776a9e8d9b7edc750d3c667066 /lib/stdopen.h
parent8da39024bf7c3001614f41d13d9edd5eb36c4ddc (diff)
downloadgnulib-14e1f1c39766bcb3fe4d6ec975ecac4058d11d98.tar.gz
stdopen: copy from last use in coreutils
* lib/stdopen.c, lib/stdopen.h, m4/stdopen.m4: New files, taken from their last commit in coreutils 2007-07-23T12:35:58Z!jim@meyering.net 71aa3ea88084d17bcb4fc1031ad7b66f8647115e.
Diffstat (limited to 'lib/stdopen.h')
-rw-r--r--lib/stdopen.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/lib/stdopen.h b/lib/stdopen.h
new file mode 100644
index 0000000000..d54e5f1350
--- /dev/null
+++ b/lib/stdopen.h
@@ -0,0 +1,16 @@
+#ifndef STDOPEN_H
+# define STDOPEN_H 1
+
+# include <stdbool.h>
+
+# ifdef __cplusplus
+extern "C" {
+# endif
+
+bool stdopen (void);
+
+# ifdef __cplusplus
+}
+# endif
+
+#endif