]> git.lizzy.rs Git - plan9front.git/blob - sys/include/ape/libv.h
libc: use usize for sbrk() increment
[plan9front.git] / sys / include / ape / libv.h
1 #ifndef __LIBV_H
2 #define __LIBV_H
3 #ifndef _RESEARCH_SOURCE
4    This header file is not defined in ANSI or POSIX
5 #endif
6 #pragma lib "/$M/lib/ape/libv.a"
7
8 #ifdef __cplusplus
9 extern "C" {
10 #endif
11
12 extern void     srand(unsigned int);
13 extern int      rand(void);
14 extern int      nrand(int);
15 extern long     lrand(void);
16 extern double   frand(void);
17
18 extern char     *getpass(char *);
19 extern int      tty_echoon(int);
20 extern int      tty_echooff(int);
21
22 extern int      min(int, int);
23 extern int      max(int, int);
24
25 extern void     _perror(char *);
26 extern char     *_progname;
27
28 extern int      nap(int);
29
30 extern char     *setfields(char *);
31 extern int      getfields(char *, char **, int);
32 extern int      getmfields(char *, char **, int);
33
34
35 #ifdef __cplusplus
36 };
37 #endif
38
39 #endif /* __LIBV_H */