annotate src/osdef2.h.in @ 6260:74c65620c985 v7.4.464

updated for version 7.4.464 Problem: Compiler warning. Solution: Add type cast. (Ken Takata)
author Bram Moolenaar <bram@vim.org>
date Mon, 06 Oct 2014 18:10:09 +0200
parents 17b9587ff6d5
children c4f8b1d48f20
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1 /*
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2 * osdef2.h.in - See osdef1.h.in for a description.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
3 */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
4
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
5 extern int remove __ARGS((const char *));
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
6 extern int rename __ARGS((const char *, const char *));
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
7 extern int free __ARGS((char *));
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
8 extern char *malloc __ARGS((unsigned int));
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
9 extern char *realloc __ARGS((char *, int));
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
10 extern char *getenv __ARGS((char *));
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
11 extern int setenv __ARGS((char *, char *, int));
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
12 extern int putenv __ARGS((const char *));
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
13
1076
17b9587ff6d5 updated for version 7.0-202
vimboss
parents: 7
diff changeset
14 #ifndef __TANDEM
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
15 extern int gethostname __ARGS((char *, int));
1076
17b9587ff6d5 updated for version 7.0-202
vimboss
parents: 7
diff changeset
16 #endif
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
17 extern void perror __ARGS((char *));
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
18
1076
17b9587ff6d5 updated for version 7.0-202
vimboss
parents: 7
diff changeset
19 #ifndef __TANDEM
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
20 extern int sleep __ARGS((int));
1076
17b9587ff6d5 updated for version 7.0-202
vimboss
parents: 7
diff changeset
21 #endif
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
22 extern int usleep __ARGS((unsigned int));
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
23 extern unsigned int alarm __ARGS((unsigned int));
1076
17b9587ff6d5 updated for version 7.0-202
vimboss
parents: 7
diff changeset
24 #ifndef __TANDEM
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
25 extern int chdir __ARGS((char *));
1076
17b9587ff6d5 updated for version 7.0-202
vimboss
parents: 7
diff changeset
26 #endif
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
27 extern int fchdir __ARGS((int));
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
28 #ifndef stat /* could be redefined to stat64() */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
29 extern int stat __ARGS((const char *, struct stat *));
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
30 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
31 #ifndef lstat /* could be redefined to lstat64() */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
32 extern int lstat __ARGS((const char *, struct stat *));
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
33 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
34 extern int fstat __ARGS((int, struct stat *));
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
35 extern int open __ARGS((const char *, int, ...));
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
36 extern int close __ARGS((int));
1076
17b9587ff6d5 updated for version 7.0-202
vimboss
parents: 7
diff changeset
37 #ifndef __TANDEM
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
38 extern int read __ARGS((int, char *, size_t));
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
39 extern int write __ARGS((int, char *, size_t));
1076
17b9587ff6d5 updated for version 7.0-202
vimboss
parents: 7
diff changeset
40 #endif
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
41 extern int pipe __ARGS((int *));
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
42 extern off_t lseek __ARGS((int, off_t, int));
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
43 extern void sync __ARGS((void));
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
44 extern uid_t getuid __ARGS((void));
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
45 extern gid_t getgid __ARGS((void));
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
46 extern void qsort __ARGS((void *, size_t, size_t, int (*)(const void *, const void *)));
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
47
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
48 extern int isatty __ARGS((int));
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
49 extern int getpid __ARGS((void));
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
50 extern int dup __ARGS((int));
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
51 extern int unlink __ARGS((const char *));
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
52 extern int link __ARGS((const char *, const char *));
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
53 extern int mkdir __ARGS((const char *, mode_t));
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
54 extern int rmdir __ARGS((const char *));
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
55
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
56 extern int tgetent __ARGS((char *, char *));
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
57 extern int tgetnum __ARGS((char *));
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
58 extern int tgetflag __ARGS((char *));
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
59 extern char *tgoto __ARGS((char *, int, int));
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
60 extern int tputs __ARGS((char *, int, int (*)(int)));
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
61
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
62 #ifdef HAVE_TERMIOS_H
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
63 struct termios; /* for tcgetattr __ARGS */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
64 extern int tcgetattr __ARGS((int, struct termios *));
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
65 extern int tcsetattr __ARGS((int, int, const struct termios *));
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
66 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
67
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
68 #ifdef HAVE_SYS_STATFS_H
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
69 struct statfs; /* for fstatfs __ARGS */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
70 extern int fstatfs __ARGS((int, struct statfs *, int, int));
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
71 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
72
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
73 #ifdef HAVE_GETTIMEOFDAY
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
74 struct timeval; /* for gettimeofday __ARGS */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
75 struct timezone; /* for gettimeofday __ARGS */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
76 extern int gettimeofday __ARGS((struct timeval *tp, struct timezone *tzp));
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
77 extern time_t time __ARGS((time_t *));
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
78 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
79
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
80 #ifdef HAVE_GETPWNAM
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
81 struct passwd; /* for getpwnam __ARGS */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
82 extern struct passwd *getpwnam __ARGS((const char *));
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
83 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
84
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
85 #ifdef USE_TMPNAM
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
86 extern char *tmpnam __ARGS((char *));
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
87 #else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
88 extern char *mktemp __ARGS((char *));
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
89 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
90
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
91 #ifdef ISC
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
92 extern int _Xmblen __ARGS((char const *, size_t));
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
93 #else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
94 /* This is different from the header but matches mblen() */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
95 extern int _Xmblen __ARGS((char *, size_t));
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
96 #endif