📄 config.h
字号:
/* HAS_NTOHL: * This symbol, if defined, indicates that the ntohl() routine (and * friends htonl() htons() ntohs()) are available to do network * order byte swapping. *//* HAS_NTOHS: * This symbol, if defined, indicates that the ntohs() routine (and * friends htonl() htons() ntohl()) are available to do network * order byte swapping. */#define HAS_HTONL /**/#define HAS_HTONS /**/#define HAS_NTOHL /**/#define HAS_NTOHS /**//* HAS_LOCALTIME_R: * This symbol, if defined, indicates that the localtime_r routine * is available to localtime re-entrantly. *//* LOCALTIME_R_NEEDS_TZSET: * Many libc's localtime_r implementations do not call tzset, * making them differ from localtime(), and making timezone * changes using $ENV{TZ} without explicitly calling tzset * impossible. This symbol makes us call tzset before localtime_r *//*#define LOCALTIME_R_NEEDS_TZSET / **/#ifdef LOCALTIME_R_NEEDS_TZSET#define L_R_TZSET tzset(),#else#define L_R_TZSET#endif/* LOCALTIME_R_PROTO: * This symbol encodes the prototype of localtime_r. * It is zero if d_localtime_r is undef, and one of the * REENTRANT_PROTO_T_ABC macros of reentr.h if d_localtime_r * is defined. *//*#define HAS_LOCALTIME_R / **/#define LOCALTIME_R_PROTO 0 /**//* HAS_LONG_DOUBLE: * This symbol will be defined if the C compiler supports long * doubles. *//* LONG_DOUBLESIZE: * This symbol contains the size of a long double, so that the * C preprocessor can make decisions based on it. It is only * defined if the system supports long doubles. */#define HAS_LONG_DOUBLE /**/#ifdef HAS_LONG_DOUBLE#define LONG_DOUBLESIZE 12 /**/#endif/* HAS_LONG_LONG: * This symbol will be defined if the C compiler supports long long. *//* LONGLONGSIZE: * This symbol contains the size of a long long, so that the * C preprocessor can make decisions based on it. It is only * defined if the system supports long long. */#define HAS_LONG_LONG /**/#ifdef HAS_LONG_LONG#define LONGLONGSIZE 8 /**/#endif/* HAS_LSEEK_PROTO: * This symbol, if defined, indicates that the system provides * a prototype for the lseek() function. Otherwise, it is up * to the program to supply one. A good guess is * extern off_t lseek(int, off_t, int); */#define HAS_LSEEK_PROTO /**//* HAS_MEMCHR: * This symbol, if defined, indicates that the memchr routine is available * to locate characters within a C string. */#define HAS_MEMCHR /**//* HAS_MKSTEMP: * This symbol, if defined, indicates that the mkstemp routine is * available to exclusively create and open a uniquely named * temporary file. */#define HAS_MKSTEMP /**//* HAS_MMAP: * This symbol, if defined, indicates that the mmap system call is * available to map a file into memory. *//* Mmap_t: * This symbol holds the return type of the mmap() system call * (and simultaneously the type of the first argument). * Usually set to 'void *' or 'caddr_t'. */#define HAS_MMAP /**/#define Mmap_t void * /**//* HAS_MSG: * This symbol, if defined, indicates that the entire msg*(2) library is * supported (IPC mechanism based on message queues). */#define HAS_MSG /**//* HAS_POLL: * This symbol, if defined, indicates that the poll routine is * available to poll active file descriptors. You may safely * include <poll.h> when both this symbol *and* I_POLL are defined. */#define HAS_POLL /**//* OLD_PTHREAD_CREATE_JOINABLE: * This symbol, if defined, indicates how to create pthread * in joinable (aka undetached) state. NOTE: not defined * if pthread.h already has defined PTHREAD_CREATE_JOINABLE * (the new version of the constant). * If defined, known values are PTHREAD_CREATE_UNDETACHED * and __UNDETACHED. *//*#define OLD_PTHREAD_CREATE_JOINABLE / **//* HAS_PTHREAD_ATFORK: * This symbol, if defined, indicates that the pthread_atfork routine * is available to setup fork handlers. *//*#define HAS_PTHREAD_ATFORK / **//* HAS_PTHREAD_YIELD: * This symbol, if defined, indicates that the pthread_yield * routine is available to yield the execution of the current * thread. sched_yield is preferable to pthread_yield. *//* SCHED_YIELD: * This symbol defines the way to yield the execution of * the current thread. Known ways are sched_yield, * pthread_yield, and pthread_yield with NULL. *//* HAS_SCHED_YIELD: * This symbol, if defined, indicates that the sched_yield * routine is available to yield the execution of the current * thread. sched_yield is preferable to pthread_yield. *//*#define HAS_PTHREAD_YIELD / **/#define SCHED_YIELD sched_yield() /**/#define HAS_SCHED_YIELD /**//* HAS_RANDOM_R: * This symbol, if defined, indicates that the random_r routine * is available to random re-entrantly. *//* RANDOM_R_PROTO: * This symbol encodes the prototype of random_r. * It is zero if d_random_r is undef, and one of the * REENTRANT_PROTO_T_ABC macros of reentr.h if d_random_r * is defined. *//*#define HAS_RANDOM_R / **/#define RANDOM_R_PROTO 0 /**//* HAS_READDIR64_R: * This symbol, if defined, indicates that the readdir64_r routine * is available to readdir64 re-entrantly. *//* READDIR64_R_PROTO: * This symbol encodes the prototype of readdir64_r. * It is zero if d_readdir64_r is undef, and one of the * REENTRANT_PROTO_T_ABC macros of reentr.h if d_readdir64_r * is defined. *//*#define HAS_READDIR64_R / **/#define READDIR64_R_PROTO 0 /**//* HAS_READDIR_R: * This symbol, if defined, indicates that the readdir_r routine * is available to readdir re-entrantly. *//* READDIR_R_PROTO: * This symbol encodes the prototype of readdir_r. * It is zero if d_readdir_r is undef, and one of the * REENTRANT_PROTO_T_ABC macros of reentr.h if d_readdir_r * is defined. *//*#define HAS_READDIR_R / **/#define READDIR_R_PROTO 0 /**//* HAS_SEM: * This symbol, if defined, indicates that the entire sem*(2) library is * supported. */#define HAS_SEM /**//* HAS_SETGRENT: * This symbol, if defined, indicates that the setgrent routine is * available for initializing sequential access of the group database. */#define HAS_SETGRENT /**//* HAS_SETGRENT_R: * This symbol, if defined, indicates that the setgrent_r routine * is available to setgrent re-entrantly. *//* SETGRENT_R_PROTO: * This symbol encodes the prototype of setgrent_r. * It is zero if d_setgrent_r is undef, and one of the * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setgrent_r * is defined. *//*#define HAS_SETGRENT_R / **/#define SETGRENT_R_PROTO 0 /**//* HAS_SETGROUPS: * This symbol, if defined, indicates that the setgroups() routine is * available to set the list of process groups. If unavailable, multiple * groups are probably not supported. */#define HAS_SETGROUPS /**//* HAS_SETHOSTENT: * This symbol, if defined, indicates that the sethostent() routine is * available. */#define HAS_SETHOSTENT /**//* HAS_SETHOSTENT_R: * This symbol, if defined, indicates that the sethostent_r routine * is available to sethostent re-entrantly. *//* SETHOSTENT_R_PROTO: * This symbol encodes the prototype of sethostent_r. * It is zero if d_sethostent_r is undef, and one of the * REENTRANT_PROTO_T_ABC macros of reentr.h if d_sethostent_r * is defined. *//*#define HAS_SETHOSTENT_R / **/#define SETHOSTENT_R_PROTO 0 /**//* HAS_SETLOCALE_R: * This symbol, if defined, indicates that the setlocale_r routine * is available to setlocale re-entrantly. *//* SETLOCALE_R_PROTO: * This symbol encodes the prototype of setlocale_r. * It is zero if d_setlocale_r is undef, and one of the * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setlocale_r * is defined. *//*#define HAS_SETLOCALE_R / **/#define SETLOCALE_R_PROTO 0 /**//* HAS_SETNETENT: * This symbol, if defined, indicates that the setnetent() routine is * available. */#define HAS_SETNETENT /**//* HAS_SETNETENT_R: * This symbol, if defined, indicates that the setnetent_r routine * is available to setnetent re-entrantly. *//* SETNETENT_R_PROTO: * This symbol encodes the prototype of setnetent_r. * It is zero if d_setnetent_r is undef, and one of the * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setnetent_r * is defined. *//*#define HAS_SETNETENT_R / **/#define SETNETENT_R_PROTO 0 /**//* HAS_SETPROTOENT: * This symbol, if defined, indicates that the setprotoent() routine is * available. */#define HAS_SETPROTOENT /**//* HAS_SETPGRP: * This symbol, if defined, indicates that the setpgrp routine is * available to set the current process group. *//* USE_BSD_SETPGRP: * This symbol, if defined, indicates that setpgrp needs two * arguments whereas USG one needs none. See also HAS_SETPGID * for a POSIX interface. */#define HAS_SETPGRP /**//*#define USE_BSD_SETPGRP / **//* HAS_SETPROTOENT_R: * This symbol, if defined, indicates that the setprotoent_r routine * is available to setprotoent re-entrantly. *//* SETPROTOENT_R_PROTO: * This symbol encodes the prototype of setprotoent_r. * It is zero if d_setprotoent_r is undef, and one of the * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setprotoent_r * is defined. *//*#define HAS_SETPROTOENT_R / **/#define SETPROTOENT_R_PROTO 0 /**//* HAS_SETPWENT: * This symbol, if defined, indicates that the setpwent routine is * available for initializing sequential access of the passwd database. */#define HAS_SETPWENT /**//* HAS_SETPWENT_R: * This symbol, if defined, indicates that the setpwent_r routine * is available to setpwent re-entrantly. *//* SETPWENT_R_PROTO: * This symbol encodes the prototype of setpwent_r. * It is zero if d_setpwent_r is undef, and one of the * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setpwent_r * is defined. *//*#define HAS_SETPWENT_R / **/#define SETPWENT_R_PROTO 0 /**//* HAS_SETSERVENT: * This symbol, if defined, indicates that the setservent() routine is * available. */#define HAS_SETSERVENT /**//* HAS_SETSERVENT_R: * This symbol, if defined, indicates that the setservent_r routine * is available to setservent re-entrantly. *//* SETSERVENT_R_PROTO: * This symbol encodes the prototype of setservent_r. * It is zero if d_setservent_r is undef, and one of the * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setservent_r * is defined. *//*#define HAS_SETSERVENT_R / **/#define SETSERVENT_R_PROTO 0 /**//* HAS_SETVBUF: * This symbol, if defined, indicates that the setvbuf routine is * available to change buffering on an open stdio stream. * to a line-buffered mode. */#define HAS_SETVBUF /**//* HAS_SHM: * This symbol, if defined, indicates that the entire shm*(2) library is * supported. */#define HAS_SHM /**//* Shmat_t: * This symbol holds the return type of the shmat() system call. * Usually set to 'void *' or 'char *'. *//* HAS_SHMAT_PROTOTYPE: * This symbol, if defined, indicates that the sys/shm.h includes * a prototype for shmat(). Otherwise, it is up to the program to * guess one. Shmat_t shmat(int, Shmat_t, int) is a good guess, * but not always right so it should be emitted by the program only * when HAS_SHMAT_PROTOTYPE is not defined to avoid conflicting defs. */#define Shmat_t void * /**/#define HAS_SHMAT_PROTOTYPE /**//* HAS_SOCKET: * This symbol, if defined, indicates that the BSD socket interface is * supported. *//* HAS_SOCKETPAIR: * This symbol, if defined, indicates that the BSD socketpair() call is * supported. *//* HAS_MSG_CTRUNC: * This symbol, if defined, indicates that the MSG_CTRUNC is supported. * Checking just with #ifdef might not be enough because this symbol * has been known to be an enum. *//* HAS_MSG_DONTROUTE: * This symbol, if defined, indicates that the MSG_DONTROUTE is supported. * Checking just with #ifdef might not be enough because this symbol * has been known to be an enum. *//* HAS_MSG_OOB: * This symbol, if defined, indicates that the MSG_OOB is supported. * Checking just with #ifdef might not be enough because this symbol * has been known to be an enum. *//* HAS_MSG_PEEK: * This symbol, if defined, indicates that the MSG_PEEK is supported. * Checking just with #ifdef might not be enough because this symbol * has been known to be an enum. *//* HAS_MSG_PROXY: * This symbol, if defined, indicates that the MSG_PROXY is supported. * Checking just with #ifdef might not be enough because this symbol * has been known to be an enum. *//* HAS_SCM_RIGHTS: * This symbol, if defined, indicates that the SCM_RIGHTS is supported. * Checking just with #ifdef might not be enough because this symbol * has been known to be an enum. */#define HAS_SOCKET /**/#define HAS_SOCKETPAIR /**/#define HAS_MSG_CTRUNC /**/#define HAS_MSG_DONTROUTE /**/#define HAS_MSG_OOB /**/#define HAS_MSG_PEEK /**/#define HAS_MSG_PROXY /**/#define HAS_SCM_RIGHTS /**//* HAS_SRAND48_R: * This symbol, if defined, indicates that the srand48_r routine * is available to srand48 re-entrantly. *//* SRAND48_R_PROTO: * This symbol encodes the prototype of srand48_r. * It is zero if d_srand48_r is undef, and one of the * REENTRANT_PROTO_T_ABC macros of reentr.h if d_srand48_r * is defi
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -