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 *));
14 extern int gethostname
__ARGS((char *, int));
15 extern void perror
__ARGS((char *));
17 extern int sleep
__ARGS((int));
18 extern int usleep
__ARGS((unsigned int));
19 extern unsigned int alarm
__ARGS((unsigned int));
20 extern int chdir
__ARGS((char *));
21 extern int fchdir
__ARGS((int));
22 #ifndef stat /* could be redefined to stat64() */
23 extern int stat
__ARGS((const char *, struct stat
*));
25 #ifndef lstat /* could be redefined to lstat64() */
26 extern int lstat
__ARGS((const char *, struct stat
*));
28 extern int fstat
__ARGS((int, struct stat
*));
29 extern int open
__ARGS((const char *, int, ...));
30 extern int close
__ARGS((int));
31 extern int read
__ARGS((int, char *, size_t));
32 extern int write
__ARGS((int, char *, size_t));
33 extern int pipe
__ARGS((int *));
34 extern off_t lseek
__ARGS((int, off_t
, int));
35 extern void sync
__ARGS((void));
36 extern uid_t getuid
__ARGS((void));
37 extern gid_t getgid
__ARGS((void));
38 extern void qsort
__ARGS((void *, size_t, size_t, int (*)(const void *, const void *)));
40 extern int isatty
__ARGS((int));
41 extern int getpid
__ARGS((void));
42 extern int dup
__ARGS((int));
43 extern int unlink
__ARGS((const char *));
44 extern int link
__ARGS((const char *, const char *));
45 extern int mkdir
__ARGS((const char *, mode_t
));
46 extern int rmdir
__ARGS((const char *));
48 extern int tgetent
__ARGS((char *, char *));
49 extern int tgetnum
__ARGS((char *));
50 extern int tgetflag
__ARGS((char *));
51 extern char *tgoto
__ARGS((char *, int, int));
52 extern int tputs
__ARGS((char *, int, int (*)(int)));
55 struct termios
; /* for tcgetattr __ARGS */
56 extern int tcgetattr
__ARGS((int, struct termios
*));
57 extern int tcsetattr
__ARGS((int, int, const struct termios
*));
60 #ifdef HAVE_SYS_STATFS_H
61 struct statfs
; /* for fstatfs __ARGS */
62 extern int fstatfs
__ARGS((int, struct statfs
*, int, int));
65 #ifdef HAVE_GETTIMEOFDAY
66 struct timeval
; /* for gettimeofday __ARGS */
67 struct timezone
; /* for gettimeofday __ARGS */
68 extern int gettimeofday
__ARGS((struct timeval
*tp
, struct timezone
*tzp
));
69 extern time_t time
__ARGS((time_t *));
73 struct passwd
; /* for getpwnam __ARGS */
74 extern struct passwd
*getpwnam
__ARGS((const char *));
78 extern char *tmpnam
__ARGS((char *));
80 extern char *mktemp
__ARGS((char *));
84 extern int _Xmblen
__ARGS((char const *, size_t));
86 /* This is different from the header but matches mblen() */
87 extern int _Xmblen
__ARGS((char *, size_t));