summaryrefslogtreecommitdiff
path: root/sys/include/ape/libv.h
diff options
context:
space:
mode:
authorTaru Karttunen <taruti@taruti.net>2011-03-30 16:47:56 +0300
committerTaru Karttunen <taruti@taruti.net>2011-03-30 16:47:56 +0300
commitc558a99e0be506a9abdf677f0ca4490644e05fc1 (patch)
tree17aef678ad05a32ef96ce8385703cb3fe089a5c7 /sys/include/ape/libv.h
parente5888a1ffdae813d7575f5fb02275c6bb07e5199 (diff)
Import sources from 2011-03-30 iso image - sys/include
Diffstat (limited to 'sys/include/ape/libv.h')
-rwxr-xr-xsys/include/ape/libv.h39
1 files changed, 39 insertions, 0 deletions
diff --git a/sys/include/ape/libv.h b/sys/include/ape/libv.h
new file mode 100755
index 000000000..ccdea6581
--- /dev/null
+++ b/sys/include/ape/libv.h
@@ -0,0 +1,39 @@
+#ifndef __LIBV_H
+#define __LIBV_H
+#ifndef _RESEARCH_SOURCE
+ This header file is not defined in ANSI or POSIX
+#endif
+#pragma lib "/$M/lib/ape/libv.a"
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+extern void srand(unsigned int);
+extern int rand(void);
+extern int nrand(int);
+extern long lrand(void);
+extern double frand(void);
+
+extern char *getpass(char *);
+extern int tty_echoon(int);
+extern int tty_echooff(int);
+
+extern int min(int, int);
+extern int max(int, int);
+
+extern void _perror(char *);
+extern char *_progname;
+
+extern int nap(int);
+
+extern char *setfields(char *);
+extern int getfields(char *, char **, int);
+extern int getmfields(char *, char **, int);
+
+
+#ifdef __cplusplus
+};
+#endif
+
+#endif /* __LIBV_H */