📄 config.h
字号:
* gidtype (gid_t) , but sometimes it isn't. * It can be int, ushort, uid_t, etc... * It may be necessary to include <sys/types.h> to get any * typedef'ed information. This is only required if you have * getgroups() or setgropus().. */#if defined(HAS_GETGROUPS) || defined(HAS_SETGROUPS)#define Groups_t gid_t /* Type for 2nd arg to [sg]etgroups() */#endif/* I_NETDB: * This symbol, if defined, indicates that <netdb.h> exists and * should be included. *//*#define I_NETDB /**//* I_PWD: * This symbol, if defined, indicates to the C program that it should * include <pwd.h>. *//* PWQUOTA: * This symbol, if defined, indicates to the C program that struct passwd * contains pw_quota. *//* PWAGE: * This symbol, if defined, indicates to the C program that struct passwd * contains pw_age. *//* PWCHANGE: * This symbol, if defined, indicates to the C program that struct passwd * contains pw_change. *//* PWCLASS: * This symbol, if defined, indicates to the C program that struct passwd * contains pw_class. *//* PWEXPIRE: * This symbol, if defined, indicates to the C program that struct passwd * contains pw_expire. *//* PWCOMMENT: * This symbol, if defined, indicates to the C program that struct passwd * contains pw_comment. *//* PWGECOS: * This symbol, if defined, indicates to the C program that struct passwd * contains pw_gecos. *//* PWPASSWD: * This symbol, if defined, indicates to the C program that struct passwd * contains pw_passwd. *//* HAS_SETPWENT: * This symbol, if defined, indicates that the getpwrent routine is * available for initializing sequential access of the passwd database. *//* HAS_GETPWENT: * This symbol, if defined, indicates that the getpwent routine is * available for sequential access of the password database. *//* HAS_ENDPWENT: * This symbol, if defined, indicates that the getpwent routine is * available for finalizing sequential access of the passwd database. *//*#define I_PWD /**//*#define PWQUOTA /**//*#define PWAGE /**//*#define PWCHANGE /**//*#define PWCLASS /**//*#define PWEXPIRE /**//*#define PWCOMMENT /**//*#define PWGECOS /**//*#define PWPASSWD /**//*#define HAS_SETPWENT /**//*#define HAS_GETPWENT /**//*#define HAS_ENDPWENT /**//* Free_t: * This variable contains the return type of free(). It is usually * void, but occasionally int. *//* Malloc_t: * This symbol is the type of pointer returned by malloc and realloc. */#define Malloc_t void * /**/#define Free_t void /**//* MYMALLOC: * This symbol, if defined, indicates that we're using our own malloc. *//*#define MYMALLOC /**//* SIG_NAME: * This symbol contains a list of signal names in order of * signal number. This is intended * to be used as a static array initialization, like this: * char *sig_name[] = { SIG_NAME }; * The signals in the list are separated with commas, and each signal * is surrounded by double quotes. There is no leading SIG in the signal * name, i.e. SIGQUIT is known as "QUIT". * Gaps in the signal numbers (up to NSIG) are filled in with NUMnn, * etc., where nn is the actual signal number (e.g. NUM37). * The signal number for sig_name[i] is stored in sig_num[i]. * The last element is 0 to terminate the list with a NULL. This * corresponds to the 0 at the end of the sig_num list. *//* SIG_NUM: * This symbol contains a list of signal numbers, in the same order as the * SIG_NAME list. It is suitable for static array initialization, as in: * int sig_num[] = { SIG_NUM }; * The signals in the list are separated with commas, and the indices * within that list and the SIG_NAME list match, so it's easy to compute * the signal name from a number or vice versa at the price of a small * dynamic linear lookup. * Duplicates are allowed, but are moved to the end of the list. * The signal number corresponding to sig_name[i] is sig_number[i]. * if (i < NSIG) then sig_number[i] == i. * The last element is 0, corresponding to the 0 at the end of * the sig_name list. */#define SIG_NAME "ZERO", "NUM01", "INT", "QUIT", "ILL", "NUM05", "NUM06", "NUM07", "FPE", "KILL", "NUM10", "SEGV", "NUM12", "PIPE", "ALRM", "TERM", "NUM16", "NUM17", "NUM18", "NUM19", "CHLD", "BREAK", "ABRT", "STOP", "NUM24", "CONT", "CLD", 0 /**/#define SIG_NUM 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 20, 0 /**//* VOIDFLAGS: * This symbol indicates how much support of the void type is given by this * compiler. What various bits mean: * * 1 = supports declaration of void * 2 = supports arrays of pointers to functions returning void * 4 = supports comparisons between pointers to void functions and * addresses of void functions * 8 = suports declaration of generic void pointers * * The package designer should define VOIDUSED to indicate the requirements * of the package. This can be done either by #defining VOIDUSED before * including config.h, or by defining defvoidused in Myinit.U. If the * latter approach is taken, only those flags will be tested. If the * level of void support necessary is not present, defines void to int. */#ifndef VOIDUSED#define VOIDUSED 15#endif#define VOIDFLAGS 15#if (VOIDFLAGS & VOIDUSED) != VOIDUSED#define void int /* is void to be avoided? */#define M_VOID /* Xenix strikes again */#endif/* ARCHLIB: * This variable, if defined, holds the name of the directory in * which the user wants to put architecture-dependent public * library files for perl5. It is most often a local directory * such as /usr/local/lib. Programs using this variable must be * prepared to deal with filename expansion. If ARCHLIB is the * same as PRIVLIB, it is not defined, since presumably the * program already searches PRIVLIB. *//* ARCHLIB_EXP: * This symbol contains the ~name expanded version of ARCHLIB, to be used * in programs that are not prepared to deal with ~ expansion at run-time. */#define ARCHLIB "p:\\temp\\perl\\lib\\MSWin32-x86-object" /**//*#define ARCHLIB_EXP "" /**//* DLSYM_NEEDS_UNDERSCORE: * This symbol, if defined, indicates that we need to prepend an * underscore to the symbol name before calling dlsym(). This only * makes sense if you *have* dlsym, which we will presume is the * case if you're using dl_dlopen.xs. *//*#define DLSYM_NEEDS_UNDERSCORE /**//* USE_SFIO: * This symbol, if defined, indicates that sfio should * be used. *//*#define USE_SFIO /**//* USE_DYNAMIC_LOADING: * This symbol, if defined, indicates that dynamic loading of * some sort is available. */#define USE_DYNAMIC_LOADING /**//* DB_Prefix_t: * This symbol contains the type of the prefix structure element * in the <db.h> header file. In older versions of DB, it was * int, while in newer ones it is u_int32_t. *//* DB_Hash_t: * This symbol contains the type of the prefix structure element * in the <db.h> header file. In older versions of DB, it was * int, while in newer ones it is size_t. */#define DB_Hash_t int /**/#define DB_Prefix_t int /**//* PRIVLIB: * This symbol contains the name of the private library for this package. * The library is private in the sense that it needn't be in anyone's * execution path, but it should be accessible by the world. The program * should be prepared to do ~ expansion. *//* PRIVLIB_EXP: * This symbol contains the ~name expanded version of PRIVLIB, to be used * in programs that are not prepared to deal with ~ expansion at run-time. */#define PRIVLIB "p:\\temp\\perl\\lib" /**/#define PRIVLIB_EXP (win32_get_privlib("5.00502")) /**//* SITEARCH: * This symbol contains the name of the private library for this package. * The library is private in the sense that it needn't be in anyone's * execution path, but it should be accessible by the world. The program * should be prepared to do ~ expansion. * The standard distribution will put nothing in this directory. * Individual sites may place their own extensions and modules in * this directory. *//* SITEARCH_EXP: * This symbol contains the ~name expanded version of SITEARCH, to be used * in programs that are not prepared to deal with ~ expansion at run-time. */#define SITEARCH "p:\\temp\\perl\\site\\lib\\MSWin32-x86-object" /**//*#define SITEARCH_EXP "" /**//* SITELIB: * This symbol contains the name of the private library for this package. * The library is private in the sense that it needn't be in anyone's * execution path, but it should be accessible by the world. The program * should be prepared to do ~ expansion. * The standard distribution will put nothing in this directory. * Individual sites may place their own extensions and modules in * this directory. *//* SITELIB_EXP: * This symbol contains the ~name expanded version of SITELIB, to be used * in programs that are not prepared to deal with ~ expansion at run-time. */#define SITELIB "p:\\temp\\perl\\site\\lib" /**/#define SITELIB_EXP (win32_get_sitelib("5.00502")) /**//* STARTPERL: * This variable contains the string to put in front of a perl * script to make sure (one hopes) that it runs with perl and not * some shell. */#define STARTPERL "#!perl" /**//* USE_PERLIO: * This symbol, if defined, indicates that the PerlIO abstraction should * be used throughout. If not defined, stdio should be * used in a fully backward compatible manner. *//*#define USE_PERLIO /**//* HAS_GETHOST_PROTOS: * This symbol, if defined, indicates that <netdb.h> includes * prototypes for gethostent(), gethostbyname(), and * gethostbyaddr(). Otherwise, it is up to the program to guess * them. See netdbtype.U for probing for various Netdb_xxx_t types. */#define HAS_GETHOST_PROTOS /**//* HAS_GETNET_PROTOS: * This symbol, if defined, indicates that <netdb.h> includes * prototypes for getnetent(), getnetbyname(), and * getnetbyaddr(). Otherwise, it is up to the program to guess * them. See netdbtype.U for probing for various Netdb_xxx_t types. *//*#define HAS_GETNET_PROTOS /**//* HAS_GETPROTO_PROTOS: * This symbol, if defined, indicates that <netdb.h> includes * prototypes for getprotoent(), getprotobyname(), and * getprotobyaddr(). Otherwise, it is up to the program to guess * them. See netdbtype.U for probing for various Netdb_xxx_t types. */#define HAS_GETPROTO_PROTOS /**//* HAS_GETSERV_PROTOS: * This symbol, if defined, indicates that <netdb.h> includes * prototypes for getservent(), getservbyname(), and * getservbyaddr(). Otherwise, it is up to the program to guess * them. See netdbtype.U for probing for various Netdb_xxx_t types. */#define HAS_GETSERV_PROTOS /**//* Netdb_host_t: * This symbol holds the type used for the 1st argument * to gethostbyaddr(). *//* Netdb_hlen_t: * This symbol holds the type used for the 2nd argument * to gethostbyaddr(). *//* Netdb_name_t: * This symbol holds the type used for the argument to * gethostbyname(). *//* Netdb_net_t: * This symbol holds the type used for the 1st argument to * getnetbyaddr(). */#define Netdb_host_t char * /**/#define Netdb_hlen_t int /**/#define Netdb_name_t char * /**/#define Netdb_net_t long /**//* Select_fd_set_t: * This symbol holds the type used for the 2nd, 3rd, and 4th * arguments to select. Usually, this is 'fd_set *', if HAS_FD_SET * is defined, and 'int *' otherwise. This is only useful if you * have select(), of course. */#define Select_fd_set_t Perl_fd_set * /**//* ARCHNAME: * This symbol holds a string representing the architecture name. * It may be used to construct an architecture-dependant pathname * where library files may be held under a private library, for * instance. */#define ARCHNAME "MSWin32-x86-object" /**//* HAS_PTHREAD_YIELD: * This symbol, if defined, indicates that the pthread_yield * routine is available to yield the execution of the current * thread. *//* HAS_SCHED_YIELD: * This symbol, if defined, indicates that the sched_yield * routine is available to yield the execution of the current * thread. *//*#define HAS_PTHREAD_YIELD /**//*#define HAS_SCHED_YIELD /**//* PTHREADS_CREATED_JOINABLE: * This symbol, if defined, indicates that pthreads are created * in the joinable (aka undetached) state. *//*#define PTHREADS_CREATED_JOINABLE /**//* USE_THREADS: * This symbol, if defined, indicates that Perl should * be built to use threads. *//* OLD_PTHREADS_API: * This symbol, if defined, indicates that Perl should * be built to use the old draft POSIX threads API. *//*#define USE_THREADS /**//*#define OLD_PTHREADS_API /**//* Time_t: * This symbol holds the type returned by time(). It can be long, * or time_t on BSD sites (in which case <sys/types.h> should be * included). */#define Time_t time_t /* Time type *//* HAS_TIMES: * This symbol, if defined, indicates that the times() routine exists. * Note that this became obsolete on some systems (SUNOS), which now * use getrusage(). It may be necessary to include <sys/times.h>. */#define HAS_TIMES /**//* Fpos_t: * This symbol holds the type used to declare file positions in libc. * It can be fpos_t, long, uint, etc... It may be necessary to include * <sys/types.h> to get any typedef'ed information. */#define Fpos_t fpos_t /* File position type *//* Gid_t: * This symbol holds the return type of getgid() and the type of * argument to setrgid() and related functions. Typically, * it is the type of group ids in the kernel. It can be int, ushort, * uid_t, etc... It may be necessary to include <sys/types.h> to get * any typedef'ed information. */#define Gid_t gid_t /* Type for getgid(), etc... *//* Off_t: * This symbol holds the type used to declare offsets in the kernel. * It can be int, long, off_t, etc... It may be necessary to include * <sys/types.h> to get any typedef'ed information. */#define Off_t off_t /* <offset> type *//* Mode_t: * This symbol holds the type used to declare file modes * for systems calls. It is usually mode_t, but may be * int or unsigned short. It may be necessary to include <sys/types.h> * to get any typedef'ed information. */#define Mode_t mode_t /* file mode parameter for system calls *//* Pid_t: * This symbol holds the type used to declare process ids in the kernel. * It can be int, uint, pid_t, etc... It may be necessary to include * <sys/types.h> to get any typedef'ed information. */#define Pid_t int /* PID type *//* Size_t: * This symbol holds the type used to declare length parameters * for string functions. It is usually size_t, but may be * unsigned long, int, etc. It may be necessary to include * <sys/types.h> to get any typedef'ed information. */#define Size_t size_t /* length paramater for string functions *//* Uid_t: * This symbol holds the type used to declare user ids in the kernel. * It can be int, ushort, uid_t, etc... It may be necessary to include * <sys/types.h> to get any typedef'ed informa
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -