blob: 0d21011121c2d51faf769d46d9854c7d4937d49c [file] [log] [blame]
Luca Stefani5662caa2016-11-23 23:49:14 +01001/*
2 * osdef.h is automagically created from osdef?.h.in by osdef.sh -- DO NOT EDIT
3 */
4/* autoconf cannot fiddle out declarations. Use our homebrewn tools. (jw) */
5/*
6 * Declarations that may cause conflicts belong here so that osdef.sh
7 * can clean out the forest. Everything else belongs in os_unix.h
8 *
9 * How this works:
10 * - This file contains all unix prototypes that Vim might need.
11 * - The shell script osdef.sh is executed at compile time to remove all the
12 * prototypes that are in an include file. This results in osdef.h.
13 * - osdef.h is included in vim.h.
14 *
15 * sed cannot always handle so many commands, this is file 1 of 2
16 */
17
18#ifndef fopen /* could be redefined to fopen64() */
19#endif
20#ifdef HAVE_FSEEKO
21#endif
22#ifdef HAVE_FSEEKO
23#endif
24#ifndef ferror /* let me say it again: "macros should never have prototypes" */
25#endif
26#if defined(sun) || defined(_SEQUENT_)
27/* used inside of stdio macros getc(), puts(), putchar()... */
28extern int _flsbuf(int, FILE *);
29extern int _filbuf(FILE *);
30#endif
31
32#if !defined(HAVE_SELECT)
33struct pollfd; /* for poll() */
34extern int poll(struct pollfd *, long, int);
35#endif
36
37#ifdef HAVE_MEMSET
38#endif
39#ifdef HAVE_BCMP
40#endif
41#ifdef HAVE_MEMCMP
42#endif
43#ifdef HAVE_STRPBRK
44#endif
45#ifdef USEBCOPY
46#else
47# ifdef USEMEMCPY
48# else
49# ifdef USEMEMMOVE
50# endif
51# endif
52#endif
53/* used inside of FD_ZERO macro: */
54#ifdef HAVE_SETSID
55#endif
56#ifdef HAVE_SETPGID
57#endif
58#ifdef HAVE_STRTOL
59#endif
60#ifdef HAVE_STRFTIME
61#endif
62#ifdef HAVE_STRCASECMP
63#endif
64#ifdef HAVE_STRNCASECMP
65#endif
66#ifndef strdup
67#endif
68
69#ifndef USE_SYSTEM
70# ifndef __TANDEM
71# endif
72#endif
73
74
75#ifdef HAVE_SIGSET
76extern RETSIGTYPE (*sigset(int, RETSIGTYPE (*func) SIGPROTOARG)) SIGPROTOARG;
77#endif
78
79#if defined(HAVE_SETJMP_H)
80# ifdef HAVE_SIGSETJMP
81extern int sigsetjmp(sigjmp_buf, int);
82# else
83# endif
84#endif
85
86
87#ifndef __TANDEM
88#endif
89#if defined(HAVE_GETCWD) && !defined(sun) && !defined(__TANDEM)
90#else
91#endif
92#ifndef __alpha /* suggested by Campbell */
93#endif
94/*
95 * osdef2.h.in - See osdef1.h.in for a description.
96 */
97
98
99#ifndef __TANDEM
100#endif
101
102#ifndef __TANDEM
103#endif
104#ifndef __TANDEM
105#endif
106#ifndef stat /* could be redefined to stat64() */
107#endif
108#ifndef lstat /* could be redefined to lstat64() */
109#endif
110#ifndef __TANDEM
111#endif
112
113
114
115#ifdef HAVE_TERMIOS_H
116#endif
117
118#ifdef HAVE_SYS_STATFS_H
119#endif
120
121#ifdef HAVE_GETTIMEOFDAY
122#endif
123
124#ifdef HAVE_GETPWNAM
125#endif
126
127#ifdef USE_TMPNAM
128#else
129#endif
130
131#ifdef ISC
132extern int _Xmblen(char const *, size_t);
133#else
134 /* This is different from the header but matches mblen() */
135extern int _Xmblen(char *, size_t);
136#endif