Mercurial > vim
annotate src/osdef2.h.in @ 9309:178252c6850e v7.4.1937
commit https://github.com/vim/vim/commit/ab47c61f46f0797308217cd3c045472cb0ec3195
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Jun 14 22:02:26 2016 +0200
patch 7.4.1937
Problem: No test for directory stack in quickfix.
Solution: Add a test. (Yegappan Lakshmanan)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Tue, 14 Jun 2016 22:15:08 +0200 |
parents | c4f8b1d48f20 |
children | 9f3fd7937957 |
rev | line source |
---|---|
7 | 1 /* |
2 * osdef2.h.in - See osdef1.h.in for a description. | |
3 */ | |
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 | 13 |
1076 | 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 | 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 | 18 |
1076 | 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 | 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 | 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 | 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 | 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 | 30 #endif |
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 | 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 | 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 | 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 | 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 | 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 | 61 |
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 | 66 #endif |
67 | |
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 | 71 #endif |
72 | |
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 | 78 #endif |
79 | |
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 | 83 #endif |
84 | |
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 | 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 | 89 #endif |
90 | |
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 | 93 #else |
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 | 96 #endif |