libv.h 716 B

123456789101112131415161718192021222324252627282930313233343536373839
  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. #ifdef __cplusplus
  8. extern "C" {
  9. #endif
  10. extern void srand(unsigned int);
  11. extern int rand(void);
  12. extern int nrand(int);
  13. extern long lrand(void);
  14. extern double frand(void);
  15. extern char *getpass(char *);
  16. extern int tty_echoon(int);
  17. extern int tty_echooff(int);
  18. extern int min(int, int);
  19. extern int max(int, int);
  20. extern void _perror(char *);
  21. extern char *_progname;
  22. extern int nap(int);
  23. extern char *setfields(char *);
  24. extern int getfields(char *, char **, int);
  25. extern int getmfields(char *, char **, int);
  26. #ifdef __cplusplus
  27. };
  28. #endif
  29. #endif /* __LIBV_H */