⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 xtdio.h

📁 Porting the Simple Sockets Library Dr. Charles E. Campbell, Jr.
💻 H
字号:
/* xtdio.h: */#ifndef XTDIO_H#define XTDIO_H/* --------------------------------------------------------------------- */#ifdef sgi# include <strings.h># include <stdlib.h># include <stdarg.h>#endif#ifdef apollo# include <string.h># include <stdarg.h># include <stdlib.h>#endif#ifdef ultrix# include <strings.h># include "xstdlib.h"# include <varargs.h>#endif#ifdef sun# include <string.h># ifdef __STDC__#  include <stdlib.h>#  include <stdarg.h># else#  include "xstdlib.h"#  include "varargs.h"# endif#endif#ifdef vms# include <string.h># include <stdlib.h># include <stdarg.h>#endif#ifdef MSDOS# include <string.h># include <stdlib.h># include <stdarg.h>#endif#ifdef __WIN32__# include <string.h># include <stdlib.h># include <stdarg.h>#endif#ifdef _AIX# include <string.h># include <stdarg.h># include <stdlib.h>#endif/* SCO Unix */#if defined(M_I386) && defined(M_SYSV)# include <stdlib.h># include <stdarg.h>#endif#ifdef __osf__# include <strings.h># include <stdlib.h># include <stdarg.h>#endif#ifdef __linux__# include <strings.h># include <stdlib.h># include <stdio.h># include <stdarg.h>#endif#include "rdcolor.h"#include "setproto.h"/* --------------------------------------------------------------------- * Definitions: */#define XTDIO_SEVERE     0#define XTDIO_ERROR      1#define XTDIO_WARNING    2#define XTDIO_NOTE       3/* if your compiler supports prototyping, but does *not* support the keyword * "const", then move the following line out of this comment#define const *//* --------------------------------------------------------------------- * Typedefs: *//* --------------------------------------------------------------------- * Global Variables: */#ifdef __PROTOTYPE__extern void (*error_exit)(int);#elseextern void (*error_exit)();#endif/* --------------------------------------------------------------------- * Prototypes: */# ifdef __PROTOTYPE__char *cprt(const char);                                /* cprt.c          */void error(int, char *, ...);                          /* error.c         */FILE *fopenv(char *, char *, char *);                  /* fopenv.c        */void outofmem(void *, char *, ...);                    /* outofmem.c      */void rdcolor(void);                                    /* rdcolor.c       */void rdcputs(char *, FILE *);                          /* rdcolor.c       */char *sprt(const char *);                              /* sprt.c          */void srmtrblk(char *);                                 /* srmtrblk.c      */char *stpblk(char *);                                  /* stpblk.c        */char *stpnxt(char *, char *);                          /* stpnxt.c        */char *strnxtfmt(char *);                               /* strnxtfmt.c     */# else	/* __PROTOTYPE__ */extern char *cprt();                                   /* cprt.c          */extern char *stpnxt();                                 /* stpnxt.c        */extern char *stpblk();                                 /* stpblk.c        */extern FILE *fopenv();                                 /* fopenv.c        */extern char *sprt();                                   /* sprt.c          */extern char *strnxtfmt();                              /* strnxtfmt.c     */# endif	/* __PROTOTYPE__ */#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -