1/* 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_FTELLO 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 __ARGS((int, FILE *)); 29extern int _filbuf __ARGS((FILE *)); 30#endif 31 32#if !defined(HAVE_SELECT) 33struct pollfd; /* for poll __ARGS */ 34extern int poll __ARGS((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 76#endif 77 78#if defined(HAVE_SETJMP_H) 79# ifdef HAVE_SIGSETJMP 80# else 81# endif 82#endif 83 84 85#ifndef __TANDEM 86#endif 87#if defined(HAVE_GETCWD) && !defined(sun) && !defined(__TANDEM) 88#else 89#endif 90#ifndef __alpha /* suggested by Campbell */ 91#endif 92/* 93 * osdef2.h.in - See osdef1.h.in for a description. 94 */ 95 96 97#ifndef __TANDEM 98#endif 99 100#ifndef __TANDEM 101#endif 102#ifndef __TANDEM 103#endif 104#ifndef stat /* could be redefined to stat64() */ 105#endif 106#ifndef lstat /* could be redefined to lstat64() */ 107#endif 108#ifndef __TANDEM 109#endif 110 111 112 113#ifdef HAVE_TERMIOS_H 114#endif 115 116#ifdef HAVE_SYS_STATFS_H 117#endif 118 119#ifdef HAVE_GETTIMEOFDAY 120#endif 121 122#ifdef HAVE_GETPWNAM 123#endif 124 125#ifdef USE_TMPNAM 126#else 127#endif 128 129#ifdef ISC 130extern int _Xmblen __ARGS((char const *, size_t)); 131#else 132 /* This is different from the header but matches mblen() */ 133extern int _Xmblen __ARGS((char *, size_t)); 134#endif 135