1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
|
/* $OpenBSD: osdef.h,v 1.1 1996/09/07 21:40:27 downsj Exp $ */
/*
* osdef.h is automagically created from osdef?.h.in by osdef.sh -- DO NOT EDIT
*/
/* autoconf cannot fiddle out declarations. Use our homebrewn tools. (jw) */
/*
* Declarations that may cause conflicts belong here so that osdef.sh
* can clean out the forest. Everything else belongs in unix.h
*
* How this works:
* - This file contains all unix prototypes that Vim might need.
* - The shell script osdef.sh is executed at compile time to remove all the
* prototypes that are in an include file. This results in osdef.h.
* - osdef.h is included in vim.h.
*
* sed cannot always handle so many commands, this is file 1 of 2
*/
#ifndef ferror /* let me say it again: "macros should never have prototypes" */
#endif
#if defined(sun) || defined(_SEQUENT_)
/* used inside of stdio macros getc(), puts(), putchar()... */
extern int _flsbuf __ARGS((int, FILE *));
extern int _filbuf __ARGS((FILE *));
#endif
#if !defined(HAVE_SELECT)
struct pollfd; /* for poll __ARGS */
extern int poll __ARGS((struct pollfd *, long, int));
#endif
#ifdef HAVE_MEMSET
#endif
#ifdef HAVE_STRCSPN
#endif
#ifdef USEBCOPY
#else
# ifdef USEMEMCPY
# else
# ifdef USEMEMMOVE
# endif
# endif
#endif
/* used inside of FDZERO macro: */
#ifdef HAVE_STRTOL
#endif
#ifndef USE_SYSTEM
#endif
#ifdef HAVE_SIGSET
extern RETSIGTYPE (*sigset __ARGS((int, RETSIGTYPE (*func) SIGPROTOARG))) __PARMS(SIGPROTOARG);
#endif
#if defined(HAVE_GETCWD) && !defined(sun)
#else
#endif
extern int tgetent __ARGS((char *, char *));
extern int tgetnum __ARGS((char *));
extern int tgetflag __ARGS((char *));
extern char *tgoto __ARGS((char *, int, int));
extern int tputs __ARGS((char *, int, int (*)(int)));
#ifdef HAVE_TERMIOS_H
#endif
#ifdef HAVE_SYS_STATFS_H
struct statfs; /* for fstatfs __ARGS */
extern int fstatfs __ARGS((int, struct statfs *, int, int));
#endif
#ifdef HAVE_GETTIMEOFDAY
#endif
#ifdef HAVE_GETPWNAM
#endif
|