config.h
来自「MSYS在windows下模拟了一个类unix的终端」· C头文件 代码 · 共 2,139 行 · 第 1/5 页
H
2,139 行
*/#define HAS_RENAME /**//* HAS_RMDIR: * This symbol, if defined, indicates that the rmdir routine is * available to remove directories. Otherwise you should fork off a * new process to exec /bin/rmdir. */#define HAS_RMDIR /**//* HAS_SELECT: * This symbol, if defined, indicates that the select routine is * available to select active file descriptors. If the timeout field * is used, <sys/time.h> may need to be included. */#define HAS_SELECT /**//* HAS_SETEGID: * This symbol, if defined, indicates that the setegid routine is available * to change the effective gid of the current program. */#define HAS_SETEGID /**//* HAS_SETEUID: * This symbol, if defined, indicates that the seteuid routine is available * to change the effective uid of the current program. */#define HAS_SETEUID /**//* HAS_SETLINEBUF: * This symbol, if defined, indicates that the setlinebuf routine is * available to change stderr or stdout from block-buffered or unbuffered * to a line-buffered mode. *//*#define HAS_SETLINEBUF / **//* HAS_SETLOCALE: * This symbol, if defined, indicates that the setlocale routine is * available to handle locale-specific ctype implementations. */#define HAS_SETLOCALE /**//* HAS_SETPGID: * This symbol, if defined, indicates that the setpgid(pid, gpid) * routine is available to set process group ID. */#define HAS_SETPGID /**//* HAS_SETPGRP2: * This symbol, if defined, indicates that the setpgrp2() (as in DG/UX) * routine is available to set the current process group. *//*#define HAS_SETPGRP2 / **//* HAS_SETPRIORITY: * This symbol, if defined, indicates that the setpriority routine is * available to set a process's priority. *//*#define HAS_SETPRIORITY / **//* HAS_SETREGID: * This symbol, if defined, indicates that the setregid routine is * available to change the real and effective gid of the current * process. *//* HAS_SETRESGID: * This symbol, if defined, indicates that the setresgid routine is * available to change the real, effective and saved gid of the current * process. *//*#define HAS_SETREGID / **//*#define HAS_SETRESGID / **//* HAS_SETREUID: * This symbol, if defined, indicates that the setreuid routine is * available to change the real and effective uid of the current * process. *//* HAS_SETRESUID: * This symbol, if defined, indicates that the setresuid routine is * available to change the real, effective and saved uid of the current * process. *//*#define HAS_SETREUID / **//*#define HAS_SETRESUID / **//* HAS_SETRGID: * This symbol, if defined, indicates that the setrgid routine is available * to change the real gid of the current program. *//*#define HAS_SETRGID / **//* HAS_SETRUID: * This symbol, if defined, indicates that the setruid routine is available * to change the real uid of the current program. *//*#define HAS_SETRUID / **//* HAS_SETSID: * This symbol, if defined, indicates that the setsid routine is * available to set the process group ID. */#define HAS_SETSID /**//* 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 /**//*#define HAS_SHMAT_PROTOTYPE / **//* HAS_STRCHR: * This symbol is defined to indicate that the strchr()/strrchr() * functions are available for string searching. If not, try the * index()/rindex() pair. *//* HAS_INDEX: * This symbol is defined to indicate that the index()/rindex() * functions are available for string searching. */#define HAS_STRCHR /**//*#define HAS_INDEX / **//* HAS_STRCOLL: * This symbol, if defined, indicates that the strcoll routine is * available to compare strings using collating information. */#define HAS_STRCOLL /**//* USE_STRUCT_COPY: * This symbol, if defined, indicates that this C compiler knows how * to copy structures. If undefined, you'll need to use a block copy * routine of some sort instead. */#define USE_STRUCT_COPY /**//* HAS_STRTOD: * This symbol, if defined, indicates that the strtod routine is * available to provide better numeric string conversion than atof(). */#define HAS_STRTOD /**//* HAS_STRTOL: * This symbol, if defined, indicates that the strtol routine is available * to provide better numeric string conversion than atoi() and friends. */#define HAS_STRTOL /**//* HAS_STRTOUL: * This symbol, if defined, indicates that the strtoul routine is * available to provide conversion of strings to unsigned long. */#define HAS_STRTOUL /**//* HAS_STRXFRM: * This symbol, if defined, indicates that the strxfrm() routine is * available to transform strings. */#define HAS_STRXFRM /**//* HAS_SYMLINK: * This symbol, if defined, indicates that the symlink routine is available * to create symbolic links. */#define HAS_SYMLINK /**//* HAS_SYSCALL: * This symbol, if defined, indicates that the syscall routine is * available to call arbitrary system calls. If undefined, that's tough. *//*#define HAS_SYSCALL / **//* HAS_SYSCONF: * This symbol, if defined, indicates that sysconf() is available * to determine system related limits and options. */#define HAS_SYSCONF /**//* HAS_SYSTEM: * This symbol, if defined, indicates that the system routine is * available to issue a shell command. */#define HAS_SYSTEM /**//* HAS_TCGETPGRP: * This symbol, if defined, indicates that the tcgetpgrp routine is * available to get foreground process group ID. */#define HAS_TCGETPGRP /**//* HAS_TCSETPGRP: * This symbol, if defined, indicates that the tcsetpgrp routine is * available to set foreground process group ID. */#define HAS_TCSETPGRP /**//* HAS_TRUNCATE: * This symbol, if defined, indicates that the truncate routine is * available to truncate files. */#define HAS_TRUNCATE /**//* HAS_TZNAME: * This symbol, if defined, indicates that the tzname[] array is * available to access timezone names. */#define HAS_TZNAME /**//* HAS_UMASK: * This symbol, if defined, indicates that the umask routine is * available to set and get the value of the file creation mask. */#define HAS_UMASK /**//* HASVOLATILE: * This symbol, if defined, indicates that this C compiler knows about * the volatile declaration. */#define HASVOLATILE /**/#ifndef HASVOLATILE#define volatile#endif/* HAS_WAIT4: * This symbol, if defined, indicates that wait4() exists. */#define HAS_WAIT4 /**//* HAS_WAITPID: * This symbol, if defined, indicates that the waitpid routine is * available to wait for child process. */#define HAS_WAITPID /**//* HAS_WCSTOMBS: * This symbol, if defined, indicates that the wcstombs routine is * available to convert wide character strings to multibyte strings. */#define HAS_WCSTOMBS /**//* HAS_WCTOMB: * This symbol, if defined, indicates that the wctomb routine is available * to covert a wide character to a multibyte. */#define HAS_WCTOMB /**//* I_ARPA_INET: * This symbol, if defined, indicates to the C program that it should * include <arpa/inet.h> to get inet_addr and friends declarations. */#define I_ARPA_INET /**//* I_DBM: * This symbol, if defined, indicates that <dbm.h> exists and should * be included. *//* I_RPCSVC_DBM: * This symbol, if defined, indicates that <rpcsvc/dbm.h> exists and * should be included. *//*#define I_DBM / **//*#define I_RPCSVC_DBM / **//* I_DIRENT: * This symbol, if defined, indicates to the C program that it should * include <dirent.h>. Using this symbol also triggers the definition * of the Direntry_t define which ends up being 'struct dirent' or * 'struct direct' depending on the availability of <dirent.h>. *//* DIRNAMLEN: * This symbol, if defined, indicates to the C program that the length * of directory entry names is provided by a d_namlen field. Otherwise * you need to do strlen() on the d_name field. *//* 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 dirent/* 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_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 /**/
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?