📄 config.h
字号:
/* Direntry_t: * This symbol is set to 'struct direct' or 'struct dirent' depending on * whether dirent is available or not. You should use this pseudo type to * portably declare your directory entries. */#define I_DIRENT /**/#define DIRNAMLEN /**/#define Direntry_t struct direct/* I_DLFCN: * This symbol, if defined, indicates that <dlfcn.h> exists and should * be included. */#define I_DLFCN /**//* I_FCNTL: * This manifest constant tells the C program to include <fcntl.h>. */#define I_FCNTL /**//* I_FLOAT: * This symbol, if defined, indicates to the C program that it should * include <float.h> to get definition of symbols like DBL_MAX or * DBL_MIN, i.e. machine dependent floating point values. */#define I_FLOAT /**//* I_GRP: * This symbol, if defined, indicates to the C program that it should * include <grp.h>. *//* GRPASSWD: * This symbol, if defined, indicates to the C program that struct group * contains gr_passwd. *//* HAS_SETGRENT: * This symbol, if defined, indicates that the getgrent routine is * available for initializing sequential access of the group database. *//* HAS_GETGRENT: * This symbol, if defined, indicates that the getgrent routine is * available for sequential access of the group database. *//* HAS_ENDGRENT: * This symbol, if defined, indicates that the getgrent routine is * available for finalizing sequential access of the group database. *//*#define I_GRP /**//*#define GRPASSWD /**//*#define HAS_SETGRENT /**//*#define HAS_GETGRENT /**//*#define HAS_ENDGRENT /**//* I_LIMITS: * This symbol, if defined, indicates to the C program that it should * include <limits.h> to get definition of symbols like WORD_BIT or * LONG_MAX, i.e. machine dependant limitations. */#define I_LIMITS /**//* I_LOCALE: * This symbol, if defined, indicates to the C program that it should * include <locale.h>. */#define I_LOCALE /**//* I_MATH: * This symbol, if defined, indicates to the C program that it should * include <math.h>. */#define I_MATH /**//* I_MEMORY: * This symbol, if defined, indicates to the C program that it should * include <memory.h>. *//*#define I_MEMORY /**//* I_NDBM: * This symbol, if defined, indicates that <ndbm.h> exists and should * be included. *//*#define I_NDBM /**//* I_NET_ERRNO: * This symbol, if defined, indicates that <net/errno.h> exists and * should be included. *//*#define I_NET_ERRNO /**//* I_NETINET_IN: * This symbol, if defined, indicates to the C program that it should * include <netinet/in.h>. Otherwise, you may try <sys/in.h>. *//*#define I_NETINET_IN /**//* I_SFIO: * This symbol, if defined, indicates to the C program that it should * include <sfio.h>. *//*#define I_SFIO /**//* I_STDDEF: * This symbol, if defined, indicates that <stddef.h> exists and should * be included. */#define I_STDDEF /**//* I_STDLIB: * This symbol, if defined, indicates that <stdlib.h> exists and should * be included. */#define I_STDLIB /**//* I_STRING: * This symbol, if defined, indicates to the C program that it should * include <string.h> (USG systems) instead of <strings.h> (BSD systems). */#define I_STRING /**//* I_SYS_DIR: * This symbol, if defined, indicates to the C program that it should * include <sys/dir.h>. *//*#define I_SYS_DIR /**//* I_SYS_FILE: * This symbol, if defined, indicates to the C program that it should * include <sys/file.h> to get definition of R_OK and friends. *//*#define I_SYS_FILE /**//* I_SYS_IOCTL: * This symbol, if defined, indicates that <sys/ioctl.h> exists and should * be included. Otherwise, include <sgtty.h> or <termio.h>. *//*#define I_SYS_IOCTL /**//* I_SYS_NDIR: * This symbol, if defined, indicates to the C program that it should * include <sys/ndir.h>. *//*#define I_SYS_NDIR /**//* I_SYS_PARAM: * This symbol, if defined, indicates to the C program that it should * include <sys/param.h>. *//*#define I_SYS_PARAM /**//* I_SYS_RESOURCE: * This symbol, if defined, indicates to the C program that it should * include <sys/resource.h>. *//*#define I_SYS_RESOURCE /**//* I_SYS_SELECT: * This symbol, if defined, indicates to the C program that it should * include <sys/select.h> in order to get definition of struct timeval. *//*#define I_SYS_SELECT /**//* I_SYS_STAT: * This symbol, if defined, indicates to the C program that it should * include <sys/stat.h>. */#define I_SYS_STAT /**//* I_SYS_TIMES: * This symbol, if defined, indicates to the C program that it should * include <sys/times.h>. *//*#define I_SYS_TIMES /**//* I_SYS_TYPES: * This symbol, if defined, indicates to the C program that it should * include <sys/types.h>. */#define I_SYS_TYPES /**//* I_SYS_UN: * This symbol, if defined, indicates to the C program that it should * include <sys/un.h> to get UNIX domain socket definitions. *//*#define I_SYS_UN /**//* I_SYS_WAIT: * This symbol, if defined, indicates to the C program that it should * include <sys/wait.h>. *//*#define I_SYS_WAIT /**//* I_TERMIO: * This symbol, if defined, indicates that the program should include * <termio.h> rather than <sgtty.h>. There are also differences in * the ioctl() calls that depend on the value of this symbol. *//* I_TERMIOS: * This symbol, if defined, indicates that the program should include * the POSIX termios.h rather than sgtty.h or termio.h. * There are also differences in the ioctl() calls that depend on the * value of this symbol. *//* I_SGTTY: * This symbol, if defined, indicates that the program should include * <sgtty.h> rather than <termio.h>. There are also differences in * the ioctl() calls that depend on the value of this symbol. *//*#define I_TERMIO /**//*#define I_TERMIOS /**//*#define I_SGTTY /**//* I_UNISTD: * This symbol, if defined, indicates to the C program that it should * include <unistd.h>. *//*#define I_UNISTD /**//* I_UTIME: * This symbol, if defined, indicates to the C program that it should * include <utime.h>. */#define I_UTIME /**//* I_VALUES: * This symbol, if defined, indicates to the C program that it should * include <values.h> to get definition of symbols like MINFLOAT or * MAXLONG, i.e. machine dependant limitations. Probably, you * should use <limits.h> instead, if it is available. *//*#define I_VALUES /**//* I_STDARG: * This symbol, if defined, indicates that <stdarg.h> exists and should * be included. *//* I_VARARGS: * This symbol, if defined, indicates to the C program that it should * include <varargs.h>. */#define I_STDARG /**//*#define I_VARARGS /**//* I_VFORK: * This symbol, if defined, indicates to the C program that it should * include vfork.h. *//*#define I_VFORK /**//* CAN_PROTOTYPE: * If defined, this macro indicates that the C compiler can handle * function prototypes. *//* _: * This macro is used to declare function parameters for folks who want * to make declarations with prototypes using a different style than * the above macros. Use double parentheses. For example: * * int main _((int argc, char *argv[])); */#define CAN_PROTOTYPE /**/#ifdef CAN_PROTOTYPE#define _(args) args#else#define _(args) ()#endif/* SH_PATH: * This symbol contains the full pathname to the shell used on this * on this system to execute Bourne shell scripts. Usually, this will be * /bin/sh, though it's possible that some systems will have /bin/ksh, * /bin/pdksh, /bin/ash, /bin/bash, or even something such as * D:/bin/sh.exe. */#define SH_PATH "cmd /x /c" /**//* STDCHAR: * This symbol is defined to be the type of char used in stdio.h. * It has the values "unsigned char" or "char". */#define STDCHAR char /**//* MEM_ALIGNBYTES: * This symbol contains the number of bytes required to align a * double. Usual values are 2, 4 and 8. * On NeXT starting with 3.2, you can build "Fat" Multiple Architecture * Binaries (MAB) for targets with varying alignment. This only matters * for perl, where the config.h can be generated and installed on one * system, and used by a different architecture to build an extension. * The default is eight, for safety. */#define MEM_ALIGNBYTES 8 /**//* BYTEORDER: * This symbol holds the hexadecimal constant defined in byteorder, * i.e. 0x1234 or 0x4321, etc... * On NeXT 3.2 (and greater), you can build "Fat" Multiple Architecture * Binaries (MAB) on either big endian or little endian machines. * The endian-ness is available at compile-time. This only matters * for perl, where the config.h can be generated and installed on * one system, and used by a different architecture to build an * extension. Older versions of NeXT that might not have * defined either *_ENDIAN__ were all on Motorola 680x0 series, * so the default case (for NeXT) is big endian to catch them. * This might matter for NeXT 3.0. */#ifndef NeXT#define BYTEORDER 0x1234 /* large digits for MSB */#else /* NeXT */#ifdef __LITTLE_ENDIAN__#define BYTEORDER 0x1234#else /* __BIG_ENDIAN__ */#define BYTEORDER 0x4321#endif /* ENDIAN CHECK */#endif /* NeXT *//* CASTI32: * This symbol is defined if the C compiler can cast negative * or large floating point numbers to 32-bit ints. */#define CASTI32 /**//* CASTNEGFLOAT: * This symbol is defined if the C compiler can cast negative * numbers to unsigned longs, ints and shorts. *//* CASTFLAGS: * This symbol contains flags that say what difficulties the compiler * has casting odd floating values to unsigned long: * 0 = ok * 1 = couldn't cast < 0 * 2 = couldn't cast >= 0x80000000 * 4 = couldn't cast in argument expression list */#define CASTNEGFLOAT /**/#define CASTFLAGS 0 /**//* VOID_CLOSEDIR: * This symbol, if defined, indicates that the closedir() routine * does not return a value. *//*#define VOID_CLOSEDIR /**//* Gconvert: * This preprocessor macro is defined to convert a floating point * number to a string without a trailing decimal point. This * emulates the behavior of sprintf("%g"), but is sometimes much more * efficient. If gconvert() is not available, but gcvt() drops the * trailing decimal point, then gcvt() is used. If all else fails, * a macro using sprintf("%g") is used. Arguments for the Gconvert * macro are: value, number of digits, whether trailing zeros should * be retained, and the output buffer. * Possible values are: * d_Gconvert='gconvert((x),(n),(t),(b))' * d_Gconvert='gcvt((x),(n),(b))' * d_Gconvert='sprintf((b),"%.*g",(n),(x))' * The last two assume trailing zeros should not be kept. */#define Gconvert(x,n,t,b) sprintf((b),"%.*g",(n),(x))/* HAS_GNULIBC: * This symbol, if defined, indicates to the C program that * the GNU C library is being used. *//*#define HAS_GNULIBC /**//* HAS_ISASCII: * This manifest constant lets the C program know that isascii * is available. */#define HAS_ISASCII /**//* HAS_LCHOWN: * This symbol, if defined, indicates that the lchown routine is * available to operate on a symbolic link (instead of following the * link). *//*#define HAS_LCHOWN /**//* HAS_OPEN3: * This manifest constant lets the C program know that the three * argument form of open(2) is available. *//*#define HAS_OPEN3 /**//* HAS_SAFE_BCOPY: * This symbol, if defined, indicates that the bcopy routine is available * to copy potentially overlapping memory blocks. Otherwise you should * probably use memmove() or memcpy(). If neither is defined, roll your * own version. *//*#define HAS_SAFE_BCOPY /**//* HAS_SAFE_MEMCPY: * This symbol, if defined, indicates that the memcpy routine is available * to copy potentially overlapping memory blocks. Otherwise you should * probably use memmove() or memcpy(). If neither is defined, roll your * own version. *//*#define HAS_SAFE_MEMCPY /**//* HAS_SANE_MEMCMP: * This symbol, if defined, indicates that the memcmp routine is available * and can be used to compare relative magnitudes of chars with their high * bits set. If it is not defined, roll your own version. */#define HAS_SANE_MEMCMP /**//* HAS_SIGACTION: * This symbol, if defined, indicates that Vr4's sigaction() routine * is available. *//*#define HAS_SIGACTION /**//* Sigjmp_buf: * This is the buffer type to be used with Sigsetjmp and Siglongjmp. *//* Sigsetjmp: * This macro is used in the same way as sigsetjmp(), but will invoke * traditional setjmp() if sigsetjmp isn't available.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -