2 * osdef2.h.in - See osdef1.h.in for a description.
5 extern int remove
__ARGS((const char *));
6 extern int rename
__ARGS((const char *, const char *));
7 extern int free
__ARGS((char *));
8 extern char *malloc
__ARGS((unsigned int));
9 extern char *realloc
__ARGS((char *, int));
10 extern char *getenv
__ARGS((char *));
11 extern int setenv
__ARGS((char *, char *, int));
12 extern int putenv
__ARGS((const char *));
15 extern int gethostname
__ARGS((char *, int));
17 extern void perror
__ARGS((char *));
20 extern int sleep
__ARGS((int));
22 extern int usleep
__ARGS((unsigned int));
23 extern unsigned int alarm
__ARGS((unsigned int));
25 extern int chdir
__ARGS((char *));
27 extern int fchdir
__ARGS((int));
28 #ifndef stat /* could be redefined to stat64() */
29 extern int stat
__ARGS((const char *, struct stat
*));
31 #ifndef lstat /* could be redefined to lstat64() */
32 extern int lstat
__ARGS((const char *, struct stat
*));
34 extern int fstat
__ARGS((int, struct stat
*));
35 extern int open
__ARGS((const char *, int, ...));
36 extern int close
__ARGS((int));
38 extern int read
__ARGS((int, char *, size_t));
39 extern int write
__ARGS((int, char *, size_t));
41 extern int pipe
__ARGS((int *));
42 extern off_t lseek
__ARGS((int, off_t
, int));
43 extern void sync
__ARGS((void));
44 extern uid_t getuid
__ARGS((void));
45 extern gid_t getgid
__ARGS((void));
46 extern void qsort
__ARGS((void *, size_t, size_t, int (*)(const void *, const void *)));
48 extern int isatty
__ARGS((int));
49 extern int getpid
__ARGS((void));
50 extern int dup
__ARGS((int));
51 extern int unlink
__ARGS((const char *));
52 extern int link
__ARGS((const char *, const char *));
53 extern int mkdir
__ARGS((const char *, mode_t
));
54 extern int rmdir
__ARGS((const char *));
56 extern int tgetent
__ARGS((char *, char *));
57 extern int tgetnum
__ARGS((char *));
58 extern int tgetflag
__ARGS((char *));
59 extern char *tgoto
__ARGS((char *, int, int));
60 extern int tputs
__ARGS((char *, int, int (*)(int)));
63 struct termios
; /* for tcgetattr __ARGS */
64 extern int tcgetattr
__ARGS((int, struct termios
*));
65 extern int tcsetattr
__ARGS((int, int, const struct termios
*));
68 #ifdef HAVE_SYS_STATFS_H
69 struct statfs
; /* for fstatfs __ARGS */
70 extern int fstatfs
__ARGS((int, struct statfs
*, int, int));
73 #ifdef HAVE_GETTIMEOFDAY
74 struct timeval
; /* for gettimeofday __ARGS */
75 struct timezone
; /* for gettimeofday __ARGS */
76 extern int gettimeofday
__ARGS((struct timeval
*tp
, struct timezone
*tzp
));
77 extern time_t time
__ARGS((time_t *));
81 struct passwd
; /* for getpwnam __ARGS */
82 extern struct passwd
*getpwnam
__ARGS((const char *));
86 extern char *tmpnam
__ARGS((char *));
88 extern char *mktemp
__ARGS((char *));
92 extern int _Xmblen
__ARGS((char const *, size_t));
94 /* This is different from the header but matches mblen() */
95 extern int _Xmblen
__ARGS((char *, size_t));