summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2000-06-21 09:09:57 +0000
committerJim Meyering <jim@meyering.net>2000-06-21 09:09:57 +0000
commit671fdfa887213fda9f2b9428d4da69b2958296a2 (patch)
tree35c03d4019e4dda82801a30d0337389c9e71d9e0 /lib
parentb865bd06192cc098bd296b11d36473d7535c22e9 (diff)
downloadcoreutils-671fdfa887213fda9f2b9428d4da69b2958296a2.tar.xz
*** empty log message ***
Diffstat (limited to 'lib')
-rw-r--r--lib/getstr.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/lib/getstr.h b/lib/getstr.h
new file mode 100644
index 000000000..367bf4e11
--- /dev/null
+++ b/lib/getstr.h
@@ -0,0 +1,19 @@
+#ifndef GETSTR_H_
+# define GETSTR_H_ 1
+
+# include <stdio.h>
+
+# ifndef PARAMS
+# if defined PROTOTYPES || (defined __STDC__ && __STDC__)
+# define PARAMS(Args) Args
+# else
+# define PARAMS(Args) ()
+# endif
+# endif
+
+int
+getstr PARAMS ((char **lineptr, size_t *n, FILE *stream,
+ int delim1, int delim2,
+ size_t offset));
+
+#endif