annotate src/osdef2.h.in @ 7722:c4f8b1d48f20 v7.4.1159

commit https://github.com/vim/vim/commit/e240c2da796531e807ea9df78bdbcc7b1012870c Author: Bram Moolenaar <Bram@vim.org> Date: Sat Jan 23 22:46:10 2016 +0100 patch 7.4.1159 Problem: Automatically generated function prototypes use __ARGS. Solution: Remove __ARGS from osdef.sh.
author Christian Brabandt <cb@256bit.org>
date Sat, 23 Jan 2016 23:00:05 +0100
parents 17b9587ff6d5
children 9f3fd7937957
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
7722
c4f8b1d48f20 commit https://github.com/vim/vim/commit/e240c2da796531e807ea9df78bdbcc7b1012870c
Christian Brabandt <cb@256bit.org>
parents: 1076
diff changeset
5 extern int remove(const char *);
c4f8b1d48f20 commit https://github.com/vim/vim/commit/e240c2da796531e807ea9df78bdbcc7b1012870c
Christian Brabandt <cb@256bit.org>
parents: 1076
diff changeset
6 extern int rename(const char *, const char *);
c4f8b1d48f20 commit https://github.com/vim/vim/commit/e240c2da796531e807ea9df78bdbcc7b1012870c
Christian Brabandt <cb@256bit.org>
parents: 1076
diff changeset
7 extern int free(char *);
c4f8b1d48f20 commit https://github.com/vim/vim/commit/e240c2da796531e807ea9df78bdbcc7b1012870c
Christian Brabandt <cb@256bit.org>
parents: 1076
diff changeset
8 extern char *malloc(unsigned int);
c4f8b1d48f20 commit https://github.com/vim/vim/commit/e240c2da796531e807ea9df78bdbcc7b1012870c
Christian Brabandt <cb@256bit.org>
parents: 1076
diff changeset
9 extern char *realloc(char *, int);
c4f8b1d48f20 commit https://github.com/vim/vim/commit/e240c2da796531e807ea9df78bdbcc7b1012870c
Christian Brabandt <cb@256bit.org>
parents: 1076
diff changeset
10 extern char *getenv(char *);
c4f8b1d48f20 commit https://github.com/vim/vim/commit/e240c2da796531e807ea9df78bdbcc7b1012870c
Christian Brabandt <cb@256bit.org>
parents: 1076
diff changeset
11 extern int setenv(char *, char *, int);
c4f8b1d48f20 commit https://github.com/vim/vim/commit/e240c2da796531e807ea9df78bdbcc7b1012870c
Christian Brabandt <cb@256bit.org>
parents: 1076
diff changeset
12 extern int putenv(const char *);
7
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
7722
c4f8b1d48f20 commit https://github.com/vim/vim/commit/e240c2da796531e807ea9df78bdbcc7b1012870c
Christian Brabandt <cb@256bit.org>
parents: 1076
diff changeset
15 extern int gethostname(char *, int);
1076
17b9587ff6d5 updated for version 7.0-202
vimboss
parents: 7
diff changeset
16 #endif
7722
c4f8b1d48f20 commit https://github.com/vim/vim/commit/e240c2da796531e807ea9df78bdbcc7b1012870c
Christian Brabandt <cb@256bit.org>
parents: 1076
diff changeset
17 extern void perror(char *);
7
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
7722
c4f8b1d48f20 commit https://github.com/vim/vim/commit/e240c2da796531e807ea9df78bdbcc7b1012870c
Christian Brabandt <cb@256bit.org>
parents: 1076
diff changeset
20 extern int sleep(int);
1076
17b9587ff6d5 updated for version 7.0-202
vimboss
parents: 7
diff changeset
21 #endif
7722
c4f8b1d48f20 commit https://github.com/vim/vim/commit/e240c2da796531e807ea9df78bdbcc7b1012870c
Christian Brabandt <cb@256bit.org>
parents: 1076
diff changeset
22 extern int usleep(unsigned int);
c4f8b1d48f20 commit https://github.com/vim/vim/commit/e240c2da796531e807ea9df78bdbcc7b1012870c
Christian Brabandt <cb@256bit.org>
parents: 1076
diff changeset
23 extern unsigned int alarm(unsigned int);
1076
17b9587ff6d5 updated for version 7.0-202
vimboss
parents: 7
diff changeset
24 #ifndef __TANDEM
7722
c4f8b1d48f20 commit https://github.com/vim/vim/commit/e240c2da796531e807ea9df78bdbcc7b1012870c
Christian Brabandt <cb@256bit.org>
parents: 1076
diff changeset
25 extern int chdir(char *);
1076
17b9587ff6d5 updated for version 7.0-202
vimboss
parents: 7
diff changeset
26 #endif
7722
c4f8b1d48f20 commit https://github.com/vim/vim/commit/e240c2da796531e807ea9df78bdbcc7b1012870c
Christian Brabandt <cb@256bit.org>
parents: 1076
diff changeset
27 extern int fchdir(int);
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
28 #ifndef stat /* could be redefined to stat64() */
7722
c4f8b1d48f20 commit https://github.com/vim/vim/commit/e240c2da796531e807ea9df78bdbcc7b1012870c
Christian Brabandt <cb@256bit.org>
parents: 1076
diff changeset
29 extern int stat(const char *, struct stat *);
7
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() */
7722
c4f8b1d48f20 commit https://github.com/vim/vim/commit/e240c2da796531e807ea9df78bdbcc7b1012870c
Christian Brabandt <cb@256bit.org>
parents: 1076
diff changeset
32 extern int lstat(const char *, struct stat *);
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
33 #endif
7722
c4f8b1d48f20 commit https://github.com/vim/vim/commit/e240c2da796531e807ea9df78bdbcc7b1012870c
Christian Brabandt <cb@256bit.org>
parents: 1076
diff changeset
34 extern int fstat(int, struct stat *);
c4f8b1d48f20 commit https://github.com/vim/vim/commit/e240c2da796531e807ea9df78bdbcc7b1012870c
Christian Brabandt <cb@256bit.org>
parents: 1076
diff changeset
35 extern int open(const char *, int, ...);
c4f8b1d48f20 commit https://github.com/vim/vim/commit/e240c2da796531e807ea9df78bdbcc7b1012870c
Christian Brabandt <cb@256bit.org>
parents: 1076
diff changeset
36 extern int close(int);
1076
17b9587ff6d5 updated for version 7.0-202
vimboss
parents: 7
diff changeset
37 #ifndef __TANDEM
7722
c4f8b1d48f20 commit https://github.com/vim/vim/commit/e240c2da796531e807ea9df78bdbcc7b1012870c
Christian Brabandt <cb@256bit.org>
parents: 1076
diff changeset
38 extern int read(int, char *, size_t);
c4f8b1d48f20 commit https://github.com/vim/vim/commit/e240c2da796531e807ea9df78bdbcc7b1012870c
Christian Brabandt <cb@256bit.org>
parents: 1076
diff changeset
39 extern int write(int, char *, size_t);
1076
17b9587ff6d5 updated for version 7.0-202
vimboss
parents: 7
diff changeset
40 #endif
7722
c4f8b1d48f20 commit https://github.com/vim/vim/commit/e240c2da796531e807ea9df78bdbcc7b1012870c
Christian Brabandt <cb@256bit.org>
parents: 1076
diff changeset
41 extern int pipe(int *);
c4f8b1d48f20 commit https://github.com/vim/vim/commit/e240c2da796531e807ea9df78bdbcc7b1012870c
Christian Brabandt <cb@256bit.org>
parents: 1076
diff changeset
42 extern off_t lseek(int, off_t, int);
c4f8b1d48f20 commit https://github.com/vim/vim/commit/e240c2da796531e807ea9df78bdbcc7b1012870c
Christian Brabandt <cb@256bit.org>
parents: 1076
diff changeset
43 extern void sync(void);
c4f8b1d48f20 commit https://github.com/vim/vim/commit/e240c2da796531e807ea9df78bdbcc7b1012870c
Christian Brabandt <cb@256bit.org>
parents: 1076
diff changeset
44 extern uid_t getuid(void);
c4f8b1d48f20 commit https://github.com/vim/vim/commit/e240c2da796531e807ea9df78bdbcc7b1012870c
Christian Brabandt <cb@256bit.org>
parents: 1076
diff changeset
45 extern gid_t getgid(void);
c4f8b1d48f20 commit https://github.com/vim/vim/commit/e240c2da796531e807ea9df78bdbcc7b1012870c
Christian Brabandt <cb@256bit.org>
parents: 1076
diff changeset
46 extern void qsort(void *, size_t, size_t, int (*)(const void *, const void *));
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
47
7722
c4f8b1d48f20 commit https://github.com/vim/vim/commit/e240c2da796531e807ea9df78bdbcc7b1012870c
Christian Brabandt <cb@256bit.org>
parents: 1076
diff changeset
48 extern int isatty(int);
c4f8b1d48f20 commit https://github.com/vim/vim/commit/e240c2da796531e807ea9df78bdbcc7b1012870c
Christian Brabandt <cb@256bit.org>
parents: 1076
diff changeset
49 extern int getpid(void);
c4f8b1d48f20 commit https://github.com/vim/vim/commit/e240c2da796531e807ea9df78bdbcc7b1012870c
Christian Brabandt <cb@256bit.org>
parents: 1076
diff changeset
50 extern int dup(int);
c4f8b1d48f20 commit https://github.com/vim/vim/commit/e240c2da796531e807ea9df78bdbcc7b1012870c
Christian Brabandt <cb@256bit.org>
parents: 1076
diff changeset
51 extern int unlink(const char *);
c4f8b1d48f20 commit https://github.com/vim/vim/commit/e240c2da796531e807ea9df78bdbcc7b1012870c
Christian Brabandt <cb@256bit.org>
parents: 1076
diff changeset
52 extern int link(const char *, const char *);
c4f8b1d48f20 commit https://github.com/vim/vim/commit/e240c2da796531e807ea9df78bdbcc7b1012870c
Christian Brabandt <cb@256bit.org>
parents: 1076
diff changeset
53 extern int mkdir(const char *, mode_t);
c4f8b1d48f20 commit https://github.com/vim/vim/commit/e240c2da796531e807ea9df78bdbcc7b1012870c
Christian Brabandt <cb@256bit.org>
parents: 1076
diff changeset
54 extern int rmdir(const char *);
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
55
7722
c4f8b1d48f20 commit https://github.com/vim/vim/commit/e240c2da796531e807ea9df78bdbcc7b1012870c
Christian Brabandt <cb@256bit.org>
parents: 1076
diff changeset
56 extern int tgetent(char *, char *);
c4f8b1d48f20 commit https://github.com/vim/vim/commit/e240c2da796531e807ea9df78bdbcc7b1012870c
Christian Brabandt <cb@256bit.org>
parents: 1076
diff changeset
57 extern int tgetnum(char *);
c4f8b1d48f20 commit https://github.com/vim/vim/commit/e240c2da796531e807ea9df78bdbcc7b1012870c
Christian Brabandt <cb@256bit.org>
parents: 1076
diff changeset
58 extern int tgetflag(char *);
c4f8b1d48f20 commit https://github.com/vim/vim/commit/e240c2da796531e807ea9df78bdbcc7b1012870c
Christian Brabandt <cb@256bit.org>
parents: 1076
diff changeset
59 extern char *tgoto(char *, int, int);
c4f8b1d48f20 commit https://github.com/vim/vim/commit/e240c2da796531e807ea9df78bdbcc7b1012870c
Christian Brabandt <cb@256bit.org>
parents: 1076
diff changeset
60 extern int tputs(char *, int, int (*)(int));
7
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
7722
c4f8b1d48f20 commit https://github.com/vim/vim/commit/e240c2da796531e807ea9df78bdbcc7b1012870c
Christian Brabandt <cb@256bit.org>
parents: 1076
diff changeset
63 struct termios; /* for tcgetattr() */
c4f8b1d48f20 commit https://github.com/vim/vim/commit/e240c2da796531e807ea9df78bdbcc7b1012870c
Christian Brabandt <cb@256bit.org>
parents: 1076
diff changeset
64 extern int tcgetattr(int, struct termios *);
c4f8b1d48f20 commit https://github.com/vim/vim/commit/e240c2da796531e807ea9df78bdbcc7b1012870c
Christian Brabandt <cb@256bit.org>
parents: 1076
diff changeset
65 extern int tcsetattr(int, int, const struct termios *);
7
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
7722
c4f8b1d48f20 commit https://github.com/vim/vim/commit/e240c2da796531e807ea9df78bdbcc7b1012870c
Christian Brabandt <cb@256bit.org>
parents: 1076
diff changeset
69 struct statfs; /* for fstatfs() */
c4f8b1d48f20 commit https://github.com/vim/vim/commit/e240c2da796531e807ea9df78bdbcc7b1012870c
Christian Brabandt <cb@256bit.org>
parents: 1076
diff changeset
70 extern int fstatfs(int, struct statfs *, int, int);
7
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
7722
c4f8b1d48f20 commit https://github.com/vim/vim/commit/e240c2da796531e807ea9df78bdbcc7b1012870c
Christian Brabandt <cb@256bit.org>
parents: 1076
diff changeset
74 struct timeval; /* for gettimeofday() */
c4f8b1d48f20 commit https://github.com/vim/vim/commit/e240c2da796531e807ea9df78bdbcc7b1012870c
Christian Brabandt <cb@256bit.org>
parents: 1076
diff changeset
75 struct timezone; /* for gettimeofday() */
c4f8b1d48f20 commit https://github.com/vim/vim/commit/e240c2da796531e807ea9df78bdbcc7b1012870c
Christian Brabandt <cb@256bit.org>
parents: 1076
diff changeset
76 extern int gettimeofday(struct timeval *tp, struct timezone *tzp);
c4f8b1d48f20 commit https://github.com/vim/vim/commit/e240c2da796531e807ea9df78bdbcc7b1012870c
Christian Brabandt <cb@256bit.org>
parents: 1076
diff changeset
77 extern time_t time(time_t *);
7
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
7722
c4f8b1d48f20 commit https://github.com/vim/vim/commit/e240c2da796531e807ea9df78bdbcc7b1012870c
Christian Brabandt <cb@256bit.org>
parents: 1076
diff changeset
81 struct passwd; /* for getpwnam() */
c4f8b1d48f20 commit https://github.com/vim/vim/commit/e240c2da796531e807ea9df78bdbcc7b1012870c
Christian Brabandt <cb@256bit.org>
parents: 1076
diff changeset
82 extern struct passwd *getpwnam(const char *);
7
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
7722
c4f8b1d48f20 commit https://github.com/vim/vim/commit/e240c2da796531e807ea9df78bdbcc7b1012870c
Christian Brabandt <cb@256bit.org>
parents: 1076
diff changeset
86 extern char *tmpnam(char *);
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
87 #else
7722
c4f8b1d48f20 commit https://github.com/vim/vim/commit/e240c2da796531e807ea9df78bdbcc7b1012870c
Christian Brabandt <cb@256bit.org>
parents: 1076
diff changeset
88 extern char *mktemp(char *);
7
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
7722
c4f8b1d48f20 commit https://github.com/vim/vim/commit/e240c2da796531e807ea9df78bdbcc7b1012870c
Christian Brabandt <cb@256bit.org>
parents: 1076
diff changeset
92 extern int _Xmblen(char const *, size_t);
7
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() */
7722
c4f8b1d48f20 commit https://github.com/vim/vim/commit/e240c2da796531e807ea9df78bdbcc7b1012870c
Christian Brabandt <cb@256bit.org>
parents: 1076
diff changeset
95 extern int _Xmblen(char *, size_t);
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
96 #endif