diff options
author | Jason Downs <downsj@cvs.openbsd.org> | 1996-09-07 21:40:33 +0000 |
---|---|---|
committer | Jason Downs <downsj@cvs.openbsd.org> | 1996-09-07 21:40:33 +0000 |
commit | c224fc199c25dd257673c273eb344786b9bf532c (patch) | |
tree | 8f8ed1297120c537480d9e5d46bfe7452bd8505b /usr.bin/vim/osdef.h | |
parent | d0d91e2d3d6569e4defdd5178241f28fa678d753 (diff) |
Initial import of vim 4.2.
This is meant to replace nvi in the tree. Vim, in general, works better,
provides more features, and does not suffer from the license problems
being imposed upon nvi.
On the other hand, vim lacks a non-visual ex mode, in addition to open mode.
This includes the GUI (X11) code, but doesn't try to compile it.
Diffstat (limited to 'usr.bin/vim/osdef.h')
-rw-r--r-- | usr.bin/vim/osdef.h | 82 |
1 files changed, 82 insertions, 0 deletions
diff --git a/usr.bin/vim/osdef.h b/usr.bin/vim/osdef.h new file mode 100644 index 00000000000..c7872728e7f --- /dev/null +++ b/usr.bin/vim/osdef.h @@ -0,0 +1,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 |