summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/grep/closeout.h
diff options
context:
space:
mode:
authorTim J. Robbins <tjr@FreeBSD.org>2004-07-04 09:52:08 +0000
committerTim J. Robbins <tjr@FreeBSD.org>2004-07-04 09:52:08 +0000
commit6fdbbb54872ec7fac83387296f0165f7ad3400a9 (patch)
tree70ffe417c9436d51a3807610738f2a5993f7f0fc /gnu/usr.bin/grep/closeout.h
parent7a39f4da90d53085484e72b7504a3e53dbc9f051 (diff)
downloadsrc-test2-6fdbbb54872ec7fac83387296f0165f7ad3400a9.tar.gz
src-test2-6fdbbb54872ec7fac83387296f0165f7ad3400a9.zip
Notes
Diffstat (limited to 'gnu/usr.bin/grep/closeout.h')
-rw-r--r--gnu/usr.bin/grep/closeout.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/gnu/usr.bin/grep/closeout.h b/gnu/usr.bin/grep/closeout.h
new file mode 100644
index 000000000000..80f24e45f9da
--- /dev/null
+++ b/gnu/usr.bin/grep/closeout.h
@@ -0,0 +1,17 @@
+#ifndef CLOSEOUT_H
+# define CLOSEOUT_H 1
+
+# ifndef PARAMS
+# if defined PROTOTYPES || (defined __STDC__ && __STDC__)
+# define PARAMS(Args) Args
+# else
+# define PARAMS(Args) ()
+# endif
+# endif
+
+void close_stdout_set_status PARAMS ((int status));
+void close_stdout_set_file_name PARAMS ((const char *file));
+void close_stdout PARAMS ((void));
+void close_stdout_status PARAMS ((int status));
+
+#endif