1 /* This file was produced by running the config_h.SH script, which
2 * gets its values from undef, which is generally produced by
5 * Feel free to modify any of this as the need arises. Note, however,
6 * that running config_h.SH again will wipe out any changes you've made.
7 * For a more permanent change edit undef and rerun config_h.SH.
10 /* Package name : perl5
12 * Configuration time: Wed Aug 31 22:05:09 2011
13 * Configured by : shay
21 * This symbol holds the complete pathname to the sed program.
23 #define LOC_SED "" /**/
26 * This symbol, if defined, indicates that the alarm routine is
29 #define HAS_ALARM /**/
32 * This symbol is defined if the bcmp() routine is available to
33 * compare blocks of memory.
35 /*#define HAS_BCMP / **/
38 * This symbol is defined if the bcopy() routine is available to
39 * copy blocks of memory.
41 /*#define HAS_BCOPY / **/
44 * This symbol is defined if the bzero() routine is available to
45 * set a memory block to 0.
47 /*#define HAS_BZERO / **/
50 * This symbol, if defined, indicates that the chown routine is
53 /*#define HAS_CHOWN / **/
56 * This symbol, if defined, indicates that the chroot routine is
59 /*#define HAS_CHROOT / **/
62 * This symbol, if defined, indicates that the chsize routine is available
63 * to truncate files. You might need a -lx to get this routine.
65 #define HAS_CHSIZE /**/
68 * This symbol, if defined, indicates that the crypt routine is available
69 * to encrypt passwords and the like.
71 #define HAS_CRYPT /**/
74 * This symbol, if defined, indicates that the ctermid routine is
75 * available to generate filename for terminal.
77 /*#define HAS_CTERMID / **/
80 * This symbol, if defined, indicates that the cuserid routine is
81 * available to get character login names.
83 /*#define HAS_CUSERID / **/
86 * This symbol, if defined, indicates that this system's <float.h>
87 * or <limits.h> defines the symbol DBL_DIG, which is the number
88 * of significant digits in a double precision number. If this
89 * symbol is not defined, a guess of 15 is usually pretty good.
91 #define HAS_DBL_DIG /**/
94 * This symbol, if defined, indicates that the difftime routine is
97 #define HAS_DIFFTIME /**/
100 * This symbol, if defined, indicates that the dlerror routine is
101 * available to return a string describing the last error that
102 * occurred from a call to dlopen(), dlclose() or dlsym().
104 #define HAS_DLERROR /**/
107 * This symbol, if defined, indicates that the dup2 routine is
108 * available to duplicate file descriptors.
110 #define HAS_DUP2 /**/
113 * This symbol, if defined, indicates that the fchmod routine is available
114 * to change mode of opened files. If unavailable, use chmod().
116 /*#define HAS_FCHMOD / **/
119 * This symbol, if defined, indicates that the fchown routine is available
120 * to change ownership of opened files. If unavailable, use chown().
122 /*#define HAS_FCHOWN / **/
125 * This symbol, if defined, indicates to the C program that
126 * the fcntl() function exists.
128 /*#define HAS_FCNTL / **/
131 * This symbol, if defined, indicates that the fgetpos routine is
132 * available to get the file position indicator, similar to ftell().
134 #define HAS_FGETPOS /**/
137 * This symbol, if defined, indicates that the flock routine is
138 * available to do file locking.
140 #define HAS_FLOCK /**/
143 * This symbol, if defined, indicates that the fork routine is
146 /*#define HAS_FORK / **/
149 * This symbol, if defined, indicates that the fsetpos routine is
150 * available to set the file position indicator, similar to fseek().
152 #define HAS_FSETPOS /**/
155 * This symbol, if defined, indicates that the gettimeofday() system
156 * call is available for a sub-second accuracy clock. Usually, the file
157 * <sys/resource.h> needs to be included (see I_SYS_RESOURCE).
158 * The type "Timeval" should be used to refer to "struct timeval".
160 #define HAS_GETTIMEOFDAY /**/
161 #ifdef HAS_GETTIMEOFDAY
162 #define Timeval struct timeval /* Structure used by gettimeofday() */
166 * This symbol, if defined, indicates that the getgroups() routine is
167 * available to get the list of process groups. If unavailable, multiple
168 * groups are probably not supported.
170 /*#define HAS_GETGROUPS / **/
173 * This symbol, if defined, indicates that the getlogin routine is
174 * available to get the login name.
176 #define HAS_GETLOGIN /**/
179 * This symbol, if defined, indicates to the C program that
180 * the getpgid(pid) function is available to get the
183 /*#define HAS_GETPGID / **/
186 * This symbol, if defined, indicates that the getpgrp2() (as in DG/UX)
187 * routine is available to get the current process group.
189 /*#define HAS_GETPGRP2 / **/
192 * This symbol, if defined, indicates that the getppid routine is
193 * available to get the parent process ID.
195 /*#define HAS_GETPPID / **/
198 * This symbol, if defined, indicates that the getpriority routine is
199 * available to get a process's priority.
201 /*#define HAS_GETPRIORITY / **/
204 * This symbol, if defined, indicates to the C program that the
205 * inet_aton() function is available to parse IP address "dotted-quad"
208 /*#define HAS_INET_ATON / **/
211 * This symbol, if defined, indicates that the killpg routine is available
212 * to kill process groups. If unavailable, you probably should use kill
213 * with a negative process number.
215 #define HAS_KILLPG /**/
218 * This symbol, if defined, indicates that the link routine is
219 * available to create hard links.
221 #define HAS_LINK /**/
224 * This symbol, if defined, indicates that the localeconv routine is
225 * available for numeric and monetary formatting conventions.
227 #define HAS_LOCALECONV /**/
230 * This symbol, if defined, indicates that the lockf routine is
231 * available to do file locking.
233 /*#define HAS_LOCKF / **/
236 * This symbol, if defined, indicates that the lstat routine is
237 * available to do file stats on symbolic links.
239 /*#define HAS_LSTAT / **/
242 * This symbol, if defined, indicates that the mblen routine is available
243 * to find the number of bytes in a multibye character.
245 #define HAS_MBLEN /**/
248 * This symbol, if defined, indicates that the mbstowcs routine is
249 * available to covert a multibyte string into a wide character string.
251 #define HAS_MBSTOWCS /**/
254 * This symbol, if defined, indicates that the mbtowc routine is available
255 * to covert a multibyte to a wide character.
257 #define HAS_MBTOWC /**/
260 * This symbol, if defined, indicates that the memcmp routine is available
261 * to compare blocks of memory.
263 #define HAS_MEMCMP /**/
266 * This symbol, if defined, indicates that the memcpy routine is available
267 * to copy blocks of memory.
269 #define HAS_MEMCPY /**/
272 * This symbol, if defined, indicates that the memmove routine is available
273 * to copy potentially overlapping blocks of memory. This should be used
274 * only when HAS_SAFE_BCOPY is not defined. If neither is there, roll your
277 #define HAS_MEMMOVE /**/
280 * This symbol, if defined, indicates that the memset routine is available
281 * to set blocks of memory.
283 #define HAS_MEMSET /**/
286 * This symbol, if defined, indicates that the mkdir routine is available
287 * to create directories. Otherwise you should fork off a new process to
290 #define HAS_MKDIR /**/
293 * This symbol, if defined, indicates that the mkfifo routine is
294 * available to create FIFOs. Otherwise, mknod should be able to
295 * do it for you. However, if mkfifo is there, mknod might require
296 * super-user privileges which mkfifo will not.
298 /*#define HAS_MKFIFO / **/
301 * This symbol, if defined, indicates that the mktime routine is
304 #define HAS_MKTIME /**/
307 * This symbol, if defined, indicates that the msync system call is
308 * available to synchronize a mapped file.
310 /*#define HAS_MSYNC / **/
313 * This symbol, if defined, indicates that the munmap system call is
314 * available to unmap a region, usually mapped by mmap().
316 /*#define HAS_MUNMAP / **/
319 * This symbol, if defined, indicates that the nice routine is
322 /*#define HAS_NICE / **/
325 * This symbol, if defined, indicates that pathconf() is available
326 * to determine file-system related limits and options associated
327 * with a given filename.
330 * This symbol, if defined, indicates that pathconf() is available
331 * to determine file-system related limits and options associated
332 * with a given open file descriptor.
334 /*#define HAS_PATHCONF / **/
335 /*#define HAS_FPATHCONF / **/
338 * This symbol, if defined, indicates that the pause routine is
339 * available to suspend a process until a signal is received.
341 #define HAS_PAUSE /**/
344 * This symbol, if defined, indicates that the pipe routine is
345 * available to create an inter-process channel.
347 #define HAS_PIPE /**/
350 * This symbol, if defined, indicates that the poll routine is
351 * available to poll active file descriptors. Please check I_POLL and
352 * I_SYS_POLL to know which header should be included as well.
354 /*#define HAS_POLL / **/
357 * This symbol, if defined, indicates that the readdir routine is
358 * available to read directory entries. You may have to include
359 * <dirent.h>. See I_DIRENT.
361 #define HAS_READDIR /**/
364 * This symbol, if defined, indicates that the seekdir routine is
365 * available. You may have to include <dirent.h>. See I_DIRENT.
367 #define HAS_SEEKDIR /**/
370 * This symbol, if defined, indicates that the telldir routine is
371 * available. You may have to include <dirent.h>. See I_DIRENT.
373 #define HAS_TELLDIR /**/
376 * This symbol, if defined, indicates that the rewinddir routine is
377 * available. You may have to include <dirent.h>. See I_DIRENT.
379 #define HAS_REWINDDIR /**/
382 * This symbol, if defined, indicates that the readlink routine is
383 * available to read the value of a symbolic link.
385 /*#define HAS_READLINK / **/
388 * This symbol, if defined, indicates that the rename routine is available
389 * to rename files. Otherwise you should do the unlink(), link(), unlink()
392 #define HAS_RENAME /**/
395 * This symbol, if defined, indicates that the rmdir routine is
396 * available to remove directories. Otherwise you should fork off a
397 * new process to exec /bin/rmdir.
399 #define HAS_RMDIR /**/
402 * This symbol, if defined, indicates that the select routine is
403 * available to select active file descriptors. If the timeout field
404 * is used, <sys/time.h> may need to be included.
406 #define HAS_SELECT /**/
409 * This symbol, if defined, indicates that the setegid routine is available
410 * to change the effective gid of the current program.
412 /*#define HAS_SETEGID / **/
415 * This symbol, if defined, indicates that the seteuid routine is available
416 * to change the effective uid of the current program.
418 /*#define HAS_SETEUID / **/
421 * This symbol, if defined, indicates that the setgroups() routine is
422 * available to set the list of process groups. If unavailable, multiple
423 * groups are probably not supported.
425 /*#define HAS_SETGROUPS / **/
428 * This symbol, if defined, indicates that the setlinebuf routine is
429 * available to change stderr or stdout from block-buffered or unbuffered
430 * to a line-buffered mode.
432 /*#define HAS_SETLINEBUF / **/
435 * This symbol, if defined, indicates that the setlocale routine is
436 * available to handle locale-specific ctype implementations.
438 #define HAS_SETLOCALE /**/
441 * This symbol, if defined, indicates that the setpgid(pid, gpid)
442 * routine is available to set process group ID.
444 /*#define HAS_SETPGID / **/
447 * This symbol, if defined, indicates that the setpgrp2() (as in DG/UX)
448 * routine is available to set the current process group.
450 /*#define HAS_SETPGRP2 / **/
453 * This symbol, if defined, indicates that the setpriority routine is
454 * available to set a process's priority.
456 /*#define HAS_SETPRIORITY / **/
459 * This symbol, if defined, indicates that the setregid routine is
460 * available to change the real and effective gid of the current
464 * This symbol, if defined, indicates that the setresgid routine is
465 * available to change the real, effective and saved gid of the current
468 /*#define HAS_SETREGID / **/
469 /*#define HAS_SETRESGID / **/
472 * This symbol, if defined, indicates that the setreuid routine is
473 * available to change the real and effective uid of the current
477 * This symbol, if defined, indicates that the setresuid routine is
478 * available to change the real, effective and saved uid of the current
481 /*#define HAS_SETREUID / **/
482 /*#define HAS_SETRESUID / **/
485 * This symbol, if defined, indicates that the setrgid routine is available
486 * to change the real gid of the current program.
488 /*#define HAS_SETRGID / **/
491 * This symbol, if defined, indicates that the setruid routine is available
492 * to change the real uid of the current program.
494 /*#define HAS_SETRUID / **/
497 * This symbol, if defined, indicates that the setsid routine is
498 * available to set the process group ID.
500 /*#define HAS_SETSID / **/
503 * This symbol is defined to indicate that the strchr()/strrchr()
504 * functions are available for string searching. If not, try the
505 * index()/rindex() pair.
508 * This symbol is defined to indicate that the index()/rindex()
509 * functions are available for string searching.
511 #define HAS_STRCHR /**/
512 /*#define HAS_INDEX / **/
515 * This symbol, if defined, indicates that the strcoll routine is
516 * available to compare strings using collating information.
518 #define HAS_STRCOLL /**/
521 * This symbol, if defined, indicates that the strtod routine is
522 * available to provide better numeric string conversion than atof().
524 #define HAS_STRTOD /**/
527 * This symbol, if defined, indicates that the strtol routine is available
528 * to provide better numeric string conversion than atoi() and friends.
530 #define HAS_STRTOL /**/
533 * This symbol, if defined, indicates that the strxfrm() routine is
534 * available to transform strings.
536 #define HAS_STRXFRM /**/
539 * This symbol, if defined, indicates that the symlink routine is available
540 * to create symbolic links.
542 /*#define HAS_SYMLINK / **/
545 * This symbol, if defined, indicates that the syscall routine is
546 * available to call arbitrary system calls. If undefined, that's tough.
548 /*#define HAS_SYSCALL / **/
551 * This symbol, if defined, indicates that sysconf() is available
552 * to determine system related limits and options.
554 /*#define HAS_SYSCONF / **/
557 * This symbol, if defined, indicates that the system routine is
558 * available to issue a shell command.
560 #define HAS_SYSTEM /**/
563 * This symbol, if defined, indicates that the tcgetpgrp routine is
564 * available to get foreground process group ID.
566 /*#define HAS_TCGETPGRP / **/
569 * This symbol, if defined, indicates that the tcsetpgrp routine is
570 * available to set foreground process group ID.
572 /*#define HAS_TCSETPGRP / **/
575 * This symbol, if defined, indicates that the truncate routine is
576 * available to truncate files.
578 /*#define HAS_TRUNCATE / **/
581 * This symbol, if defined, indicates that the tzname[] array is
582 * available to access timezone names.
584 #define HAS_TZNAME /**/
587 * This symbol, if defined, indicates that the umask routine is
588 * available to set and get the value of the file creation mask.
590 #define HAS_UMASK /**/
593 * This symbol, if defined, indicates that the usleep routine is
594 * available to let the process sleep on a sub-second accuracy.
596 /*#define HAS_USLEEP / **/
599 * This symbol, if defined, indicates that wait4() exists.
601 /*#define HAS_WAIT4 / **/
604 * This symbol, if defined, indicates that the waitpid routine is
605 * available to wait for child process.
607 #define HAS_WAITPID /**/
610 * This symbol, if defined, indicates that the wcstombs routine is
611 * available to convert wide character strings to multibyte strings.
613 #define HAS_WCSTOMBS /**/
616 * This symbol, if defined, indicates that the wctomb routine is available
617 * to covert a wide character to a multibyte.
619 #define HAS_WCTOMB /**/
622 * This symbol holds the type used for the second argument to
623 * getgroups() and setgroups(). Usually, this is the same as
624 * gidtype (gid_t) , but sometimes it isn't.
625 * It can be int, ushort, gid_t, etc...
626 * It may be necessary to include <sys/types.h> to get any
627 * typedef'ed information. This is only required if you have
628 * getgroups() or setgroups()..
630 #if defined(HAS_GETGROUPS) || defined(HAS_SETGROUPS)
631 #define Groups_t gid_t /* Type for 2nd arg to [sg]etgroups() */
635 * This symbol, if defined, indicates to the C program that it should
636 * include <arpa/inet.h> to get inet_addr and friends declarations.
638 #define I_ARPA_INET /**/
641 * This symbol, if defined, indicates that <dbm.h> exists and should
645 * This symbol, if defined, indicates that <rpcsvc/dbm.h> exists and
646 * should be included.
648 /*#define I_DBM / **/
649 #define I_RPCSVC_DBM /**/
652 * This symbol, if defined, indicates that <dlfcn.h> exists and should
658 * This manifest constant tells the C program to include <fcntl.h>.
663 * This symbol, if defined, indicates to the C program that it should
664 * include <float.h> to get definition of symbols like DBL_MAX or
665 * DBL_MIN, i.e. machine dependent floating point values.
670 * This symbol, if defined, indicates that <gdbm.h> exists and should
673 /*#define I_GDBM / **/
676 * This symbol, if defined, indicates to the C program that it should
677 * include <limits.h> to get definition of symbols like WORD_BIT or
678 * LONG_MAX, i.e. machine dependant limitations.
680 #define I_LIMITS /**/
683 * This symbol, if defined, indicates to the C program that it should
684 * include <locale.h>.
686 #define I_LOCALE /**/
689 * This symbol, if defined, indicates to the C program that it should
695 * This symbol, if defined, indicates to the C program that it should
696 * include <memory.h>.
698 /*#define I_MEMORY / **/
701 * This symbol, if defined, indicates to the C program that it should
702 * include <netinet/in.h>. Otherwise, you may try <sys/in.h>.
704 /*#define I_NETINET_IN / **/
707 * This symbol, if defined, indicates to the C program that it should
710 /*#define I_SFIO / **/
713 * This symbol, if defined, indicates that <stddef.h> exists and should
716 #define I_STDDEF /**/
719 * This symbol, if defined, indicates that <stdlib.h> exists and should
722 #define I_STDLIB /**/
725 * This symbol, if defined, indicates to the C program that it should
726 * include <string.h> (USG systems) instead of <strings.h> (BSD systems).
728 #define I_STRING /**/
731 * This symbol, if defined, indicates to the C program that it should
732 * include <sys/dir.h>.
734 /*#define I_SYS_DIR / **/
737 * This symbol, if defined, indicates to the C program that it should
738 * include <sys/file.h> to get definition of R_OK and friends.
740 /*#define I_SYS_FILE / **/
743 * This symbol, if defined, indicates that <sys/ioctl.h> exists and should
744 * be included. Otherwise, include <sgtty.h> or <termio.h>.
747 * This symbol, if defined, indicates the <sys/sockio.h> should be included
748 * to get socket ioctl options, like SIOCATMARK.
750 /*#define I_SYS_IOCTL / **/
751 /*#define I_SYS_SOCKIO / **/
754 * This symbol, if defined, indicates to the C program that it should
755 * include <sys/ndir.h>.
757 /*#define I_SYS_NDIR / **/
760 * This symbol, if defined, indicates to the C program that it should
761 * include <sys/param.h>.
763 /*#define I_SYS_PARAM / **/
766 * This symbol, if defined, indicates that the program may include
767 * <sys/poll.h>. When I_POLL is also defined, it's probably safest
768 * to only include <poll.h>.
770 /*#define I_SYS_POLL / **/
773 * This symbol, if defined, indicates to the C program that it should
774 * include <sys/resource.h>.
776 /*#define I_SYS_RESOURCE / **/
779 * This symbol, if defined, indicates to the C program that it should
780 * include <sys/select.h> in order to get definition of struct timeval.
782 /*#define I_SYS_SELECT / **/
785 * This symbol, if defined, indicates to the C program that it should
786 * include <sys/stat.h>.
788 #define I_SYS_STAT /**/
791 * This symbol, if defined, indicates to the C program that it should
792 * include <sys/times.h>.
794 /*#define I_SYS_TIMES / **/
797 * This symbol, if defined, indicates to the C program that it should
798 * include <sys/types.h>.
800 #define I_SYS_TYPES /**/
803 * This symbol, if defined, indicates to the C program that it should
804 * include <sys/un.h> to get UNIX domain socket definitions.
806 /*#define I_SYS_UN / **/
809 * This symbol, if defined, indicates to the C program that it should
810 * include <sys/wait.h>.
812 /*#define I_SYS_WAIT / **/
815 * This symbol, if defined, indicates that the program should include
816 * <termio.h> rather than <sgtty.h>. There are also differences in
817 * the ioctl() calls that depend on the value of this symbol.
820 * This symbol, if defined, indicates that the program should include
821 * the POSIX termios.h rather than sgtty.h or termio.h.
822 * There are also differences in the ioctl() calls that depend on the
823 * value of this symbol.
826 * This symbol, if defined, indicates that the program should include
827 * <sgtty.h> rather than <termio.h>. There are also differences in
828 * the ioctl() calls that depend on the value of this symbol.
830 /*#define I_TERMIO / **/
831 /*#define I_TERMIOS / **/
832 /*#define I_SGTTY / **/
835 * This symbol, if defined, indicates to the C program that it should
836 * include <unistd.h>.
838 /*#define I_UNISTD / **/
841 * This symbol, if defined, indicates to the C program that it should
847 * This symbol, if defined, indicates to the C program that it should
848 * include <values.h> to get definition of symbols like MINFLOAT or
849 * MAXLONG, i.e. machine dependant limitations. Probably, you
850 * should use <limits.h> instead, if it is available.
852 /*#define I_VALUES / **/
855 * This symbol, if defined, indicates to the C program that it should
858 /*#define I_VFORK / **/
861 * This variable is defined on systems supporting prototype declaration
862 * of functions with a variable number of arguments.
865 * This macro is used to declare function parameters in prototypes for
866 * functions with a variable number of parameters. Use double parentheses.
869 * int printf _V((char *fmt, ...));
871 * Remember to use the plain simple _() macro when declaring a function
872 * with no variable number of arguments, since it might be possible to
873 * have a non-effect _V() macro and still get prototypes via _().
875 /*#define CAN_VAPROTO / **/
877 #define _V(args) args
883 * This symbol contains the value of sizeof(int) so that the C
884 * preprocessor can make decisions based on it.
887 * This symbol contains the value of sizeof(long) so that the C
888 * preprocessor can make decisions based on it.
891 * This symbol contains the value of sizeof(short) so that the C
892 * preprocessor can make decisions based on it.
894 #define INTSIZE 4 /**/
895 #define LONGSIZE 4 /**/
896 #define SHORTSIZE 2 /**/
899 * This symbol, if defined, signifies that the build
900 * process will produce some binary files that are going to be
901 * used in a cross-platform environment. This is the case for
902 * example with the NeXT "fat" binaries that contain executables
905 /*#define MULTIARCH / **/
908 * This symbol, if defined, tells that there's a 64-bit integer type,
909 * Quad_t, and its unsigned counterpart, Uquad_t. QUADKIND will be one
910 * of QUAD_IS_INT, QUAD_IS_LONG, QUAD_IS_LONG_LONG, QUAD_IS_INT64_T,
911 * or QUAD_IS___INT64.
913 #define HAS_QUAD /**/
916 # define Quad_t __int64 /**/
917 # define Uquad_t unsigned __int64 /**/
918 # define QUADKIND 5 /**/
920 # define Quad_t long long /**/
921 # define Uquad_t unsigned long long /**/
922 # define QUADKIND 3 /**/
924 # define QUAD_IS_INT 1
925 # define QUAD_IS_LONG 2
926 # define QUAD_IS_LONG_LONG 3
927 # define QUAD_IS_INT64_T 4
928 # define QUAD_IS___INT64 5
931 /* USE_CROSS_COMPILE:
932 * This symbol, if defined, indicates that Perl is being cross-compiled.
935 * This symbol, if defined, indicates the target architecture
936 * Perl has been cross-compiled to. Undefined if not a cross-compile.
938 #ifndef USE_CROSS_COMPILE
939 /*#define USE_CROSS_COMPILE / **/
940 #define PERL_TARGETARCH "" /**/
944 * This symbol contains the number of bytes required to align a
945 * double, or a long double when applicable. Usual values are 2,
946 * 4 and 8. The default is eight, for safety.
948 #if defined(USE_CROSS_COMPILE) || defined(MULTIARCH)
949 # define MEM_ALIGNBYTES 8
951 #define MEM_ALIGNBYTES 8
955 * This variable, if defined, holds the name of the directory in
956 * which the user wants to put architecture-dependent public
957 * library files for perl5. It is most often a local directory
958 * such as /usr/local/lib. Programs using this variable must be
959 * prepared to deal with filename expansion. If ARCHLIB is the
960 * same as PRIVLIB, it is not defined, since presumably the
961 * program already searches PRIVLIB.
964 * This symbol contains the ~name expanded version of ARCHLIB, to be used
965 * in programs that are not prepared to deal with ~ expansion at run-time.
967 #define ARCHLIB "c:\\perl\\lib" /**/
968 /*#define ARCHLIB_EXP "" / **/
971 * This symbol holds a string representing the architecture name.
972 * It may be used to construct an architecture-dependant pathname
973 * where library files may be held under a private library, for
976 #define ARCHNAME "MSWin32-x86" /**/
979 * This symbol holds the path of the bin directory where the package will
980 * be installed. Program must be prepared to deal with ~name substitution.
983 * This symbol is the filename expanded version of the BIN symbol, for
984 * programs that do not want to deal with that at run-time.
986 /* PERL_RELOCATABLE_INC:
987 * This symbol, if defined, indicates that we'd like to relocate entries
988 * in @INC at run time based on the location of the perl binary.
990 #define BIN "c:\\perl\\bin" /**/
991 #define BIN_EXP "c:\\perl\\bin" /**/
992 #define PERL_RELOCATABLE_INC "undef" /**/
995 * This symbol holds the hexadecimal constant defined in byteorder,
996 * in a UV, i.e. 0x1234 or 0x4321 or 0x12345678, etc...
997 * If the compiler supports cross-compiling or multiple-architecture
998 * binaries (eg. on NeXT systems), use compiler-defined macros to
999 * determine the byte order.
1000 * On NeXT 3.2 (and greater), you can build "Fat" Multiple Architecture
1001 * Binaries (MAB) on either big endian or little endian machines.
1002 * The endian-ness is available at compile-time. This only matters
1003 * for perl, where the config.h can be generated and installed on
1004 * one system, and used by a different architecture to build an
1005 * extension. Older versions of NeXT that might not have
1006 * defined either *_ENDIAN__ were all on Motorola 680x0 series,
1007 * so the default case (for NeXT) is big endian to catch them.
1008 * This might matter for NeXT 3.0.
1010 #if defined(USE_CROSS_COMPILE) || defined(MULTIARCH)
1011 # ifdef __LITTLE_ENDIAN__
1013 # define BYTEORDER 0x1234
1016 # define BYTEORDER 0x12345678
1020 # ifdef __BIG_ENDIAN__
1022 # define BYTEORDER 0x4321
1025 # define BYTEORDER 0x87654321
1030 # if !defined(BYTEORDER) && (defined(NeXT) || defined(__NeXT__))
1031 # define BYTEORDER 0x4321
1034 #define BYTEORDER 0x1234 /* large digits for MSB */
1038 * This symbol contains the size of a char, so that the C preprocessor
1039 * can make decisions based on it.
1041 #define CHARBITS 8 /**/
1044 * This symbol, if defined, indicates that the accessx routine is
1045 * available to do extended access checks.
1047 /*#define HAS_ACCESSX / **/
1050 * This symbol, if defined, indicates that the asctime_r routine
1051 * is available to asctime re-entrantly.
1054 * This symbol encodes the prototype of asctime_r.
1055 * It is zero if d_asctime_r is undef, and one of the
1056 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_asctime_r
1059 /*#define HAS_ASCTIME_R / **/
1060 #define ASCTIME_R_PROTO 0 /**/
1063 * This symbol is defined if the C compiler can cast negative
1064 * or large floating point numbers to 32-bit ints.
1067 # define CASTI32 /**/
1071 * This symbol is defined if the C compiler can cast negative
1072 * numbers to unsigned longs, ints and shorts.
1075 * This symbol contains flags that say what difficulties the compiler
1076 * has casting odd floating values to unsigned long:
1078 * 1 = couldn't cast < 0
1079 * 2 = couldn't cast >= 0x80000000
1080 * 4 = couldn't cast in argument expression list
1082 #define CASTNEGFLOAT /**/
1083 #define CASTFLAGS 0 /**/
1086 * This symbol, if defined, indicates that the closedir() routine
1087 * does not return a value.
1089 /*#define VOID_CLOSEDIR / **/
1092 * This symbol, if defined, indicates that the crypt_r routine
1093 * is available to crypt re-entrantly.
1096 * This symbol encodes the prototype of crypt_r.
1097 * It is zero if d_crypt_r is undef, and one of the
1098 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_crypt_r
1101 /*#define HAS_CRYPT_R / **/
1102 #define CRYPT_R_PROTO 0 /**/
1105 * This symbol, if defined, indicates that the ctermid_r routine
1106 * is available to ctermid re-entrantly.
1109 * This symbol encodes the prototype of ctermid_r.
1110 * It is zero if d_ctermid_r is undef, and one of the
1111 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_ctermid_r
1114 /*#define HAS_CTERMID_R / **/
1115 #define CTERMID_R_PROTO 0 /**/
1118 * This symbol, if defined, indicates that the ctime_r routine
1119 * is available to ctime re-entrantly.
1122 * This symbol encodes the prototype of ctime_r.
1123 * It is zero if d_ctime_r is undef, and one of the
1124 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_ctime_r
1127 /*#define HAS_CTIME_R / **/
1128 #define CTIME_R_PROTO 0 /**/
1131 * This symbol, if defined, indicates that the drand48_r routine
1132 * is available to drand48 re-entrantly.
1135 * This symbol encodes the prototype of drand48_r.
1136 * It is zero if d_drand48_r is undef, and one of the
1137 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_drand48_r
1140 /*#define HAS_DRAND48_R / **/
1141 #define DRAND48_R_PROTO 0 /**/
1144 * This symbol, if defined, indicates that the eaccess routine is
1145 * available to do extended access checks.
1147 /*#define HAS_EACCESS / **/
1150 * This symbol, if defined, indicates that the endgrent_r routine
1151 * is available to endgrent re-entrantly.
1153 /* ENDGRENT_R_PROTO:
1154 * This symbol encodes the prototype of endgrent_r.
1155 * It is zero if d_endgrent_r is undef, and one of the
1156 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endgrent_r
1159 /*#define HAS_ENDGRENT_R / **/
1160 #define ENDGRENT_R_PROTO 0 /**/
1162 /* HAS_ENDHOSTENT_R:
1163 * This symbol, if defined, indicates that the endhostent_r routine
1164 * is available to endhostent re-entrantly.
1166 /* ENDHOSTENT_R_PROTO:
1167 * This symbol encodes the prototype of endhostent_r.
1168 * It is zero if d_endhostent_r is undef, and one of the
1169 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endhostent_r
1172 /*#define HAS_ENDHOSTENT_R / **/
1173 #define ENDHOSTENT_R_PROTO 0 /**/
1176 * This symbol, if defined, indicates that the endnetent_r routine
1177 * is available to endnetent re-entrantly.
1179 /* ENDNETENT_R_PROTO:
1180 * This symbol encodes the prototype of endnetent_r.
1181 * It is zero if d_endnetent_r is undef, and one of the
1182 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endnetent_r
1185 /*#define HAS_ENDNETENT_R / **/
1186 #define ENDNETENT_R_PROTO 0 /**/
1188 /* HAS_ENDPROTOENT_R:
1189 * This symbol, if defined, indicates that the endprotoent_r routine
1190 * is available to endprotoent re-entrantly.
1192 /* ENDPROTOENT_R_PROTO:
1193 * This symbol encodes the prototype of endprotoent_r.
1194 * It is zero if d_endprotoent_r is undef, and one of the
1195 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endprotoent_r
1198 /*#define HAS_ENDPROTOENT_R / **/
1199 #define ENDPROTOENT_R_PROTO 0 /**/
1202 * This symbol, if defined, indicates that the endpwent_r routine
1203 * is available to endpwent re-entrantly.
1205 /* ENDPWENT_R_PROTO:
1206 * This symbol encodes the prototype of endpwent_r.
1207 * It is zero if d_endpwent_r is undef, and one of the
1208 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endpwent_r
1211 /*#define HAS_ENDPWENT_R / **/
1212 #define ENDPWENT_R_PROTO 0 /**/
1214 /* HAS_ENDSERVENT_R:
1215 * This symbol, if defined, indicates that the endservent_r routine
1216 * is available to endservent re-entrantly.
1218 /* ENDSERVENT_R_PROTO:
1219 * This symbol encodes the prototype of endservent_r.
1220 * It is zero if d_endservent_r is undef, and one of the
1221 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endservent_r
1224 /*#define HAS_ENDSERVENT_R / **/
1225 #define ENDSERVENT_R_PROTO 0 /**/
1228 * This symbol, when defined, indicates presence of the fd_set typedef
1231 #define HAS_FD_SET /**/
1234 * This preprocessor macro is defined to convert a floating point
1235 * number to a string without a trailing decimal point. This
1236 * emulates the behavior of sprintf("%g"), but is sometimes much more
1237 * efficient. If gconvert() is not available, but gcvt() drops the
1238 * trailing decimal point, then gcvt() is used. If all else fails,
1239 * a macro using sprintf("%g") is used. Arguments for the Gconvert
1240 * macro are: value, number of digits, whether trailing zeros should
1241 * be retained, and the output buffer.
1242 * The usual values are:
1243 * d_Gconvert='gconvert((x),(n),(t),(b))'
1244 * d_Gconvert='gcvt((x),(n),(b))'
1245 * d_Gconvert='sprintf((b),"%.*g",(n),(x))'
1246 * The last two assume trailing zeros should not be kept.
1248 #define Gconvert(x,n,t,b) sprintf((b),"%.*g",(n),(x))
1251 * This symbol, if defined, indicates that the getgrent_r routine
1252 * is available to getgrent re-entrantly.
1254 /* GETGRENT_R_PROTO:
1255 * This symbol encodes the prototype of getgrent_r.
1256 * It is zero if d_getgrent_r is undef, and one of the
1257 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getgrent_r
1260 /*#define HAS_GETGRENT_R / **/
1261 #define GETGRENT_R_PROTO 0 /**/
1264 * This symbol, if defined, indicates that the getgrgid_r routine
1265 * is available to getgrgid re-entrantly.
1267 /* GETGRGID_R_PROTO:
1268 * This symbol encodes the prototype of getgrgid_r.
1269 * It is zero if d_getgrgid_r is undef, and one of the
1270 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getgrgid_r
1273 /*#define HAS_GETGRGID_R / **/
1274 #define GETGRGID_R_PROTO 0 /**/
1277 * This symbol, if defined, indicates that the getgrnam_r routine
1278 * is available to getgrnam re-entrantly.
1280 /* GETGRNAM_R_PROTO:
1281 * This symbol encodes the prototype of getgrnam_r.
1282 * It is zero if d_getgrnam_r is undef, and one of the
1283 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getgrnam_r
1286 /*#define HAS_GETGRNAM_R / **/
1287 #define GETGRNAM_R_PROTO 0 /**/
1289 /* HAS_GETHOSTBYADDR_R:
1290 * This symbol, if defined, indicates that the gethostbyaddr_r routine
1291 * is available to gethostbyaddr re-entrantly.
1293 /* GETHOSTBYADDR_R_PROTO:
1294 * This symbol encodes the prototype of gethostbyaddr_r.
1295 * It is zero if d_gethostbyaddr_r is undef, and one of the
1296 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_gethostbyaddr_r
1299 /*#define HAS_GETHOSTBYADDR_R / **/
1300 #define GETHOSTBYADDR_R_PROTO 0 /**/
1302 /* HAS_GETHOSTBYNAME_R:
1303 * This symbol, if defined, indicates that the gethostbyname_r routine
1304 * is available to gethostbyname re-entrantly.
1306 /* GETHOSTBYNAME_R_PROTO:
1307 * This symbol encodes the prototype of gethostbyname_r.
1308 * It is zero if d_gethostbyname_r is undef, and one of the
1309 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_gethostbyname_r
1312 /*#define HAS_GETHOSTBYNAME_R / **/
1313 #define GETHOSTBYNAME_R_PROTO 0 /**/
1315 /* HAS_GETHOSTENT_R:
1316 * This symbol, if defined, indicates that the gethostent_r routine
1317 * is available to gethostent re-entrantly.
1319 /* GETHOSTENT_R_PROTO:
1320 * This symbol encodes the prototype of gethostent_r.
1321 * It is zero if d_gethostent_r is undef, and one of the
1322 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_gethostent_r
1325 /*#define HAS_GETHOSTENT_R / **/
1326 #define GETHOSTENT_R_PROTO 0 /**/
1329 * This symbol, if defined, indicates that the getlogin_r routine
1330 * is available to getlogin re-entrantly.
1332 /* GETLOGIN_R_PROTO:
1333 * This symbol encodes the prototype of getlogin_r.
1334 * It is zero if d_getlogin_r is undef, and one of the
1335 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getlogin_r
1338 /*#define HAS_GETLOGIN_R / **/
1339 #define GETLOGIN_R_PROTO 0 /**/
1341 /* HAS_GETNETBYADDR_R:
1342 * This symbol, if defined, indicates that the getnetbyaddr_r routine
1343 * is available to getnetbyaddr re-entrantly.
1345 /* GETNETBYADDR_R_PROTO:
1346 * This symbol encodes the prototype of getnetbyaddr_r.
1347 * It is zero if d_getnetbyaddr_r is undef, and one of the
1348 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getnetbyaddr_r
1351 /*#define HAS_GETNETBYADDR_R / **/
1352 #define GETNETBYADDR_R_PROTO 0 /**/
1354 /* HAS_GETNETBYNAME_R:
1355 * This symbol, if defined, indicates that the getnetbyname_r routine
1356 * is available to getnetbyname re-entrantly.
1358 /* GETNETBYNAME_R_PROTO:
1359 * This symbol encodes the prototype of getnetbyname_r.
1360 * It is zero if d_getnetbyname_r is undef, and one of the
1361 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getnetbyname_r
1364 /*#define HAS_GETNETBYNAME_R / **/
1365 #define GETNETBYNAME_R_PROTO 0 /**/
1368 * This symbol, if defined, indicates that the getnetent_r routine
1369 * is available to getnetent re-entrantly.
1371 /* GETNETENT_R_PROTO:
1372 * This symbol encodes the prototype of getnetent_r.
1373 * It is zero if d_getnetent_r is undef, and one of the
1374 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getnetent_r
1377 /*#define HAS_GETNETENT_R / **/
1378 #define GETNETENT_R_PROTO 0 /**/
1381 * This symbol, if defined, indicates that the getpagesize system call
1382 * is available to get system page size, which is the granularity of
1383 * many memory management calls.
1385 /*#define HAS_GETPAGESIZE / **/
1387 /* HAS_GETPROTOBYNAME_R:
1388 * This symbol, if defined, indicates that the getprotobyname_r routine
1389 * is available to getprotobyname re-entrantly.
1391 /* GETPROTOBYNAME_R_PROTO:
1392 * This symbol encodes the prototype of getprotobyname_r.
1393 * It is zero if d_getprotobyname_r is undef, and one of the
1394 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getprotobyname_r
1397 /*#define HAS_GETPROTOBYNAME_R / **/
1398 #define GETPROTOBYNAME_R_PROTO 0 /**/
1400 /* HAS_GETPROTOBYNUMBER_R:
1401 * This symbol, if defined, indicates that the getprotobynumber_r routine
1402 * is available to getprotobynumber re-entrantly.
1404 /* GETPROTOBYNUMBER_R_PROTO:
1405 * This symbol encodes the prototype of getprotobynumber_r.
1406 * It is zero if d_getprotobynumber_r is undef, and one of the
1407 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getprotobynumber_r
1410 /*#define HAS_GETPROTOBYNUMBER_R / **/
1411 #define GETPROTOBYNUMBER_R_PROTO 0 /**/
1413 /* HAS_GETPROTOENT_R:
1414 * This symbol, if defined, indicates that the getprotoent_r routine
1415 * is available to getprotoent re-entrantly.
1417 /* GETPROTOENT_R_PROTO:
1418 * This symbol encodes the prototype of getprotoent_r.
1419 * It is zero if d_getprotoent_r is undef, and one of the
1420 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getprotoent_r
1423 /*#define HAS_GETPROTOENT_R / **/
1424 #define GETPROTOENT_R_PROTO 0 /**/
1427 * This symbol, if defined, indicates that the getpwent_r routine
1428 * is available to getpwent re-entrantly.
1430 /* GETPWENT_R_PROTO:
1431 * This symbol encodes the prototype of getpwent_r.
1432 * It is zero if d_getpwent_r is undef, and one of the
1433 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getpwent_r
1436 /*#define HAS_GETPWENT_R / **/
1437 #define GETPWENT_R_PROTO 0 /**/
1440 * This symbol, if defined, indicates that the getpwnam_r routine
1441 * is available to getpwnam re-entrantly.
1443 /* GETPWNAM_R_PROTO:
1444 * This symbol encodes the prototype of getpwnam_r.
1445 * It is zero if d_getpwnam_r is undef, and one of the
1446 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getpwnam_r
1449 /*#define HAS_GETPWNAM_R / **/
1450 #define GETPWNAM_R_PROTO 0 /**/
1453 * This symbol, if defined, indicates that the getpwuid_r routine
1454 * is available to getpwuid re-entrantly.
1456 /* GETPWUID_R_PROTO:
1457 * This symbol encodes the prototype of getpwuid_r.
1458 * It is zero if d_getpwuid_r is undef, and one of the
1459 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getpwuid_r
1462 /*#define HAS_GETPWUID_R / **/
1463 #define GETPWUID_R_PROTO 0 /**/
1465 /* HAS_GETSERVBYNAME_R:
1466 * This symbol, if defined, indicates that the getservbyname_r routine
1467 * is available to getservbyname re-entrantly.
1469 /* GETSERVBYNAME_R_PROTO:
1470 * This symbol encodes the prototype of getservbyname_r.
1471 * It is zero if d_getservbyname_r is undef, and one of the
1472 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getservbyname_r
1475 /*#define HAS_GETSERVBYNAME_R / **/
1476 #define GETSERVBYNAME_R_PROTO 0 /**/
1478 /* HAS_GETSERVBYPORT_R:
1479 * This symbol, if defined, indicates that the getservbyport_r routine
1480 * is available to getservbyport re-entrantly.
1482 /* GETSERVBYPORT_R_PROTO:
1483 * This symbol encodes the prototype of getservbyport_r.
1484 * It is zero if d_getservbyport_r is undef, and one of the
1485 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getservbyport_r
1488 /*#define HAS_GETSERVBYPORT_R / **/
1489 #define GETSERVBYPORT_R_PROTO 0 /**/
1491 /* HAS_GETSERVENT_R:
1492 * This symbol, if defined, indicates that the getservent_r routine
1493 * is available to getservent re-entrantly.
1495 /* GETSERVENT_R_PROTO:
1496 * This symbol encodes the prototype of getservent_r.
1497 * It is zero if d_getservent_r is undef, and one of the
1498 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getservent_r
1501 /*#define HAS_GETSERVENT_R / **/
1502 #define GETSERVENT_R_PROTO 0 /**/
1505 * This symbol, if defined, indicates that the getspnam_r routine
1506 * is available to getspnam re-entrantly.
1508 /* GETSPNAM_R_PROTO:
1509 * This symbol encodes the prototype of getspnam_r.
1510 * It is zero if d_getspnam_r is undef, and one of the
1511 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getspnam_r
1514 /*#define HAS_GETSPNAM_R / **/
1515 #define GETSPNAM_R_PROTO 0 /**/
1518 * This symbol, if defined, indicates that the gmtime_r routine
1519 * is available to gmtime re-entrantly.
1522 * This symbol encodes the prototype of gmtime_r.
1523 * It is zero if d_gmtime_r is undef, and one of the
1524 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_gmtime_r
1527 /*#define HAS_GMTIME_R / **/
1528 #define GMTIME_R_PROTO 0 /**/
1531 * This symbol, if defined, indicates to the C program that
1532 * the GNU C library is being used. A better check is to use
1533 * the __GLIBC__ and __GLIBC_MINOR__ symbols supplied with glibc.
1535 /*#define HAS_GNULIBC / **/
1536 #if defined(HAS_GNULIBC) && !defined(_GNU_SOURCE)
1537 # define _GNU_SOURCE
1541 * This manifest constant lets the C program know that isascii
1544 #define HAS_ISASCII /**/
1547 * This symbol, if defined, indicates that the lchown routine is
1548 * available to operate on a symbolic link (instead of following the
1551 /*#define HAS_LCHOWN / **/
1554 * This symbol, if defined, indicates that the localtime_r routine
1555 * is available to localtime re-entrantly.
1557 /* LOCALTIME_R_NEEDS_TZSET:
1558 * Many libc's localtime_r implementations do not call tzset,
1559 * making them differ from localtime(), and making timezone
1560 * changes using \undef{TZ} without explicitly calling tzset
1561 * impossible. This symbol makes us call tzset before localtime_r
1563 /*#define LOCALTIME_R_NEEDS_TZSET / **/
1564 #ifdef LOCALTIME_R_NEEDS_TZSET
1565 #define L_R_TZSET tzset(),
1570 /* LOCALTIME_R_PROTO:
1571 * This symbol encodes the prototype of localtime_r.
1572 * It is zero if d_localtime_r is undef, and one of the
1573 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_localtime_r
1576 /*#define HAS_LOCALTIME_R / **/
1577 #define LOCALTIME_R_PROTO 0 /**/
1580 * This manifest constant lets the C program know that the three
1581 * argument form of open(2) is available.
1583 /*#define HAS_OPEN3 / **/
1585 /* OLD_PTHREAD_CREATE_JOINABLE:
1586 * This symbol, if defined, indicates how to create pthread
1587 * in joinable (aka undetached) state. NOTE: not defined
1588 * if pthread.h already has defined PTHREAD_CREATE_JOINABLE
1589 * (the new version of the constant).
1590 * If defined, known values are PTHREAD_CREATE_UNDETACHED
1593 /*#define OLD_PTHREAD_CREATE_JOINABLE / **/
1595 /* HAS_PTHREAD_ATFORK:
1596 * This symbol, if defined, indicates that the pthread_atfork routine
1597 * is available to setup fork handlers.
1599 /*#define HAS_PTHREAD_ATFORK / **/
1601 /* HAS_PTHREAD_YIELD:
1602 * This symbol, if defined, indicates that the pthread_yield
1603 * routine is available to yield the execution of the current
1604 * thread. sched_yield is preferable to pthread_yield.
1607 * This symbol defines the way to yield the execution of
1608 * the current thread. Known ways are sched_yield,
1609 * pthread_yield, and pthread_yield with NULL.
1612 * This symbol, if defined, indicates that the sched_yield
1613 * routine is available to yield the execution of the current
1614 * thread. sched_yield is preferable to pthread_yield.
1616 /*#define HAS_PTHREAD_YIELD / **/
1617 #define SCHED_YIELD /**/
1618 /*#define HAS_SCHED_YIELD / **/
1621 * This symbol, if defined, indicates that the random_r routine
1622 * is available to random re-entrantly.
1625 * This symbol encodes the prototype of random_r.
1626 * It is zero if d_random_r is undef, and one of the
1627 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_random_r
1630 /*#define HAS_RANDOM_R / **/
1631 #define RANDOM_R_PROTO 0 /**/
1634 * This symbol, if defined, indicates that the readdir64_r routine
1635 * is available to readdir64 re-entrantly.
1637 /* READDIR64_R_PROTO:
1638 * This symbol encodes the prototype of readdir64_r.
1639 * It is zero if d_readdir64_r is undef, and one of the
1640 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_readdir64_r
1643 /*#define HAS_READDIR64_R / **/
1644 #define READDIR64_R_PROTO 0 /**/
1647 * This symbol, if defined, indicates that the readdir_r routine
1648 * is available to readdir re-entrantly.
1651 * This symbol encodes the prototype of readdir_r.
1652 * It is zero if d_readdir_r is undef, and one of the
1653 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_readdir_r
1656 /*#define HAS_READDIR_R / **/
1657 #define READDIR_R_PROTO 0 /**/
1660 * This symbol, if defined, indicates that the bcopy routine is available
1661 * to copy potentially overlapping memory blocks. Normally, you should
1662 * probably use memmove() or memcpy(). If neither is defined, roll your
1665 /*#define HAS_SAFE_BCOPY / **/
1668 * This symbol, if defined, indicates that the memcpy routine is available
1669 * to copy potentially overlapping memory blocks. If you need to
1670 * copy overlapping memory blocks, you should check HAS_MEMMOVE and
1671 * use memmove() instead, if available.
1673 /*#define HAS_SAFE_MEMCPY / **/
1676 * This symbol, if defined, indicates that the memcmp routine is available
1677 * and can be used to compare relative magnitudes of chars with their high
1678 * bits set. If it is not defined, roll your own version.
1680 #define HAS_SANE_MEMCMP /**/
1683 * This symbol, if defined, indicates that the setgrent_r routine
1684 * is available to setgrent re-entrantly.
1686 /* SETGRENT_R_PROTO:
1687 * This symbol encodes the prototype of setgrent_r.
1688 * It is zero if d_setgrent_r is undef, and one of the
1689 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setgrent_r
1692 /*#define HAS_SETGRENT_R / **/
1693 #define SETGRENT_R_PROTO 0 /**/
1695 /* HAS_SETHOSTENT_R:
1696 * This symbol, if defined, indicates that the sethostent_r routine
1697 * is available to sethostent re-entrantly.
1699 /* SETHOSTENT_R_PROTO:
1700 * This symbol encodes the prototype of sethostent_r.
1701 * It is zero if d_sethostent_r is undef, and one of the
1702 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_sethostent_r
1705 /*#define HAS_SETHOSTENT_R / **/
1706 #define SETHOSTENT_R_PROTO 0 /**/
1709 * This symbol, if defined, indicates that the setlocale_r routine
1710 * is available to setlocale re-entrantly.
1712 /* SETLOCALE_R_PROTO:
1713 * This symbol encodes the prototype of setlocale_r.
1714 * It is zero if d_setlocale_r is undef, and one of the
1715 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setlocale_r
1718 /*#define HAS_SETLOCALE_R / **/
1719 #define SETLOCALE_R_PROTO 0 /**/
1722 * This symbol, if defined, indicates that the setnetent_r routine
1723 * is available to setnetent re-entrantly.
1725 /* SETNETENT_R_PROTO:
1726 * This symbol encodes the prototype of setnetent_r.
1727 * It is zero if d_setnetent_r is undef, and one of the
1728 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setnetent_r
1731 /*#define HAS_SETNETENT_R / **/
1732 #define SETNETENT_R_PROTO 0 /**/
1734 /* HAS_SETPROTOENT_R:
1735 * This symbol, if defined, indicates that the setprotoent_r routine
1736 * is available to setprotoent re-entrantly.
1738 /* SETPROTOENT_R_PROTO:
1739 * This symbol encodes the prototype of setprotoent_r.
1740 * It is zero if d_setprotoent_r is undef, and one of the
1741 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setprotoent_r
1744 /*#define HAS_SETPROTOENT_R / **/
1745 #define SETPROTOENT_R_PROTO 0 /**/
1748 * This symbol, if defined, indicates that the setpwent_r routine
1749 * is available to setpwent re-entrantly.
1751 /* SETPWENT_R_PROTO:
1752 * This symbol encodes the prototype of setpwent_r.
1753 * It is zero if d_setpwent_r is undef, and one of the
1754 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setpwent_r
1757 /*#define HAS_SETPWENT_R / **/
1758 #define SETPWENT_R_PROTO 0 /**/
1760 /* HAS_SETSERVENT_R:
1761 * This symbol, if defined, indicates that the setservent_r routine
1762 * is available to setservent re-entrantly.
1764 /* SETSERVENT_R_PROTO:
1765 * This symbol encodes the prototype of setservent_r.
1766 * It is zero if d_setservent_r is undef, and one of the
1767 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setservent_r
1770 /*#define HAS_SETSERVENT_R / **/
1771 #define SETSERVENT_R_PROTO 0 /**/
1774 * This symbol, if defined, indicates that Vr4's sigaction() routine
1777 /*#define HAS_SIGACTION / **/
1780 * This variable indicates to the C program that the sigsetjmp()
1781 * routine is available to save the calling process's registers
1782 * and stack environment for later use by siglongjmp(), and
1783 * to optionally save the process's signal mask. See
1784 * Sigjmp_buf, Sigsetjmp, and Siglongjmp.
1787 * This is the buffer type to be used with Sigsetjmp and Siglongjmp.
1790 * This macro is used in the same way as sigsetjmp(), but will invoke
1791 * traditional setjmp() if sigsetjmp isn't available.
1792 * See HAS_SIGSETJMP.
1795 * This macro is used in the same way as siglongjmp(), but will invoke
1796 * traditional longjmp() if siglongjmp isn't available.
1797 * See HAS_SIGSETJMP.
1799 /*#define HAS_SIGSETJMP / **/
1800 #ifdef HAS_SIGSETJMP
1801 #define Sigjmp_buf sigjmp_buf
1802 #define Sigsetjmp(buf,save_mask) sigsetjmp((buf),(save_mask))
1803 #define Siglongjmp(buf,retval) siglongjmp((buf),(retval))
1805 #define Sigjmp_buf jmp_buf
1806 #define Sigsetjmp(buf,save_mask) setjmp((buf))
1807 #define Siglongjmp(buf,retval) longjmp((buf),(retval))
1811 * This symbol, if defined, indicates that the srand48_r routine
1812 * is available to srand48 re-entrantly.
1815 * This symbol encodes the prototype of srand48_r.
1816 * It is zero if d_srand48_r is undef, and one of the
1817 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_srand48_r
1820 /*#define HAS_SRAND48_R / **/
1821 #define SRAND48_R_PROTO 0 /**/
1824 * This symbol, if defined, indicates that the srandom_r routine
1825 * is available to srandom re-entrantly.
1828 * This symbol encodes the prototype of srandom_r.
1829 * It is zero if d_srandom_r is undef, and one of the
1830 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_srandom_r
1833 /*#define HAS_SRANDOM_R / **/
1834 #define SRANDOM_R_PROTO 0 /**/
1837 * This symbol is defined if the _ptr and _cnt fields (or similar)
1838 * of the stdio FILE structure can be used to access the stdio buffer
1839 * for a file handle. If this is defined, then the FILE_ptr(fp)
1840 * and FILE_cnt(fp) macros will also be defined and should be used
1841 * to access these fields.
1844 * This macro is used to access the _ptr field (or equivalent) of the
1845 * FILE structure pointed to by its argument. This macro will always be
1846 * defined if USE_STDIO_PTR is defined.
1848 /* STDIO_PTR_LVALUE:
1849 * This symbol is defined if the FILE_ptr macro can be used as an
1853 * This macro is used to access the _cnt field (or equivalent) of the
1854 * FILE structure pointed to by its argument. This macro will always be
1855 * defined if USE_STDIO_PTR is defined.
1857 /* STDIO_CNT_LVALUE:
1858 * This symbol is defined if the FILE_cnt macro can be used as an
1861 /* STDIO_PTR_LVAL_SETS_CNT:
1862 * This symbol is defined if using the FILE_ptr macro as an lvalue
1863 * to increase the pointer by n has the side effect of decreasing the
1864 * value of File_cnt(fp) by n.
1866 /* STDIO_PTR_LVAL_NOCHANGE_CNT:
1867 * This symbol is defined if using the FILE_ptr macro as an lvalue
1868 * to increase the pointer by n leaves File_cnt(fp) unchanged.
1870 #define USE_STDIO_PTR /**/
1871 #ifdef USE_STDIO_PTR
1872 #define FILE_ptr(fp) ((fp)->_ptr)
1873 #define STDIO_PTR_LVALUE /**/
1874 #define FILE_cnt(fp) ((fp)->_cnt)
1875 #define STDIO_CNT_LVALUE /**/
1876 /*#define STDIO_PTR_LVAL_SETS_CNT / **/
1877 #define STDIO_PTR_LVAL_NOCHANGE_CNT /**/
1881 * This symbol is defined if the _base field (or similar) of the
1882 * stdio FILE structure can be used to access the stdio buffer for
1883 * a file handle. If this is defined, then the FILE_base(fp) macro
1884 * will also be defined and should be used to access this field.
1885 * Also, the FILE_bufsiz(fp) macro will be defined and should be used
1886 * to determine the number of bytes in the buffer. USE_STDIO_BASE
1887 * will never be defined unless USE_STDIO_PTR is.
1890 * This macro is used to access the _base field (or equivalent) of the
1891 * FILE structure pointed to by its argument. This macro will always be
1892 * defined if USE_STDIO_BASE is defined.
1895 * This macro is used to determine the number of bytes in the I/O
1896 * buffer pointed to by _base field (or equivalent) of the FILE
1897 * structure pointed to its argument. This macro will always be defined
1898 * if USE_STDIO_BASE is defined.
1900 #define USE_STDIO_BASE /**/
1901 #ifdef USE_STDIO_BASE
1902 #define FILE_base(fp) ((fp)->_base)
1903 #define FILE_bufsiz(fp) ((fp)->_cnt + (fp)->_ptr - (fp)->_base)
1907 * This symbol, if defined, indicates that the strerror_r routine
1908 * is available to strerror re-entrantly.
1910 /* STRERROR_R_PROTO:
1911 * This symbol encodes the prototype of strerror_r.
1912 * It is zero if d_strerror_r is undef, and one of the
1913 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_strerror_r
1916 /*#define HAS_STRERROR_R / **/
1917 #define STRERROR_R_PROTO 0 /**/
1920 * This symbol, if defined, indicates that the tmpnam_r routine
1921 * is available to tmpnam re-entrantly.
1924 * This symbol encodes the prototype of tmpnam_r.
1925 * It is zero if d_tmpnam_r is undef, and one of the
1926 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_tmpnam_r
1929 /*#define HAS_TMPNAM_R / **/
1930 #define TMPNAM_R_PROTO 0 /**/
1933 * This symbol, if defined, indicates that the ttyname_r routine
1934 * is available to ttyname re-entrantly.
1937 * This symbol encodes the prototype of ttyname_r.
1938 * It is zero if d_ttyname_r is undef, and one of the
1939 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_ttyname_r
1942 /*#define HAS_TTYNAME_R / **/
1943 #define TTYNAME_R_PROTO 0 /**/
1946 * This symbol, if defined, indicates that the vprintf routine is available
1947 * to printf with a pointer to an argument list. If unavailable, you
1948 * may need to write your own, probably in terms of _doprnt().
1950 /* USE_CHAR_VSPRINTF:
1951 * This symbol is defined if this system has vsprintf() returning type
1952 * (char*). The trend seems to be to declare it as "int vsprintf()". It
1953 * is up to the package author to declare vsprintf correctly based on the
1956 #define HAS_VPRINTF /**/
1957 /*#define USE_CHAR_VSPRINTF / **/
1960 * This symbol contains the size of a double, so that the C preprocessor
1961 * can make decisions based on it.
1963 #define DOUBLESIZE 8 /**/
1966 * This symbol, if defined, indicates to the C program that it should
1967 * include <mach/cthreads.h>.
1969 /*#define I_MACH_CTHREADS / **/
1972 * This symbol, if defined, indicates to the C program that it should
1973 * include <pthread.h>.
1975 /*#define I_PTHREAD / **/
1978 * This symbol, if defined, indicates to the C program that it should
1979 * include <sys/access.h>.
1981 /*#define I_SYS_ACCESS / **/
1984 * This symbol, if defined, indicates to the C program that it should
1985 * include <sys/security.h>.
1987 /*#define I_SYS_SECURITY / **/
1990 * This symbol, if defined, indicates to the C program that it should
1994 * This symbol, if defined, indicates to the C program that it should
1995 * include <sys/time.h>.
1997 /* I_SYS_TIME_KERNEL:
1998 * This symbol, if defined, indicates to the C program that it should
1999 * include <sys/time.h> with KERNEL defined.
2002 * This symbol, if defined, indicates to the C program that
2003 * the struct tm has a tm_zone field.
2005 /* HAS_TM_TM_GMTOFF:
2006 * This symbol, if defined, indicates to the C program that
2007 * the struct tm has a tm_gmtoff field.
2010 /*#define I_SYS_TIME / **/
2011 /*#define I_SYS_TIME_KERNEL / **/
2012 /*#define HAS_TM_TM_ZONE / **/
2013 /*#define HAS_TM_TM_GMTOFF / **/
2015 /* PERL_INC_VERSION_LIST:
2016 * This variable specifies the list of subdirectories in over
2017 * which perl.c:incpush() and lib/lib.pm will automatically
2018 * search when adding directories to @INC, in a format suitable
2019 * for a C initialization string. See the inc_version_list entry
2020 * in Porting/Glossary for more details.
2022 /*#define PERL_INC_VERSION_LIST 0 / **/
2024 /* INSTALL_USR_BIN_PERL:
2025 * This symbol, if defined, indicates that Perl is to be installed
2026 * also as /usr/bin/perl.
2028 /*#define INSTALL_USR_BIN_PERL / **/
2031 * This symbol is to be used during open() or fcntl(F_SETFL) to turn on
2032 * non-blocking I/O for the file descriptor. Note that there is no way
2033 * back, i.e. you cannot turn it blocking again this way. If you wish to
2034 * alternatively switch between blocking and non-blocking, use the
2035 * ioctl(FIOSNBIO) call instead, but that is not supported by all devices.
2038 * This symbol holds the errno error code set by read() when no data was
2039 * present on the non-blocking file descriptor.
2042 * This symbol holds the return code from read() when no data is present
2043 * on the non-blocking file descriptor. Be careful! If EOF_NONBLOCK is
2044 * not defined, then you can't distinguish between no data and EOF by
2045 * issuing a read(). You'll have to find another way to tell for sure!
2048 * This symbol, if defined, indicates to the C program that a read() on
2049 * a non-blocking file descriptor will return 0 on EOF, and not the value
2050 * held in RD_NODATA (-1 usually, in that case!).
2052 #define VAL_O_NONBLOCK O_NONBLOCK
2053 #define VAL_EAGAIN EAGAIN
2054 #define RD_NODATA -1
2055 #define EOF_NONBLOCK
2057 /* PERL_OTHERLIBDIRS:
2058 * This variable contains a colon-separated set of paths for the perl
2059 * binary to search for additional library files or modules.
2060 * These directories will be tacked to the end of @INC.
2061 * Perl will automatically search below each path for version-
2062 * and architecture-specific directories. See PERL_INC_VERSION_LIST
2065 /*#define PERL_OTHERLIBDIRS "" / **/
2068 * This symbol contains the name of the private library for this package.
2069 * The library is private in the sense that it needn't be in anyone's
2070 * execution path, but it should be accessible by the world. The program
2071 * should be prepared to do ~ expansion.
2074 * This symbol contains the ~name expanded version of PRIVLIB, to be used
2075 * in programs that are not prepared to deal with ~ expansion at run-time.
2077 #define PRIVLIB "c:\\perl\\lib" /**/
2078 #define PRIVLIB_EXP (win32_get_privlib(PERL_VERSION_STRING, NULL)) /**/
2081 * This symbol contains the size of a pointer, so that the C preprocessor
2082 * can make decisions based on it. It will be sizeof(void *) if
2083 * the compiler supports (void *); otherwise it will be
2086 #define PTRSIZE 4 /**/
2089 * This macro is to be used to generate uniformly distributed
2090 * random numbers over the range [0., 1.[. You may have to supply
2091 * an 'extern double drand48();' in your program since SunOS 4.1.3
2092 * doesn't provide you with anything relevant in its headers.
2093 * See HAS_DRAND48_PROTO.
2096 * This symbol defines the type of the argument of the
2097 * random seed function.
2100 * This symbol defines the macro to be used in seeding the
2101 * random number generator (see Drand01).
2104 * This symbol indicates how many bits are produced by the
2105 * function used to generate normalized random numbers.
2106 * Values include 15, 16, 31, and 48.
2108 #define Drand01() (rand()/(double)((unsigned)1<<RANDBITS)) /**/
2109 #define Rand_seed_t unsigned /**/
2110 #define seedDrand01(x) srand((Rand_seed_t)x) /**/
2111 #define RANDBITS 15 /**/
2114 * This symbol contains the name of the private library for this package.
2115 * The library is private in the sense that it needn't be in anyone's
2116 * execution path, but it should be accessible by the world. The program
2117 * should be prepared to do ~ expansion.
2118 * The standard distribution will put nothing in this directory.
2119 * After perl has been installed, users may install their own local
2120 * architecture-dependent modules in this directory with
2121 * MakeMaker Makefile.PL
2122 * or equivalent. See INSTALL for details.
2125 * This symbol contains the ~name expanded version of SITEARCH, to be used
2126 * in programs that are not prepared to deal with ~ expansion at run-time.
2128 #define SITEARCH "c:\\perl\\site\\lib" /**/
2129 /*#define SITEARCH_EXP "" / **/
2132 * This symbol contains the name of the private library for this package.
2133 * The library is private in the sense that it needn't be in anyone's
2134 * execution path, but it should be accessible by the world. The program
2135 * should be prepared to do ~ expansion.
2136 * The standard distribution will put nothing in this directory.
2137 * After perl has been installed, users may install their own local
2138 * architecture-independent modules in this directory with
2139 * MakeMaker Makefile.PL
2140 * or equivalent. See INSTALL for details.
2143 * This symbol contains the ~name expanded version of SITELIB, to be used
2144 * in programs that are not prepared to deal with ~ expansion at run-time.
2147 * This define is SITELIB_EXP with any trailing version-specific component
2148 * removed. The elements in inc_version_list (inc_version_list.U) can
2149 * be tacked onto this variable to generate a list of directories to search.
2151 #define SITELIB "c:\\perl\\site\\lib" /**/
2152 #define SITELIB_EXP (win32_get_sitelib(PERL_VERSION_STRING, NULL)) /**/
2153 #define SITELIB_STEM "" /**/
2156 * This symbol holds the type used by functions that return
2157 * a count of bytes or an error condition. It must be a signed type.
2158 * It is usually ssize_t, but may be long or int, etc.
2159 * It may be necessary to include <sys/types.h> or <unistd.h>
2160 * to get any typedef'ed information.
2161 * We will pick a type such that sizeof(SSize_t) == sizeof(Size_t).
2163 #define SSize_t int /* signed count of bytes */
2166 * This symbol, if defined, indicates that Perl should be built to
2167 * use the interpreter-based threading implementation.
2170 * This symbol, if defined, indicates that Perl should be built to
2171 * use the 5.005-based threading implementation.
2172 * Only valid up to 5.8.x.
2174 /* OLD_PTHREADS_API:
2175 * This symbol, if defined, indicates that Perl should
2176 * be built to use the old draft POSIX threads API.
2178 /* USE_REENTRANT_API:
2179 * This symbol, if defined, indicates that Perl should
2180 * try to use the various _r versions of library functions.
2181 * This is extremely experimental.
2183 /*#define USE_5005THREADS / **/
2184 /*#define USE_ITHREADS / **/
2185 #if defined(USE_5005THREADS) && !defined(USE_ITHREADS)
2186 #define USE_THREADS /* until src is revised*/
2188 /*#define OLD_PTHREADS_API / **/
2189 /*#define USE_REENTRANT_API / **/
2192 * If defined, this symbol contains the name of a private library.
2193 * The library is private in the sense that it needn't be in anyone's
2194 * execution path, but it should be accessible by the world.
2195 * It may have a ~ on the front.
2196 * The standard distribution will put nothing in this directory.
2197 * Vendors who distribute perl may wish to place their own
2198 * architecture-dependent modules and extensions in this directory with
2199 * MakeMaker Makefile.PL INSTALLDIRS=vendor
2200 * or equivalent. See INSTALL for details.
2202 /* PERL_VENDORARCH_EXP:
2203 * This symbol contains the ~name expanded version of PERL_VENDORARCH, to be used
2204 * in programs that are not prepared to deal with ~ expansion at run-time.
2206 /*#define PERL_VENDORARCH "" / **/
2207 /*#define PERL_VENDORARCH_EXP "" / **/
2209 /* PERL_VENDORLIB_EXP:
2210 * This symbol contains the ~name expanded version of VENDORLIB, to be used
2211 * in programs that are not prepared to deal with ~ expansion at run-time.
2213 /* PERL_VENDORLIB_STEM:
2214 * This define is PERL_VENDORLIB_EXP with any trailing version-specific component
2215 * removed. The elements in inc_version_list (inc_version_list.U) can
2216 * be tacked onto this variable to generate a list of directories to search.
2218 /*#define PERL_VENDORLIB_EXP "" / **/
2219 /*#define PERL_VENDORLIB_STEM "" / **/
2221 /* HAS_STATIC_INLINE:
2222 * This symbol, if defined, indicates that the C compiler supports
2223 * C99-style static inline. That is, the function can't be called
2224 * from another translation unit.
2226 /* PERL_STATIC_INLINE:
2227 * This symbol gives the best-guess incantation to use for static
2228 * inline functions. If HAS_STATIC_INLINE is defined, this will
2229 * give C99-style inline. If HAS_STATIC_INLINE is not defined,
2230 * this will give a plain 'static'. It will always be defined
2231 * to something that gives static linkage.
2232 * Possibilities include
2233 * static inline (c99)
2234 * static __inline__ (gcc -ansi)
2235 * static __inline (MSVC)
2236 * static _inline (older MSVC)
2237 * static (c89 compilers)
2239 #define HAS_STATIC_INLINE /**/
2241 # define PERL_STATIC_INLINE static __inline /**/
2243 # define PERL_STATIC_INLINE static __inline__ /**/
2247 * This symbol, if defined, indicates that this system uses
2250 /*#define EBCDIC / **/
2253 * This symbol contains the name of the operating system, as determined
2254 * by Configure. You shouldn't rely on it too much; the specific
2255 * feature tests from Configure are generally more reliable.
2258 * This symbol contains the version of the operating system, as determined
2259 * by Configure. You shouldn't rely on it too much; the specific
2260 * feature tests from Configure are generally more reliable.
2262 #define OSNAME "MSWin32" /**/
2263 #define OSVERS "5.1" /**/
2266 * This macro concatenates 2 tokens together.
2269 * This macro surrounds its token with double quotes.
2272 #define CAT2(a,b) a/**/b
2273 #define STRINGIFY(a) "a"
2276 #define PeRl_CaTiFy(a, b) a ## b
2277 #define PeRl_StGiFy(a) #a
2278 #define CAT2(a,b) PeRl_CaTiFy(a,b)
2279 #define StGiFy(a) PeRl_StGiFy(a)
2280 #define STRINGIFY(a) PeRl_StGiFy(a)
2282 #if 42 != 1 && 42 != 42
2283 #include "Bletch: How does this C preprocessor concatenate tokens?"
2287 * This symbol contains the first part of the string which will invoke
2288 * the C preprocessor on the standard input and produce to standard
2289 * output. Typical value of "cc -E" or "/lib/cpp", but it can also
2290 * call a wrapper. See CPPRUN.
2293 * This symbol contains the second part of the string which will invoke
2294 * the C preprocessor on the standard input and produce to standard
2295 * output. This symbol will have the value "-" if CPPSTDIN needs a minus
2296 * to specify standard input, otherwise the value is "".
2299 * This symbol contains the string which will invoke a C preprocessor on
2300 * the standard input and produce to standard output. It needs to end
2301 * with CPPLAST, after all other preprocessor flags have been specified.
2302 * The main difference with CPPSTDIN is that this program will never be a
2303 * pointer to a shell wrapper, i.e. it will be empty if no preprocessor is
2304 * available directly to the user. Note that it may well be different from
2305 * the preprocessor used to compile the C program.
2308 * This symbol is intended to be used along with CPPRUN in the same manner
2309 * symbol CPPMINUS is used with CPPSTDIN. It contains either "-" or "".
2312 # define CPPSTDIN "cppstdin"
2313 # define CPPMINUS ""
2314 # define CPPRUN "cl -nologo -E"
2316 # define CPPSTDIN "gcc -E"
2317 # define CPPMINUS "-"
2318 # define CPPRUN "gcc -E"
2323 * This manifest constant lets the C program know that the access()
2324 * system call is available to check for accessibility using real UID/GID.
2325 * (always present on UNIX.)
2327 #define HAS_ACCESS /**/
2329 /* HASATTRIBUTE_FORMAT:
2330 * Can we handle GCC attribute for checking printf-style formats
2332 /* PRINTF_FORMAT_NULL_OK:
2333 * Allows __printf__ format to be null when checking printf-style
2335 /* HASATTRIBUTE_MALLOC:
2336 * Can we handle GCC attribute for malloc-style functions.
2338 /* HASATTRIBUTE_NONNULL:
2339 * Can we handle GCC attribute for nonnull function parms.
2341 /* HASATTRIBUTE_NORETURN:
2342 * Can we handle GCC attribute for functions that do not return
2344 /* HASATTRIBUTE_PURE:
2345 * Can we handle GCC attribute for pure functions
2347 /* HASATTRIBUTE_UNUSED:
2348 * Can we handle GCC attribute for unused variables and arguments
2350 /* HASATTRIBUTE_DEPRECATED:
2351 * Can we handle GCC attribute for marking deprecated APIs
2353 /* HASATTRIBUTE_WARN_UNUSED_RESULT:
2354 * Can we handle GCC attribute for warning on unused results
2356 /*#define HASATTRIBUTE_DEPRECATED / **/
2357 /*#define HASATTRIBUTE_FORMAT / **/
2358 /*#define PRINTF_FORMAT_NULL_OK / **/
2359 /*#define HASATTRIBUTE_NORETURN / **/
2360 /*#define HASATTRIBUTE_MALLOC / **/
2361 /*#define HASATTRIBUTE_NONNULL / **/
2362 /*#define HASATTRIBUTE_PURE / **/
2363 /*#define HASATTRIBUTE_UNUSED / **/
2364 /*#define HASATTRIBUTE_WARN_UNUSED_RESULT / **/
2367 * This symbol, if defined, indicates that this C compiler knows about
2368 * the const type. There is no need to actually test for that symbol
2369 * within your programs. The mere use of the "const" keyword will
2370 * trigger the necessary tests.
2372 #define HASCONST /**/
2378 * This symbol, if defined, indicates that the C-shell exists.
2381 * This symbol, if defined, contains the full pathname of csh.
2383 /*#define HAS_CSH / **/
2388 /* SETUID_SCRIPTS_ARE_SECURE_NOW:
2389 * This symbol, if defined, indicates that the bug that prevents
2390 * setuid scripts from being secure is not present in this kernel.
2393 * This symbol, if defined, indicates that the C program should
2394 * check the script that it is executing for setuid/setgid bits, and
2395 * attempt to emulate setuid/setgid on systems that have disabled
2396 * setuid #! scripts because the kernel can't do it securely.
2397 * It is up to the package designer to make sure that this emulation
2398 * is done securely. Among other things, it should do an fstat on
2399 * the script it just opened to make sure it really is a setuid/setgid
2400 * script, it should make sure the arguments passed correspond exactly
2401 * to the argument on the #! line, and it should not trust any
2402 * subprocesses to which it must pass the filename rather than the
2403 * file descriptor of the script to be executed.
2405 /*#define SETUID_SCRIPTS_ARE_SECURE_NOW / **/
2406 /*#define DOSUID / **/
2409 * This symbol, if defined, indicates that the getgrent routine is
2410 * available for finalizing sequential access of the group database.
2412 /*#define HAS_ENDGRENT / **/
2415 * This symbol, if defined, indicates that the endhostent() routine is
2416 * available to close whatever was being used for host queries.
2418 /*#define HAS_ENDHOSTENT / **/
2421 * This symbol, if defined, indicates that the endnetent() routine is
2422 * available to close whatever was being used for network queries.
2424 /*#define HAS_ENDNETENT / **/
2427 * This symbol, if defined, indicates that the endprotoent() routine is
2428 * available to close whatever was being used for protocol queries.
2430 /*#define HAS_ENDPROTOENT / **/
2433 * This symbol, if defined, indicates that the getgrent routine is
2434 * available for finalizing sequential access of the passwd database.
2436 /*#define HAS_ENDPWENT / **/
2439 * This symbol, if defined, indicates that the endservent() routine is
2440 * available to close whatever was being used for service queries.
2442 /*#define HAS_ENDSERVENT / **/
2445 * This symbol, if defined, indicates that the system supports filenames
2446 * longer than 14 characters.
2448 #define FLEXFILENAMES /**/
2451 * This symbol, if defined, indicates that the getgrent routine is
2452 * available for sequential access of the group database.
2454 /*#define HAS_GETGRENT / **/
2456 /* HAS_GETHOSTBYADDR:
2457 * This symbol, if defined, indicates that the gethostbyaddr() routine is
2458 * available to look up hosts by their IP addresses.
2460 #define HAS_GETHOSTBYADDR /**/
2462 /* HAS_GETHOSTBYNAME:
2463 * This symbol, if defined, indicates that the gethostbyname() routine is
2464 * available to look up host names in some data base or other.
2466 #define HAS_GETHOSTBYNAME /**/
2469 * This symbol, if defined, indicates that the gethostent() routine is
2470 * available to look up host names in some data base or another.
2472 /*#define HAS_GETHOSTENT / **/
2475 * This symbol, if defined, indicates that the C program may use the
2476 * gethostname() routine to derive the host name. See also HAS_UNAME
2480 * This symbol, if defined, indicates that the C program may use the
2481 * uname() routine to derive the host name. See also HAS_GETHOSTNAME
2485 * This symbol, if defined, indicates the command to feed to the
2486 * popen() routine to derive the host name. See also HAS_GETHOSTNAME
2487 * and HAS_UNAME. Note that the command uses a fully qualified path,
2488 * so that it is safe even if used by a process with super-user
2492 * This symbol, if defined, indicates that the C program may use the
2493 * contents of PHOSTNAME as a command to feed to the popen() routine
2494 * to derive the host name.
2496 #define HAS_GETHOSTNAME /**/
2497 #define HAS_UNAME /**/
2498 /*#define HAS_PHOSTNAME / **/
2499 #ifdef HAS_PHOSTNAME
2500 #define PHOSTNAME "" /* How to get the host name */
2503 /* HAS_GETNETBYADDR:
2504 * This symbol, if defined, indicates that the getnetbyaddr() routine is
2505 * available to look up networks by their IP addresses.
2507 /*#define HAS_GETNETBYADDR / **/
2509 /* HAS_GETNETBYNAME:
2510 * This symbol, if defined, indicates that the getnetbyname() routine is
2511 * available to look up networks by their names.
2513 /*#define HAS_GETNETBYNAME / **/
2516 * This symbol, if defined, indicates that the getnetent() routine is
2517 * available to look up network names in some data base or another.
2519 /*#define HAS_GETNETENT / **/
2522 * This symbol, if defined, indicates that the getprotoent() routine is
2523 * available to look up protocols in some data base or another.
2525 /*#define HAS_GETPROTOENT / **/
2528 * This symbol, if defined, indicates that the getpgrp routine is
2529 * available to get the current process group.
2532 * This symbol, if defined, indicates that getpgrp needs one
2533 * arguments whereas USG one needs none.
2535 /*#define HAS_GETPGRP / **/
2536 /*#define USE_BSD_GETPGRP / **/
2538 /* HAS_GETPROTOBYNAME:
2539 * This symbol, if defined, indicates that the getprotobyname()
2540 * routine is available to look up protocols by their name.
2542 /* HAS_GETPROTOBYNUMBER:
2543 * This symbol, if defined, indicates that the getprotobynumber()
2544 * routine is available to look up protocols by their number.
2546 #define HAS_GETPROTOBYNAME /**/
2547 #define HAS_GETPROTOBYNUMBER /**/
2550 * This symbol, if defined, indicates that the getpwent routine is
2551 * available for sequential access of the passwd database.
2552 * If this is not available, the older getpw() function may be available.
2554 /*#define HAS_GETPWENT / **/
2557 * This symbol, if defined, indicates that the getservent() routine is
2558 * available to look up network services in some data base or another.
2560 /*#define HAS_GETSERVENT / **/
2562 /* HAS_GETSERVBYNAME:
2563 * This symbol, if defined, indicates that the getservbyname()
2564 * routine is available to look up services by their name.
2566 /* HAS_GETSERVBYPORT:
2567 * This symbol, if defined, indicates that the getservbyport()
2568 * routine is available to look up services by their port.
2570 #define HAS_GETSERVBYNAME /**/
2571 #define HAS_GETSERVBYPORT /**/
2574 * This symbol, if defined, indicates that the htonl() routine (and
2575 * friends htons() ntohl() ntohs()) are available to do network
2576 * order byte swapping.
2579 * This symbol, if defined, indicates that the htons() routine (and
2580 * friends htonl() ntohl() ntohs()) are available to do network
2581 * order byte swapping.
2584 * This symbol, if defined, indicates that the ntohl() routine (and
2585 * friends htonl() htons() ntohs()) are available to do network
2586 * order byte swapping.
2589 * This symbol, if defined, indicates that the ntohs() routine (and
2590 * friends htonl() htons() ntohl()) are available to do network
2591 * order byte swapping.
2593 #define HAS_HTONL /**/
2594 #define HAS_HTONS /**/
2595 #define HAS_NTOHL /**/
2596 #define HAS_NTOHS /**/
2599 * This symbol will be defined if the C compiler supports long
2603 * This symbol contains the size of a long double, so that the
2604 * C preprocessor can make decisions based on it. It is only
2605 * defined if the system supports long doubles.
2607 #define HAS_LONG_DOUBLE /**/
2608 #ifdef HAS_LONG_DOUBLE
2610 # define LONG_DOUBLESIZE 8 /**/
2612 # define LONG_DOUBLESIZE 12 /**/
2617 * This symbol will be defined if the C compiler supports long long.
2620 * This symbol contains the size of a long long, so that the
2621 * C preprocessor can make decisions based on it. It is only
2622 * defined if the system supports long long.
2624 /*#define HAS_LONG_LONG / **/
2625 #ifdef HAS_LONG_LONG
2626 #define LONGLONGSIZE 8 /**/
2630 * This symbol, if defined, indicates that the memchr routine is available
2631 * to locate characters within a C string.
2633 #define HAS_MEMCHR /**/
2636 * This symbol, if defined, indicates that the mkstemp routine is
2637 * available to exclusively create and open a uniquely named
2640 /*#define HAS_MKSTEMP / **/
2643 * This symbol, if defined, indicates that the mmap system call is
2644 * available to map a file into memory.
2647 * This symbol holds the return type of the mmap() system call
2648 * (and simultaneously the type of the first argument).
2649 * Usually set to 'void *' or 'caddr_t'.
2651 /*#define HAS_MMAP / **/
2652 #define Mmap_t void * /**/
2655 * This symbol, if defined, indicates that the entire msg*(2) library is
2656 * supported (IPC mechanism based on message queues).
2658 /*#define HAS_MSG / **/
2661 * This symbol, if defined, indicates that the entire sem*(2) library is
2664 /*#define HAS_SEM / **/
2667 * This symbol, if defined, indicates that the setgrent routine is
2668 * available for initializing sequential access of the group database.
2670 /*#define HAS_SETGRENT / **/
2673 * This symbol, if defined, indicates that the sethostent() routine is
2676 /*#define HAS_SETHOSTENT / **/
2679 * This symbol, if defined, indicates that the setnetent() routine is
2682 /*#define HAS_SETNETENT / **/
2685 * This symbol, if defined, indicates that the setprotoent() routine is
2688 /*#define HAS_SETPROTOENT / **/
2691 * This symbol, if defined, indicates that the setpgrp routine is
2692 * available to set the current process group.
2695 * This symbol, if defined, indicates that setpgrp needs two
2696 * arguments whereas USG one needs none. See also HAS_SETPGID
2697 * for a POSIX interface.
2699 /*#define HAS_SETPGRP / **/
2700 /*#define USE_BSD_SETPGRP / **/
2703 * This symbol, if defined, indicates that the setpwent routine is
2704 * available for initializing sequential access of the passwd database.
2706 /*#define HAS_SETPWENT / **/
2709 * This symbol, if defined, indicates that the setservent() routine is
2712 /*#define HAS_SETSERVENT / **/
2715 * This symbol, if defined, indicates that the setvbuf routine is
2716 * available to change buffering on an open stdio stream.
2717 * to a line-buffered mode.
2719 #define HAS_SETVBUF /**/
2722 * This symbol, if defined, indicates that the entire shm*(2) library is
2725 /*#define HAS_SHM / **/
2728 * This symbol holds the return type of the shmat() system call.
2729 * Usually set to 'void *' or 'char *'.
2731 /* HAS_SHMAT_PROTOTYPE:
2732 * This symbol, if defined, indicates that the sys/shm.h includes
2733 * a prototype for shmat(). Otherwise, it is up to the program to
2734 * guess one. Shmat_t shmat(int, Shmat_t, int) is a good guess,
2735 * but not always right so it should be emitted by the program only
2736 * when HAS_SHMAT_PROTOTYPE is not defined to avoid conflicting defs.
2738 #define Shmat_t void * /**/
2739 /*#define HAS_SHMAT_PROTOTYPE / **/
2742 * This symbol, if defined, indicates that the BSD socket interface is
2746 * This symbol, if defined, indicates that the BSD socketpair() call is
2750 * This symbol, if defined, indicates that the MSG_CTRUNC is supported.
2751 * Checking just with #ifdef might not be enough because this symbol
2752 * has been known to be an enum.
2754 /* HAS_MSG_DONTROUTE:
2755 * This symbol, if defined, indicates that the MSG_DONTROUTE is supported.
2756 * Checking just with #ifdef might not be enough because this symbol
2757 * has been known to be an enum.
2760 * This symbol, if defined, indicates that the MSG_OOB is supported.
2761 * Checking just with #ifdef might not be enough because this symbol
2762 * has been known to be an enum.
2765 * This symbol, if defined, indicates that the MSG_PEEK is supported.
2766 * Checking just with #ifdef might not be enough because this symbol
2767 * has been known to be an enum.
2770 * This symbol, if defined, indicates that the MSG_PROXY is supported.
2771 * Checking just with #ifdef might not be enough because this symbol
2772 * has been known to be an enum.
2775 * This symbol, if defined, indicates that the SCM_RIGHTS is supported.
2776 * Checking just with #ifdef might not be enough because this symbol
2777 * has been known to be an enum.
2779 /* HAS_SOCKADDR_SA_LEN:
2780 * This symbol, if defined, indicates that the struct sockaddr
2781 * structure has a member called sa_len, indicating the length of
2784 /* HAS_SIN6_SCOPE_ID:
2785 * This symbol, if defined, indicates that the struct sockaddr_in6
2786 * structure has a member called sin6_scope_id.
2788 #define HAS_SOCKET /**/
2789 /*#define HAS_SOCKETPAIR / **/
2790 /*#define HAS_SOCKADDR_SA_LEN / **/
2791 /*#define HAS_MSG_CTRUNC / **/
2792 /*#define HAS_MSG_DONTROUTE / **/
2793 /*#define HAS_MSG_OOB / **/
2794 /*#define HAS_MSG_PEEK / **/
2795 /*#define HAS_MSG_PROXY / **/
2796 /*#define HAS_SCM_RIGHTS / **/
2797 #define HAS_SIN6_SCOPE_ID /**/
2800 * This symbol is defined if this system has a stat structure declaring
2801 * st_blksize and st_blocks.
2803 #ifndef USE_STAT_BLOCKS
2804 /*#define USE_STAT_BLOCKS / **/
2808 * This symbol, if defined, indicates that this C compiler knows how
2809 * to copy structures. If undefined, you'll need to use a block copy
2810 * routine of some sort instead.
2812 #define USE_STRUCT_COPY /**/
2815 * This symbol, if defined, indicates that the strerror routine is
2816 * available to translate error numbers to strings. See the writeup
2817 * of Strerror() in this file before you try to define your own.
2820 * This symbol, if defined, indicates that the sys_errlist array is
2821 * available to translate error numbers to strings. The extern int
2822 * sys_nerr gives the size of that table.
2825 * This preprocessor symbol is defined as a macro if strerror() is
2826 * not available to translate error numbers to strings but sys_errlist[]
2829 #define HAS_STRERROR /**/
2830 #define HAS_SYS_ERRLIST /**/
2831 #define Strerror(e) strerror(e)
2834 * This symbol, if defined, indicates that the strtoul routine is
2835 * available to provide conversion of strings to unsigned long.
2837 #define HAS_STRTOUL /**/
2840 * This symbol, if defined, indicates that the union semun is
2841 * defined by including <sys/sem.h>. If not, the user code
2842 * probably needs to define it as:
2845 * struct semid_ds *buf;
2846 * unsigned short *array;
2849 /* USE_SEMCTL_SEMUN:
2850 * This symbol, if defined, indicates that union semun is
2851 * used for semctl IPC_STAT.
2853 /* USE_SEMCTL_SEMID_DS:
2854 * This symbol, if defined, indicates that struct semid_ds * is
2855 * used for semctl IPC_STAT.
2857 #define HAS_UNION_SEMUN /**/
2858 /*#define USE_SEMCTL_SEMUN / **/
2859 /*#define USE_SEMCTL_SEMID_DS / **/
2862 * This symbol, if defined, indicates that vfork() exists.
2864 /*#define HAS_VFORK / **/
2867 * This symbol, if defined, indicates that an emulation of the
2868 * fork routine is available.
2870 /*#define HAS_PSEUDOFORK / **/
2873 * This symbol's value is either "void" or "int", corresponding to the
2874 * appropriate return type of a signal handler. Thus, you can declare
2875 * a signal handler using "Signal_t (*handler)()", and define the
2876 * handler using "Signal_t handler(sig)".
2878 #define Signal_t void /* Signal handler's return type */
2881 * This symbol, if defined, indicates that this C compiler knows about
2882 * the volatile declaration.
2884 #define HASVOLATILE /**/
2890 * This symbol, if defined, indicates to the C program that it should
2891 * include <dirent.h>. Using this symbol also triggers the definition
2892 * of the Direntry_t define which ends up being 'struct dirent' or
2893 * 'struct direct' depending on the availability of <dirent.h>.
2896 * This symbol, if defined, indicates to the C program that the length
2897 * of directory entry names is provided by a d_namlen field. Otherwise
2898 * you need to do strlen() on the d_name field.
2901 * This symbol is set to 'struct direct' or 'struct dirent' depending on
2902 * whether dirent is available or not. You should use this pseudo type to
2903 * portably declare your directory entries.
2905 #define I_DIRENT /**/
2906 #define DIRNAMLEN /**/
2907 #define Direntry_t struct direct
2910 * This symbol, if defined, indicates to the C program that it should
2914 * This symbol, if defined, indicates to the C program that struct group
2915 * in <grp.h> contains gr_passwd.
2917 /*#define I_GRP / **/
2918 /*#define GRPASSWD / **/
2921 * This symbol, if defined, indicates that <ndbm.h> exists and should
2925 * This symbol, if defined, indicates that <gdbm/ndbm.h> exists and should
2926 * be included. This was the location of the ndbm.h compatibility file
2930 * This symbol, if defined, indicates that <gdbm-ndbm.h> exists and should
2931 * be included. This is the location of the ndbm.h compatibility file
2934 /* NDBM_H_USES_PROTOTYPES:
2935 * This symbol, if defined, indicates that <ndbm.h> uses real ANSI C
2936 * prototypes instead of K&R style function declarations without any
2937 * parameter information. While ANSI C prototypes are supported in C++,
2938 * K&R style function declarations will yield errors.
2940 /* GDBMNDBM_H_USES_PROTOTYPES:
2941 * This symbol, if defined, indicates that <gdbm/ndbm.h> uses real ANSI C
2942 * prototypes instead of K&R style function declarations without any
2943 * parameter information. While ANSI C prototypes are supported in C++,
2944 * K&R style function declarations will yield errors.
2946 /* GDBM_NDBM_H_USES_PROTOTYPES:
2947 * This symbol, if defined, indicates that <gdbm-ndbm.h> uses real ANSI C
2948 * prototypes instead of K&R style function declarations without any
2949 * parameter information. While ANSI C prototypes are supported in C++,
2950 * K&R style function declarations will yield errors.
2952 /*#define I_NDBM / **/
2953 /*#define I_GDBMNDBM / **/
2954 /*#define I_GDBM_NDBM / **/
2955 /*#define NDBM_H_USES_PROTOTYPES / **/
2956 /*#define GDBMNDBM_H_USES_PROTOTYPES / **/
2957 /*#define GDBM_NDBM_H_USES_PROTOTYPES / **/
2960 * This symbol, if defined, indicates that <netdb.h> exists and
2961 * should be included.
2963 /*#define I_NETDB / **/
2966 * This symbol, if defined, indicates that <net/errno.h> exists and
2967 * should be included.
2969 /*#define I_NET_ERRNO / **/
2972 * This symbol, if defined, indicates to the C program that it should
2976 * This symbol, if defined, indicates to the C program that struct passwd
2977 * contains pw_quota.
2980 * This symbol, if defined, indicates to the C program that struct passwd
2984 * This symbol, if defined, indicates to the C program that struct passwd
2985 * contains pw_change.
2988 * This symbol, if defined, indicates to the C program that struct passwd
2989 * contains pw_class.
2992 * This symbol, if defined, indicates to the C program that struct passwd
2993 * contains pw_expire.
2996 * This symbol, if defined, indicates to the C program that struct passwd
2997 * contains pw_comment.
3000 * This symbol, if defined, indicates to the C program that struct passwd
3001 * contains pw_gecos.
3004 * This symbol, if defined, indicates to the C program that struct passwd
3005 * contains pw_passwd.
3007 /*#define I_PWD / **/
3008 /*#define PWQUOTA / **/
3009 /*#define PWAGE / **/
3010 /*#define PWCHANGE / **/
3011 /*#define PWCLASS / **/
3012 /*#define PWEXPIRE / **/
3013 /*#define PWCOMMENT / **/
3014 /*#define PWGECOS / **/
3015 /*#define PWPASSWD / **/
3018 * This symbol, if defined, indicates that <sys/uio.h> exists and
3019 * should be included.
3021 /*#define I_SYSUIO / **/
3024 * This symbol, if defined, indicates that <stdarg.h> exists and should
3028 * This symbol, if defined, indicates to the C program that it should
3029 * include <varargs.h>.
3031 #define I_STDARG /**/
3032 /*#define I_VARARGS / **/
3035 * This variable contains the return type of free(). It is usually
3036 * void, but occasionally int.
3039 * This symbol is the type of pointer returned by malloc and realloc.
3041 #define Malloc_t void * /**/
3042 #define Free_t void /**/
3044 /* PERL_MALLOC_WRAP:
3045 * This symbol, if defined, indicates that we'd like malloc wrap checks.
3047 #define PERL_MALLOC_WRAP /**/
3050 * This symbol, if defined, indicates that we're using our own malloc.
3052 /*#define MYMALLOC / **/
3055 * If defined, this macro indicates that the C compiler can handle
3056 * function prototypes.
3059 * This macro is used to declare function parameters for folks who want
3060 * to make declarations with prototypes using a different style than
3061 * the above macros. Use double parentheses. For example:
3063 * int main _((int argc, char *argv[]));
3065 #define CAN_PROTOTYPE /**/
3066 #ifdef CAN_PROTOTYPE
3067 #define _(args) args
3073 * This symbol contains the full pathname to the shell used on this
3074 * on this system to execute Bourne shell scripts. Usually, this will be
3075 * /bin/sh, though it's possible that some systems will have /bin/ksh,
3076 * /bin/pdksh, /bin/ash, /bin/bash, or even something such as
3079 #define SH_PATH "cmd /x /c" /**/
3082 * This symbol contains a list of signal names in order of
3083 * signal number. This is intended
3084 * to be used as a static array initialization, like this:
3085 * char *sig_name[] = { SIG_NAME };
3086 * The signals in the list are separated with commas, and each signal
3087 * is surrounded by double quotes. There is no leading SIG in the signal
3088 * name, i.e. SIGQUIT is known as "QUIT".
3089 * Gaps in the signal numbers (up to NSIG) are filled in with NUMnn,
3090 * etc., where nn is the actual signal number (e.g. NUM37).
3091 * The signal number for sig_name[i] is stored in sig_num[i].
3092 * The last element is 0 to terminate the list with a NULL. This
3093 * corresponds to the 0 at the end of the sig_name_init list.
3094 * Note that this variable is initialized from the sig_name_init,
3095 * not from sig_name (which is unused).
3098 * This symbol contains a list of signal numbers, in the same order as the
3099 * SIG_NAME list. It is suitable for static array initialization, as in:
3100 * int sig_num[] = { SIG_NUM };
3101 * The signals in the list are separated with commas, and the indices
3102 * within that list and the SIG_NAME list match, so it's easy to compute
3103 * the signal name from a number or vice versa at the price of a small
3104 * dynamic linear lookup.
3105 * Duplicates are allowed, but are moved to the end of the list.
3106 * The signal number corresponding to sig_name[i] is sig_number[i].
3107 * if (i < NSIG) then sig_number[i] == i.
3108 * The last element is 0, corresponding to the 0 at the end of
3109 * the sig_name_init list.
3110 * Note that this variable is initialized from the sig_num_init,
3111 * not from sig_num (which is unused).
3114 * This variable contains the number of elements of the SIG_NAME
3115 * and SIG_NUM arrays, excluding the final NULL entry.
3117 #define SIG_NAME "ZERO", "HUP", "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 /**/
3118 #define SIG_NUM 0, 1, 2, 21, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 20, 0 /**/
3119 #define SIG_SIZE 27 /**/
3122 * This symbol is defined to be the type of char used in stdio.h.
3123 * It has the values "unsigned char" or "char".
3125 #define STDCHAR char /**/
3128 * This symbol indicates how much support of the void type is given by this
3129 * compiler. What various bits mean:
3131 * 1 = supports declaration of void
3132 * 2 = supports arrays of pointers to functions returning void
3133 * 4 = supports comparisons between pointers to void functions and
3134 * addresses of void functions
3135 * 8 = supports declaration of generic void pointers
3137 * The package designer should define VOIDUSED to indicate the requirements
3138 * of the package. This can be done either by #defining VOIDUSED before
3139 * including config.h, or by defining defvoidused in Myinit.U. If the
3140 * latter approach is taken, only those flags will be tested. If the
3141 * level of void support necessary is not present, defines void to int.
3146 #define VOIDFLAGS 15
3147 #if (VOIDFLAGS & VOIDUSED) != VOIDUSED
3148 #define void int /* is void to be avoided? */
3149 #define M_VOID /* Xenix strikes again */
3153 * This symbol, if defined, indicates that Perl was configured with
3154 * -Dusedevel, to enable development features. This should not be
3155 * done for production builds.
3157 /*#define PERL_USE_DEVEL / **/
3160 * This symbol, if defined, indicates that the atolf routine is
3161 * available to convert strings into long doubles.
3163 /*#define HAS_ATOLF / **/
3166 * This symbol, if defined, indicates that the atoll routine is
3167 * available to convert strings into long longs.
3169 /*#define HAS_ATOLL / **/
3172 * This symbol, if defined, indicates that the _fwalk system call is
3173 * available to apply a function to all the file handles.
3175 /*#define HAS__FWALK / **/
3178 * This symbol, if defined, indicates that the aintl routine is
3179 * available. If copysignl is also present we can emulate modfl.
3181 /*#define HAS_AINTL / **/
3183 /* HAS_BUILTIN_CHOOSE_EXPR:
3184 * Can we handle GCC builtin for compile-time ternary-like expressions
3186 /* HAS_BUILTIN_EXPECT:
3187 * Can we handle GCC builtin for telling that certain values are more
3190 /*#define HAS_BUILTIN_EXPECT / **/
3191 /*#define HAS_BUILTIN_CHOOSE_EXPR / **/
3193 /* HAS_C99_VARIADIC_MACROS:
3194 * If defined, the compiler supports C99 variadic macros.
3196 /*#define HAS_C99_VARIADIC_MACROS / **/
3199 * This symbol, if defined, indicates that the class routine is
3200 * available to classify doubles. Available for example in AIX.
3201 * The returned values are defined in <float.h> and are:
3203 * FP_PLUS_NORM Positive normalized, nonzero
3204 * FP_MINUS_NORM Negative normalized, nonzero
3205 * FP_PLUS_DENORM Positive denormalized, nonzero
3206 * FP_MINUS_DENORM Negative denormalized, nonzero
3208 * FP_MINUS_ZERO -0.0
3211 * FP_NANS Signaling Not a Number (NaNS)
3212 * FP_NANQ Quiet Not a Number (NaNQ)
3214 /*#define HAS_CLASS / **/
3217 * This symbol, if defined, indicates that the clearenv () routine is
3218 * available for use.
3220 /*#define HAS_CLEARENV / **/
3222 /* HAS_STRUCT_CMSGHDR:
3223 * This symbol, if defined, indicates that the struct cmsghdr
3226 /*#define HAS_STRUCT_CMSGHDR / **/
3229 * This symbol, if defined, indicates that the copysignl routine is
3230 * available. If aintl is also present we can emulate modfl.
3232 /*#define HAS_COPYSIGNL / **/
3235 * This symbol, if defined, indicates that a C++ compiler was
3236 * used to compiled Perl and will be used to compile extensions.
3238 /*#define USE_CPLUSPLUS / **/
3240 /* HAS_DBMINIT_PROTO:
3241 * This symbol, if defined, indicates that the system provides
3242 * a prototype for the dbminit() function. Otherwise, it is up
3243 * to the program to supply one. A good guess is
3244 * extern int dbminit(char *);
3246 /*#define HAS_DBMINIT_PROTO / **/
3249 * This symbol, if defined, indicates that the the DIR* dirstream
3250 * structure contains a member variable named dd_fd.
3252 /*#define HAS_DIR_DD_FD / **/
3255 * This manifest constant lets the C program know that dirfd
3258 /*#define HAS_DIRFD / **/
3260 /* DLSYM_NEEDS_UNDERSCORE:
3261 * This symbol, if defined, indicates that we need to prepend an
3262 * underscore to the symbol name before calling dlsym(). This only
3263 * makes sense if you *have* dlsym, which we will presume is the
3264 * case if you're using dl_dlopen.xs.
3266 /*#define DLSYM_NEEDS_UNDERSCORE / **/
3269 * This symbol, if defined, indicates that the "fast stdio"
3270 * is available to manipulate the stdio buffers directly.
3272 #define HAS_FAST_STDIO /**/
3275 * This symbol, if defined, indicates that the fchdir routine is
3276 * available to change directory using a file descriptor.
3278 /*#define HAS_FCHDIR / **/
3281 * This symbol, if defined, indicates that fcntl() can be used
3282 * for file locking. Normally on Unix systems this is defined.
3283 * It may be undefined on VMS.
3285 /*#define FCNTL_CAN_LOCK / **/
3288 * This symbol, if defined, indicates that the finite routine is
3289 * available to check whether a double is finite (non-infinity non-NaN).
3291 /*#define HAS_FINITE / **/
3294 * This symbol, if defined, indicates that the finitel routine is
3295 * available to check whether a long double is finite
3296 * (non-infinity non-NaN).
3298 /*#define HAS_FINITEL / **/
3301 * This symbol, if defined, indicates that the system provides
3302 * a prototype for the flock() function. Otherwise, it is up
3303 * to the program to supply one. A good guess is
3304 * extern int flock(int, int);
3306 #define HAS_FLOCK_PROTO /**/
3309 * This symbol, if defined, indicates that the fp_class routine is
3310 * available to classify doubles. Available for example in Digital UNIX.
3311 * The returned values are defined in <math.h> and are:
3313 * FP_SNAN Signaling NaN (Not-a-Number)
3314 * FP_QNAN Quiet NaN (Not-a-Number)
3315 * FP_POS_INF +infinity
3316 * FP_NEG_INF -infinity
3317 * FP_POS_NORM Positive normalized
3318 * FP_NEG_NORM Negative normalized
3319 * FP_POS_DENORM Positive denormalized
3320 * FP_NEG_DENORM Negative denormalized
3321 * FP_POS_ZERO +0.0 (positive zero)
3322 * FP_NEG_ZERO -0.0 (negative zero)
3324 /*#define HAS_FP_CLASS / **/
3327 * This symbol, if defined, indicates that the fpclass routine is
3328 * available to classify doubles. Available for example in Solaris/SVR4.
3329 * The returned values are defined in <ieeefp.h> and are:
3331 * FP_SNAN signaling NaN
3333 * FP_NINF negative infinity
3334 * FP_PINF positive infinity
3335 * FP_NDENORM negative denormalized non-zero
3336 * FP_PDENORM positive denormalized non-zero
3337 * FP_NZERO negative zero
3338 * FP_PZERO positive zero
3339 * FP_NNORM negative normalized non-zero
3340 * FP_PNORM positive normalized non-zero
3342 /*#define HAS_FPCLASS / **/
3345 * This symbol, if defined, indicates that the fpclassify routine is
3346 * available to classify doubles. Available for example in HP-UX.
3347 * The returned values are defined in <math.h> and are
3349 * FP_NORMAL Normalized
3351 * FP_INFINITE Infinity
3352 * FP_SUBNORMAL Denormalized
3356 /*#define HAS_FPCLASSIFY / **/
3359 * This symbol, if defined, indicates that the fpclassl routine is
3360 * available to classify long doubles. Available for example in IRIX.
3361 * The returned values are defined in <ieeefp.h> and are:
3363 * FP_SNAN signaling NaN
3365 * FP_NINF negative infinity
3366 * FP_PINF positive infinity
3367 * FP_NDENORM negative denormalized non-zero
3368 * FP_PDENORM positive denormalized non-zero
3369 * FP_NZERO negative zero
3370 * FP_PZERO positive zero
3371 * FP_NNORM negative normalized non-zero
3372 * FP_PNORM positive normalized non-zero
3374 /*#define HAS_FPCLASSL / **/
3377 * This symbol will be defined if the C compiler supports fpos64_t.
3379 /*#define HAS_FPOS64_T / **/
3382 * This symbol, if defined, indicates that the frexpl routine is
3383 * available to break a long double floating-point number into
3384 * a normalized fraction and an integral power of 2.
3386 /*#define HAS_FREXPL / **/
3388 /* HAS_STRUCT_FS_DATA:
3389 * This symbol, if defined, indicates that the struct fs_data
3390 * to do statfs() is supported.
3392 /*#define HAS_STRUCT_FS_DATA / **/
3395 * This symbol, if defined, indicates that the fseeko routine is
3396 * available to fseek beyond 32 bits (useful for ILP32 hosts).
3398 /*#define HAS_FSEEKO / **/
3401 * This symbol, if defined, indicates that the fstatfs routine is
3402 * available to stat filesystems by file descriptors.
3404 /*#define HAS_FSTATFS / **/
3407 * This symbol, if defined, indicates that the fsync routine is
3408 * available to write a file's modified data and attributes to
3409 * permanent storage.
3411 /*#define HAS_FSYNC / **/
3414 * This symbol, if defined, indicates that the ftello routine is
3415 * available to ftell beyond 32 bits (useful for ILP32 hosts).
3417 /*#define HAS_FTELLO / **/
3420 * This symbol, if defined, indicates that the futimes routine is
3421 * available to change file descriptor time stamps with struct timevals.
3423 /*#define HAS_FUTIMES / **/
3426 * This symbol, if defined, indicates that the getaddrinfo() function
3427 * is available for use.
3429 /*#define HAS_GETADDRINFO / **/
3432 * This symbol, if defined, indicates that the getcwd routine is
3433 * available to get the current working directory.
3435 #define HAS_GETCWD /**/
3438 * This symbol, if defined, indicates that the getespwnam system call is
3439 * available to retrieve enhanced (shadow) password entries by name.
3441 /*#define HAS_GETESPWNAM / **/
3444 * This symbol, if defined, indicates that the getfsstat routine is
3445 * available to stat filesystems in bulk.
3447 /*#define HAS_GETFSSTAT / **/
3450 * This symbol, if defined, indicates that the getitimer routine is
3451 * available to return interval timers.
3453 /*#define HAS_GETITIMER / **/
3456 * This symbol, if defined, indicates that the getmnt routine is
3457 * available to get filesystem mount info by filename.
3459 /*#define HAS_GETMNT / **/
3462 * This symbol, if defined, indicates that the getmntent routine is
3463 * available to iterate through mounted file systems to get their info.
3465 /*#define HAS_GETMNTENT / **/
3468 * This symbol, if defined, indicates that the getnameinfo() function
3469 * is available for use.
3471 /*#define HAS_GETNAMEINFO / **/
3474 * This symbol, if defined, indicates that the getprpwnam system call is
3475 * available to retrieve protected (shadow) password entries by name.
3477 /*#define HAS_GETPRPWNAM / **/
3480 * This symbol, if defined, indicates that the getspnam system call is
3481 * available to retrieve SysV shadow password entries by name.
3483 /*#define HAS_GETSPNAM / **/
3486 * This symbol, if defined, indicates that the hasmntopt routine is
3487 * available to query the mount options of file systems.
3489 /*#define HAS_HASMNTOPT / **/
3492 * This symbol, if defined, indicates that the ilogbl routine is
3493 * available. If scalbnl is also present we can emulate frexpl.
3495 /*#define HAS_ILOGBL / **/
3498 * This symbol, if defined, indicates that the inet_ntop() function
3499 * is available to parse IPv4 and IPv6 strings.
3501 /*#define HAS_INETNTOP / **/
3504 * This symbol, if defined, indicates that the inet_pton() function
3505 * is available to parse IPv4 and IPv6 strings.
3507 /*#define HAS_INETPTON / **/
3510 * This symbol will defined if the C compiler supports int64_t.
3511 * Usually the <inttypes.h> needs to be included, but sometimes
3512 * <sys/types.h> is enough.
3514 /*#define HAS_INT64_T / **/
3517 * This symbol, if defined, indicates that the isfinite routine is
3518 * available to check whether a double is finite (non-infinity non-NaN).
3520 /*#define HAS_ISFINITE / **/
3523 * This symbol, if defined, indicates that the isinf routine is
3524 * available to check whether a double is an infinity.
3526 /*#define HAS_ISINF / **/
3529 * This symbol, if defined, indicates that the isnan routine is
3530 * available to check whether a double is a NaN.
3532 #define HAS_ISNAN /**/
3535 * This symbol, if defined, indicates that the isnanl routine is
3536 * available to check whether a long double is a NaN.
3538 /*#define HAS_ISNANL / **/
3541 * This symbol, if defined, indicates that this system's <float.h>
3542 * or <limits.h> defines the symbol LDBL_DIG, which is the number
3543 * of significant digits in a long double precision number. Unlike
3544 * for DBL_DIG, there's no good guess for LDBL_DIG if it is undefined.
3546 #define HAS_LDBL_DIG /**/
3548 /* LIBM_LIB_VERSION:
3549 * This symbol, if defined, indicates that libm exports _LIB_VERSION
3550 * and that math.h defines the enum to manipulate it.
3552 /*#define LIBM_LIB_VERSION / **/
3555 * This symbol, if defined, indicates that the madvise system call is
3556 * available to map a file into memory.
3558 /*#define HAS_MADVISE / **/
3561 * This symbol, if defined, indicates that the malloc_size
3562 * routine is available for use.
3564 /*#define HAS_MALLOC_SIZE / **/
3566 /* HAS_MALLOC_GOOD_SIZE:
3567 * This symbol, if defined, indicates that the malloc_good_size
3568 * routine is available for use.
3570 /*#define HAS_MALLOC_GOOD_SIZE / **/
3573 * This symbol, if defined, indicates that the mkdtemp routine is
3574 * available to exclusively create a uniquely named temporary directory.
3576 /*#define HAS_MKDTEMP / **/
3579 * This symbol, if defined, indicates that the mkstemps routine is
3580 * available to exclusively create and open a uniquely named
3581 * (with a suffix) temporary file.
3583 /*#define HAS_MKSTEMPS / **/
3586 * This symbol, if defined, indicates that the modfl routine is
3587 * available to split a long double x into a fractional part f and
3588 * an integer part i such that |f| < 1.0 and (f + i) = x.
3591 * This symbol, if defined, indicates that the system provides
3592 * a prototype for the modfl() function. Otherwise, it is up
3593 * to the program to supply one.
3595 /* HAS_MODFL_POW32_BUG:
3596 * This symbol, if defined, indicates that the modfl routine is
3597 * broken for long doubles >= pow(2, 32).
3598 * For example from 4294967303.150000 one would get 4294967302.000000
3599 * and 1.150000. The bug has been seen in certain versions of glibc,
3600 * release 2.2.2 is known to be okay.
3602 /*#define HAS_MODFL / **/
3603 /*#define HAS_MODFL_PROTO / **/
3604 /*#define HAS_MODFL_POW32_BUG / **/
3607 * This symbol, if defined, indicates that the mprotect system call is
3608 * available to modify the access protection of a memory mapped file.
3610 /*#define HAS_MPROTECT / **/
3612 /* HAS_STRUCT_MSGHDR:
3613 * This symbol, if defined, indicates that the struct msghdr
3616 /*#define HAS_STRUCT_MSGHDR / **/
3619 * This symbol, if defined, indicates that the nl_langinfo routine is
3620 * available to return local data. You will also need <langinfo.h>
3621 * and therefore I_LANGINFO.
3623 /*#define HAS_NL_LANGINFO / **/
3626 * This symbol will be defined if the C compiler supports off64_t.
3628 /*#define HAS_OFF64_T / **/
3631 * This symbol, if defined, indicates that the prctl routine is
3632 * available to set process title.
3634 /* HAS_PRCTL_SET_NAME:
3635 * This symbol, if defined, indicates that the prctl routine is
3636 * available to set process title and supports PR_SET_NAME.
3638 /*#define HAS_PRCTL / **/
3639 /*#define HAS_PRCTL_SET_NAME / **/
3642 * This symbol is defined if PROCSELFEXE_PATH is a symlink
3643 * to the absolute pathname of the executing program.
3645 /* PROCSELFEXE_PATH:
3646 * If HAS_PROCSELFEXE is defined this symbol is the filename
3647 * of the symbolic link pointing to the absolute pathname of
3648 * the executing program.
3650 /*#define HAS_PROCSELFEXE / **/
3651 #if defined(HAS_PROCSELFEXE) && !defined(PROCSELFEXE_PATH)
3652 #define PROCSELFEXE_PATH /**/
3655 /* HAS_PTHREAD_ATTR_SETSCOPE:
3656 * This symbol, if defined, indicates that the pthread_attr_setscope
3657 * system call is available to set the contention scope attribute of
3658 * a thread attribute object.
3660 /*#define HAS_PTHREAD_ATTR_SETSCOPE / **/
3663 * This symbol, if defined, indicates that the readv routine is
3664 * available to do gather reads. You will also need <sys/uio.h>
3665 * and there I_SYSUIO.
3667 /*#define HAS_READV / **/
3670 * This symbol, if defined, indicates that the recvmsg routine is
3671 * available to send structured socket messages.
3673 /*#define HAS_RECVMSG / **/
3676 * This symbol, if defined, indicates that the system provides
3677 * a prototype for the sbrk() function. Otherwise, it is up
3678 * to the program to supply one. Good guesses are
3679 * extern void* sbrk(int);
3680 * extern void* sbrk(size_t);
3682 /*#define HAS_SBRK_PROTO / **/
3685 * This symbol, if defined, indicates that the scalbnl routine is
3686 * available. If ilogbl is also present we can emulate frexpl.
3688 /*#define HAS_SCALBNL / **/
3691 * This symbol, if defined, indicates that the sendmsg routine is
3692 * available to send structured socket messages.
3694 /*#define HAS_SENDMSG / **/
3697 * This symbol, if defined, indicates that the setitimer routine is
3698 * available to set interval timers.
3700 /*#define HAS_SETITIMER / **/
3702 /* HAS_SETPROCTITLE:
3703 * This symbol, if defined, indicates that the setproctitle routine is
3704 * available to set process title.
3706 /*#define HAS_SETPROCTITLE / **/
3709 * This symbol, if defined, indicates that sfio should
3712 /*#define USE_SFIO / **/
3715 * This symbol, if defined, indicates that the signbit routine is
3716 * available to check if the given number has the sign bit set.
3717 * This should include correct testing of -0.0. This will only be set
3718 * if the signbit() routine is safe to use with the NV type used internally
3719 * in perl. Users should call Perl_signbit(), which will be #defined to
3720 * the system's signbit() function or macro if this symbol is defined.
3722 /*#define HAS_SIGNBIT / **/
3725 * This symbol, if defined, indicates that the sigprocmask
3726 * system call is available to examine or change the signal mask
3727 * of the calling process.
3729 /*#define HAS_SIGPROCMASK / **/
3731 /* USE_SITECUSTOMIZE:
3732 * This symbol, if defined, indicates that sitecustomize should
3735 #ifndef USE_SITECUSTOMIZE
3736 /*#define USE_SITECUSTOMIZE / **/
3740 * This symbol, if defined, indicates that the snprintf () library
3741 * function is available for use.
3744 * This symbol, if defined, indicates that the vsnprintf () library
3745 * function is available for use.
3747 #define HAS_SNPRINTF /**/
3748 #define HAS_VSNPRINTF /**/
3751 * This symbol, if defined, indicates that the sockatmark routine is
3752 * available to test whether a socket is at the out-of-band mark.
3754 /*#define HAS_SOCKATMARK / **/
3756 /* HAS_SOCKATMARK_PROTO:
3757 * This symbol, if defined, indicates that the system provides
3758 * a prototype for the sockatmark() function. Otherwise, it is up
3759 * to the program to supply one. A good guess is
3760 * extern int sockatmark(int);
3762 /*#define HAS_SOCKATMARK_PROTO / **/
3765 * This symbol, if defined, indicates that the socks5_init routine is
3766 * available to initialize SOCKS 5.
3768 /*#define HAS_SOCKS5_INIT / **/
3770 /* SPRINTF_RETURNS_STRLEN:
3771 * This variable defines whether sprintf returns the length of the string
3772 * (as per the ANSI spec). Some C libraries retain compatibility with
3773 * pre-ANSI C and return a pointer to the passed in buffer; for these
3774 * this variable will be undef.
3776 #define SPRINTF_RETURNS_STRLEN /**/
3779 * This symbol, if defined, indicates that the sqrtl routine is
3780 * available to do long double square roots.
3782 /*#define HAS_SQRTL / **/
3784 /* HAS_SETRESGID_PROTO:
3785 * This symbol, if defined, indicates that the system provides
3786 * a prototype for the setresgid() function. Otherwise, it is up
3787 * to the program to supply one. Good guesses are
3788 * extern int setresgid(uid_t ruid, uid_t euid, uid_t suid);
3790 /*#define HAS_SETRESGID_PROTO / **/
3792 /* HAS_SETRESUID_PROTO:
3793 * This symbol, if defined, indicates that the system provides
3794 * a prototype for the setresuid() function. Otherwise, it is up
3795 * to the program to supply one. Good guesses are
3796 * extern int setresuid(uid_t ruid, uid_t euid, uid_t suid);
3798 /*#define HAS_SETRESUID_PROTO / **/
3800 /* HAS_STRUCT_STATFS_F_FLAGS:
3801 * This symbol, if defined, indicates that the struct statfs
3802 * does have the f_flags member containing the mount flags of
3803 * the filesystem containing the file.
3804 * This kind of struct statfs is coming from <sys/mount.h> (BSD 4.3),
3805 * not from <sys/statfs.h> (SYSV). Older BSDs (like Ultrix) do not
3806 * have statfs() and struct statfs, they have ustat() and getmnt()
3807 * with struct ustat and struct fs_data.
3809 /*#define HAS_STRUCT_STATFS_F_FLAGS / **/
3811 /* HAS_STRUCT_STATFS:
3812 * This symbol, if defined, indicates that the struct statfs
3813 * to do statfs() is supported.
3815 /*#define HAS_STRUCT_STATFS / **/
3818 * This symbol, if defined, indicates that the fstatvfs routine is
3819 * available to stat filesystems by file descriptors.
3821 /*#define HAS_FSTATVFS / **/
3824 * This symbol, if defined, indicates that the strftime routine is
3825 * available to do time formatting.
3827 #define HAS_STRFTIME /**/
3830 * This symbol, if defined, indicates that the strlcat () routine is
3831 * available to do string concatenation.
3833 /*#define HAS_STRLCAT / **/
3836 * This symbol, if defined, indicates that the strlcpy () routine is
3837 * available to do string copying.
3839 /*#define HAS_STRLCPY / **/
3842 * This symbol, if defined, indicates that the strtold routine is
3843 * available to convert strings to long doubles.
3845 /*#define HAS_STRTOLD / **/
3848 * This symbol, if defined, indicates that the strtoll routine is
3849 * available to convert strings to long longs.
3851 /*#define HAS_STRTOLL / **/
3854 * This symbol, if defined, indicates that the strtoq routine is
3855 * available to convert strings to long longs (quads).
3857 /*#define HAS_STRTOQ / **/
3860 * This symbol, if defined, indicates that the strtoull routine is
3861 * available to convert strings to unsigned long longs.
3863 /*#define HAS_STRTOULL / **/
3866 * This symbol, if defined, indicates that the strtouq routine is
3867 * available to convert strings to unsigned long longs (quads).
3869 /*#define HAS_STRTOUQ / **/
3871 /* HAS_SYSCALL_PROTO:
3872 * This symbol, if defined, indicates that the system provides
3873 * a prototype for the syscall() function. Otherwise, it is up
3874 * to the program to supply one. Good guesses are
3875 * extern int syscall(int, ...);
3876 * extern int syscall(long, ...);
3878 /*#define HAS_SYSCALL_PROTO / **/
3880 /* HAS_TELLDIR_PROTO:
3881 * This symbol, if defined, indicates that the system provides
3882 * a prototype for the telldir() function. Otherwise, it is up
3883 * to the program to supply one. A good guess is
3884 * extern long telldir(DIR*);
3886 #define HAS_TELLDIR_PROTO /**/
3889 * This symbol, if defined, indicates that the ctime64 () routine is
3890 * available to do the 64bit variant of ctime ()
3893 * This symbol, if defined, indicates that the localtime64 () routine is
3894 * available to do the 64bit variant of localtime ()
3897 * This symbol, if defined, indicates that the gmtime64 () routine is
3898 * available to do the 64bit variant of gmtime ()
3901 * This symbol, if defined, indicates that the mktime64 () routine is
3902 * available to do the 64bit variant of mktime ()
3905 * This symbol, if defined, indicates that the difftime64 () routine is
3906 * available to do the 64bit variant of difftime ()
3909 * This symbol, if defined, indicates that the asctime64 () routine is
3910 * available to do the 64bit variant of asctime ()
3912 /*#define HAS_CTIME64 / **/
3913 /*#define HAS_LOCALTIME64 / **/
3914 /*#define HAS_GMTIME64 / **/
3915 /*#define HAS_MKTIME64 / **/
3916 /*#define HAS_DIFFTIME64 / **/
3917 /*#define HAS_ASCTIME64 / **/
3920 * This symbol, if defined, indicates that the timegm routine is
3921 * available to do the opposite of gmtime ()
3923 /*#define HAS_TIMEGM / **/
3925 /* U32_ALIGNMENT_REQUIRED:
3926 * This symbol, if defined, indicates that you must access
3927 * character data through U32-aligned pointers.
3929 #ifndef U32_ALIGNMENT_REQUIRED
3930 #define U32_ALIGNMENT_REQUIRED /**/
3934 * This symbol, if defined, indicates that the ualarm routine is
3935 * available to do alarms with microsecond granularity.
3937 /*#define HAS_UALARM / **/
3940 * This symbol, if defined, indicates that the unordered routine is
3941 * available to check whether two doubles are unordered
3942 * (effectively: whether either of them is NaN)
3944 /*#define HAS_UNORDERED / **/
3947 * This symbol, if defined, indicates that the unsetenv () routine is
3948 * available for use.
3950 /*#define HAS_UNSETENV / **/
3952 /* HAS_USLEEP_PROTO:
3953 * This symbol, if defined, indicates that the system provides
3954 * a prototype for the usleep() function. Otherwise, it is up
3955 * to the program to supply one. A good guess is
3956 * extern int usleep(useconds_t);
3958 /*#define HAS_USLEEP_PROTO / **/
3961 * This symbol, if defined, indicates that the ustat system call is
3962 * available to query file system statistics by dev_t.
3964 /*#define HAS_USTAT / **/
3967 * This symbol, if defined, indicates that the writev routine is
3968 * available to do scatter writes.
3970 /*#define HAS_WRITEV / **/
3972 /* USE_DYNAMIC_LOADING:
3973 * This symbol, if defined, indicates that dynamic loading of
3974 * some sort is available.
3976 #define USE_DYNAMIC_LOADING /**/
3979 * This symbol, if defined, tells that fflush(NULL) does flush
3980 * all pending stdio output.
3983 * This symbol, if defined, tells that to flush
3984 * all pending stdio output one must loop through all
3985 * the stdio file handles stored in an array and fflush them.
3986 * Note that if fflushNULL is defined, fflushall will not
3987 * even be probed for and will be left undefined.
3989 #define FFLUSH_NULL /**/
3990 /*#define FFLUSH_ALL / **/
3993 * This symbol, if defined, indicates that <assert.h> exists and
3994 * could be included by the C program to get the assert() macro.
3996 #define I_ASSERT /**/
3999 * This symbol, if defined, indicates that <crypt.h> exists and
4000 * should be included.
4002 /*#define I_CRYPT / **/
4005 * This symbol contains the type of the prefix structure element
4006 * in the <db.h> header file. In older versions of DB, it was
4007 * int, while in newer ones it is u_int32_t.
4010 * This symbol contains the type of the prefix structure element
4011 * in the <db.h> header file. In older versions of DB, it was
4012 * int, while in newer ones it is size_t.
4014 /* DB_VERSION_MAJOR_CFG:
4015 * This symbol, if defined, defines the major version number of
4016 * Berkeley DB found in the <db.h> header when Perl was configured.
4018 /* DB_VERSION_MINOR_CFG:
4019 * This symbol, if defined, defines the minor version number of
4020 * Berkeley DB found in the <db.h> header when Perl was configured.
4021 * For DB version 1 this is always 0.
4023 /* DB_VERSION_PATCH_CFG:
4024 * This symbol, if defined, defines the patch version number of
4025 * Berkeley DB found in the <db.h> header when Perl was configured.
4026 * For DB version 1 this is always 0.
4028 #define DB_Hash_t int /**/
4029 #define DB_Prefix_t int /**/
4030 #define DB_VERSION_MAJOR_CFG 0 /**/
4031 #define DB_VERSION_MINOR_CFG 0 /**/
4032 #define DB_VERSION_PATCH_CFG 0 /**/
4035 * This symbol, if defined, indicates that <fp.h> exists and
4036 * should be included.
4038 /*#define I_FP / **/
4041 * This symbol, if defined, indicates that <fp_class.h> exists and
4042 * should be included.
4044 /*#define I_FP_CLASS / **/
4047 * This symbol, if defined, indicates that <ieeefp.h> exists and
4048 * should be included.
4050 /*#define I_IEEEFP / **/
4053 * This symbol, if defined, indicates to the C program that it should
4054 * include <inttypes.h>.
4056 /*#define I_INTTYPES / **/
4059 * This symbol, if defined, indicates that <langinfo.h> exists and
4060 * should be included.
4062 /*#define I_LANGINFO / **/
4065 * This symbol, if defined, indicates that <libutil.h> exists and
4066 * should be included.
4068 /*#define I_LIBUTIL / **/
4071 * This symbol, if defined, indicates to the C program that it should
4072 * include <malloc/malloc.h>.
4074 /*#define I_MALLOCMALLOC / **/
4077 * This symbol, if defined, indicates that <mntent.h> exists and
4078 * should be included.
4080 /*#define I_MNTENT / **/
4083 * This symbol, if defined, indicates to the C program that it should
4084 * include <netinet/tcp.h>.
4086 /*#define I_NETINET_TCP / **/
4089 * This symbol, if defined, indicates that <poll.h> exists and
4090 * should be included. (see also HAS_POLL)
4092 /*#define I_POLL / **/
4095 * This symbol, if defined, indicates that <prot.h> exists and
4096 * should be included.
4098 /*#define I_PROT / **/
4101 * This symbol, if defined, indicates that <shadow.h> exists and
4102 * should be included.
4104 /*#define I_SHADOW / **/
4107 * This symbol, if defined, indicates that <socks.h> exists and
4108 * should be included.
4110 /*#define I_SOCKS / **/
4113 * This symbol, if defined, indicates that <sunmath.h> exists and
4114 * should be included.
4116 /*#define I_SUNMATH / **/
4119 * This symbol, if defined, indicates that <syslog.h> exists and
4120 * should be included.
4122 /*#define I_SYSLOG / **/
4125 * This symbol, if defined, indicates that <sys/mode.h> exists and
4126 * should be included.
4128 /*#define I_SYSMODE / **/
4131 * This symbol, if defined, indicates that <sys/mount.h> exists and
4132 * should be included.
4134 /*#define I_SYS_MOUNT / **/
4137 * This symbol, if defined, indicates that <sys/statfs.h> exists.
4139 /*#define I_SYS_STATFS / **/
4142 * This symbol, if defined, indicates that <sys/statvfs.h> exists and
4143 * should be included.
4145 /*#define I_SYS_STATVFS / **/
4148 * This symbol, if defined, indicates that <sys/utsname.h> exists and
4149 * should be included.
4151 /*#define I_SYSUTSNAME / **/
4154 * This symbol, if defined, indicates that <sys/vfs.h> exists and
4155 * should be included.
4157 /*#define I_SYS_VFS / **/
4160 * This symbol, if defined, indicates that <ustat.h> exists and
4161 * should be included.
4163 /*#define I_USTAT / **/
4166 * This symbol, if defined, contains the string used by stdio to
4167 * format long doubles (format 'f') for output.
4170 * This symbol, if defined, contains the string used by stdio to
4171 * format long doubles (format 'g') for output.
4174 * This symbol, if defined, contains the string used by stdio to
4175 * format long doubles (format 'e') for output.
4178 * This symbol, if defined, contains the string used by stdio to
4179 * format long doubles (format 'f') for input.
4181 /*#define PERL_PRIfldbl "f" / **/
4182 /*#define PERL_PRIgldbl "g" / **/
4183 /*#define PERL_PRIeldbl "e" / **/
4184 /*#define PERL_SCNfldbl "f" / **/
4187 * This symbol, if defined, indicates that the Misc Attribution
4188 * Declaration code should be conditionally compiled.
4190 /*#define PERL_MAD / **/
4193 * This symbol, if defined, indicates that the system stores
4194 * the variable argument list datatype, va_list, in a format
4195 * that cannot be copied by simple assignment, so that some
4196 * other means must be used when copying is required.
4197 * As such systems vary in their provision (or non-provision)
4198 * of copying mechanisms, handy.h defines a platform-
4199 * independent macro, Perl_va_copy(src, dst), to do the job.
4201 /*#define NEED_VA_COPY / **/
4204 * This symbol defines the C type used for Perl's IV.
4207 * This symbol defines the C type used for Perl's UV.
4210 * This symbol defines the C type used for Perl's I8.
4213 * This symbol defines the C type used for Perl's U8.
4216 * This symbol defines the C type used for Perl's I16.
4219 * This symbol defines the C type used for Perl's U16.
4222 * This symbol defines the C type used for Perl's I32.
4225 * This symbol defines the C type used for Perl's U32.
4228 * This symbol defines the C type used for Perl's I64.
4231 * This symbol defines the C type used for Perl's U64.
4234 * This symbol defines the C type used for Perl's NV.
4237 * This symbol contains the sizeof(IV).
4240 * This symbol contains the sizeof(UV).
4243 * This symbol contains the sizeof(I8).
4246 * This symbol contains the sizeof(U8).
4249 * This symbol contains the sizeof(I16).
4252 * This symbol contains the sizeof(U16).
4255 * This symbol contains the sizeof(I32).
4258 * This symbol contains the sizeof(U32).
4261 * This symbol contains the sizeof(I64).
4264 * This symbol contains the sizeof(U64).
4267 * This symbol contains the sizeof(NV).
4270 * This symbol, if defined, indicates that a variable of type NVTYPE
4271 * can preserve all the bits of a variable of type UVTYPE.
4273 /* NV_PRESERVES_UV_BITS:
4274 * This symbol contains the number of bits a variable of type NVTYPE
4275 * can preserve of a variable of type UVTYPE.
4277 /* NV_OVERFLOWS_INTEGERS_AT:
4278 * This symbol gives the largest integer value that NVs can hold. This
4279 * value + 1.0 cannot be stored accurately. It is expressed as constant
4280 * floating point expression to reduce the chance of decimal/binary
4281 * conversion issues. If it can not be determined, the value 0 is given.
4283 /* NV_ZERO_IS_ALLBITS_ZERO:
4284 * This symbol, if defined, indicates that a variable of type NVTYPE
4285 * stores 0.0 in memory as all bits zero.
4287 #define IVTYPE long /**/
4288 #define UVTYPE unsigned long /**/
4289 #define I8TYPE char /**/
4290 #define U8TYPE unsigned char /**/
4291 #define I16TYPE short /**/
4292 #define U16TYPE unsigned short /**/
4293 #define I32TYPE long /**/
4294 #define U32TYPE unsigned long /**/
4297 # define I64TYPE __int64 /**/
4298 # define U64TYPE unsigned __int64 /**/
4300 # define I64TYPE long long /**/
4301 # define U64TYPE unsigned long long /**/
4304 #define NVTYPE double /**/
4305 #define IVSIZE 4 /**/
4306 #define UVSIZE 4 /**/
4307 #define I8SIZE 1 /**/
4308 #define U8SIZE 1 /**/
4309 #define I16SIZE 2 /**/
4310 #define U16SIZE 2 /**/
4311 #define I32SIZE 4 /**/
4312 #define U32SIZE 4 /**/
4314 #define I64SIZE 8 /**/
4315 #define U64SIZE 8 /**/
4317 #define NVSIZE 8 /**/
4318 #define NV_PRESERVES_UV
4319 #define NV_PRESERVES_UV_BITS 32
4320 #define NV_OVERFLOWS_INTEGERS_AT 256.0*256.0*256.0*256.0*256.0*256.0*2.0*2.0*2.0*2.0*2.0
4321 #define NV_ZERO_IS_ALLBITS_ZERO
4324 # if BYTEORDER == 0x1234
4326 # define BYTEORDER 0x12345678
4328 # if BYTEORDER == 0x4321
4330 # define BYTEORDER 0x87654321
4337 * This symbol defines the format string used for printing a Perl IV
4338 * as a signed decimal integer.
4341 * This symbol defines the format string used for printing a Perl UV
4342 * as an unsigned decimal integer.
4345 * This symbol defines the format string used for printing a Perl UV
4346 * as an unsigned octal integer.
4349 * This symbol defines the format string used for printing a Perl UV
4350 * as an unsigned hexadecimal integer in lowercase abcdef.
4353 * This symbol defines the format string used for printing a Perl UV
4354 * as an unsigned hexadecimal integer in uppercase ABCDEF.
4357 * This symbol defines the format string used for printing a Perl NV
4358 * using %e-ish floating point format.
4361 * This symbol defines the format string used for printing a Perl NV
4362 * using %f-ish floating point format.
4365 * This symbol defines the format string used for printing a Perl NV
4366 * using %g-ish floating point format.
4368 #define IVdf "ld" /**/
4369 #define UVuf "lu" /**/
4370 #define UVof "lo" /**/
4371 #define UVxf "lx" /**/
4372 #define UVXf "lX" /**/
4373 #define NVef "e" /**/
4374 #define NVff "f" /**/
4375 #define NVgf "g" /**/
4378 * This symbol holds the minimum number of bits operated by select.
4379 * That is, if you do select(n, ...), how many bits at least will be
4380 * cleared in the masks if some activity is detected. Usually this
4381 * is either n or 32*ceil(n/32), especially many little-endians do
4382 * the latter. This is only useful if you have select(), naturally.
4384 #define SELECT_MIN_BITS 32 /**/
4387 * This variable contains the size of struct stat's st_ino in bytes.
4390 * This symbol holds the signedess of struct stat's st_ino.
4391 * 1 for unsigned, -1 for signed.
4393 #define ST_INO_SIGN 1 /* st_ino sign */
4394 #define ST_INO_SIZE 4 /* st_ino size */
4397 * This variable contains the string to put in front of a perl
4398 * script to make sure (one hopes) that it runs with perl and not
4401 #define STARTPERL "#!perl" /**/
4403 /* HAS_STDIO_STREAM_ARRAY:
4404 * This symbol, if defined, tells that there is an array
4405 * holding the stdio streams.
4407 /* STDIO_STREAM_ARRAY:
4408 * This symbol tells the name of the array holding the stdio streams.
4409 * Usual values include _iob, __iob, and __sF.
4411 /*#define HAS_STDIO_STREAM_ARRAY / **/
4412 #ifdef HAS_STDIO_STREAM_ARRAY
4413 #define STDIO_STREAM_ARRAY
4417 * This symbol contains the maximum value for the time_t offset that
4418 * the system function gmtime () accepts, and defaults to 0
4421 * This symbol contains the minimum value for the time_t offset that
4422 * the system function gmtime () accepts, and defaults to 0
4425 * This symbol contains the maximum value for the time_t offset that
4426 * the system function localtime () accepts, and defaults to 0
4429 * This symbol contains the minimum value for the time_t offset that
4430 * the system function localtime () accepts, and defaults to 0
4432 #define GMTIME_MAX 2147483647 /**/
4433 #define GMTIME_MIN 0 /**/
4434 #define LOCALTIME_MAX 2147483647 /**/
4435 #define LOCALTIME_MIN 0 /**/
4438 * This symbol, if defined, indicates that 64-bit integers should
4439 * be used when available. If not defined, the native integers
4440 * will be employed (be they 32 or 64 bits). The minimal possible
4441 * 64-bitness is used, just enough to get 64-bit integers into Perl.
4442 * This may mean using for example "long longs", while your memory
4443 * may still be limited to 2 gigabytes.
4446 * This symbol, if defined, indicates that 64-bit integers should
4447 * be used when available. If not defined, the native integers
4448 * will be used (be they 32 or 64 bits). The maximal possible
4449 * 64-bitness is employed: LP64 or ILP64, meaning that you will
4450 * be able to use more than 2 gigabytes of memory. This mode is
4451 * even more binary incompatible than USE_64_BIT_INT. You may not
4452 * be able to run the resulting executable in a 32-bit CPU at all or
4453 * you may need at least to reboot your OS to 64-bit mode.
4455 #ifndef USE_64_BIT_INT
4456 /*#define USE_64_BIT_INT / **/
4458 #ifndef USE_64_BIT_ALL
4459 /*#define USE_64_BIT_ALL / **/
4463 * This symbol, if defined, indicates that Perl should
4464 * be built with support for DTrace.
4466 /*#define USE_DTRACE / **/
4469 * This symbol, if defined, indicates that Perl should
4470 * be built to use 'fast stdio'.
4471 * Defaults to define in Perls 5.8 and earlier, to undef later.
4473 #ifndef USE_FAST_STDIO
4474 /*#define USE_FAST_STDIO / **/
4478 * This symbol, if defined, indicates that large file support
4479 * should be used when available.
4481 #ifndef USE_LARGE_FILES
4482 /*#define USE_LARGE_FILES / **/
4486 * This symbol, if defined, indicates that long doubles should
4487 * be used when available.
4489 #ifndef USE_LONG_DOUBLE
4490 /*#define USE_LONG_DOUBLE / **/
4494 * This symbol, if defined, indicates that 64-bit interfaces and
4495 * long doubles should be used when available.
4497 #ifndef USE_MORE_BITS
4498 /*#define USE_MORE_BITS / **/
4502 * This symbol, if defined, indicates that Perl should
4503 * be built to use multiplicity.
4505 #ifndef MULTIPLICITY
4506 /*#define MULTIPLICITY / **/
4510 * This symbol, if defined, indicates that the PerlIO abstraction should
4511 * be used throughout. If not defined, stdio should be
4512 * used in a fully backward compatible manner.
4515 /*#define USE_PERLIO / **/
4519 * This symbol, if defined, indicates that Perl should
4520 * be built to use socks.
4523 /*#define USE_SOCKS / **/
4526 /* HAS_DRAND48_PROTO:
4527 * This symbol, if defined, indicates that the system provides
4528 * a prototype for the drand48() function. Otherwise, it is up
4529 * to the program to supply one. A good guess is
4530 * extern double drand48(void);
4532 /*#define HAS_DRAND48_PROTO / **/
4534 /* HAS_GETHOST_PROTOS:
4535 * This symbol, if defined, indicates that <netdb.h> includes
4536 * prototypes for gethostent(), gethostbyname(), and
4537 * gethostbyaddr(). Otherwise, it is up to the program to guess
4538 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
4540 #define HAS_GETHOST_PROTOS /**/
4542 /* HAS_GETNET_PROTOS:
4543 * This symbol, if defined, indicates that <netdb.h> includes
4544 * prototypes for getnetent(), getnetbyname(), and
4545 * getnetbyaddr(). Otherwise, it is up to the program to guess
4546 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
4548 /*#define HAS_GETNET_PROTOS / **/
4550 /* HAS_GETPROTO_PROTOS:
4551 * This symbol, if defined, indicates that <netdb.h> includes
4552 * prototypes for getprotoent(), getprotobyname(), and
4553 * getprotobyaddr(). Otherwise, it is up to the program to guess
4554 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
4556 #define HAS_GETPROTO_PROTOS /**/
4558 /* HAS_GETSERV_PROTOS:
4559 * This symbol, if defined, indicates that <netdb.h> includes
4560 * prototypes for getservent(), getservbyname(), and
4561 * getservbyaddr(). Otherwise, it is up to the program to guess
4562 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
4564 #define HAS_GETSERV_PROTOS /**/
4567 * This symbol, if defined, indicates that the system provides
4568 * a prototype for the lseek() function. Otherwise, it is up
4569 * to the program to supply one. A good guess is
4570 * extern off_t lseek(int, off_t, int);
4572 #define HAS_LSEEK_PROTO /**/
4575 * This symbol holds the type used for the 1st argument
4576 * to gethostbyaddr().
4579 * This symbol holds the type used for the 2nd argument
4580 * to gethostbyaddr().
4583 * This symbol holds the type used for the argument to
4587 * This symbol holds the type used for the 1st argument to
4590 #define Netdb_host_t char * /**/
4591 #define Netdb_hlen_t int /**/
4592 #define Netdb_name_t char * /**/
4593 #define Netdb_net_t long /**/
4596 * This symbol holds the type used for the 2nd, 3rd, and 4th
4597 * arguments to select. Usually, this is 'fd_set *', if HAS_FD_SET
4598 * is defined, and 'int *' otherwise. This is only useful if you
4599 * have select(), of course.
4601 #define Select_fd_set_t Perl_fd_set * /**/
4604 * This symbol holds the type used for the size argument of
4605 * various socket calls (just the base type, not the pointer-to).
4607 #define Sock_size_t int /**/
4610 * This symbol, if defined, indicates that the time() routine exists.
4613 * This symbol holds the type returned by time(). It can be long,
4614 * or time_t on BSD sites (in which case <sys/types.h> should be
4617 #define HAS_TIME /**/
4618 #define Time_t time_t /* Time type */
4621 * This symbol, if defined, indicates that the times() routine exists.
4622 * Note that this became obsolete on some systems (SUNOS), which now
4623 * use getrusage(). It may be necessary to include <sys/times.h>.
4625 #define HAS_TIMES /**/
4628 * This symbol holds the type used to declare file positions in libc.
4629 * It can be fpos_t, long, uint, etc... It may be necessary to include
4630 * <sys/types.h> to get any typedef'ed information.
4632 #define Fpos_t fpos_t /* File position type */
4635 * This symbol defines the format string used for printing a Gid_t.
4637 #define Gid_t_f "ld" /**/
4640 * This symbol holds the signedess of a Gid_t.
4641 * 1 for unsigned, -1 for signed.
4643 #define Gid_t_sign -1 /* GID sign */
4646 * This symbol holds the size of a Gid_t in bytes.
4648 #define Gid_t_size 4 /* GID size */
4651 * This symbol holds the return type of getgid() and the type of
4652 * argument to setrgid() and related functions. Typically,
4653 * it is the type of group ids in the kernel. It can be int, ushort,
4654 * gid_t, etc... It may be necessary to include <sys/types.h> to get
4655 * any typedef'ed information.
4657 #define Gid_t gid_t /* Type for getgid(), etc... */
4660 * This symbol holds the type used to declare offsets in the kernel.
4661 * It can be int, long, off_t, etc... It may be necessary to include
4662 * <sys/types.h> to get any typedef'ed information.
4665 * This symbol holds the number of bytes used by the Off_t.
4668 * This symbol holds the number of bytes used by the Off_t.
4670 #define Off_t long /* <offset> type */
4671 #define LSEEKSIZE 4 /* <offset> size */
4672 #define Off_t_size 4 /* <offset> size */
4675 * This symbol holds the type used to declare file modes
4676 * for systems calls. It is usually mode_t, but may be
4677 * int or unsigned short. It may be necessary to include <sys/types.h>
4678 * to get any typedef'ed information.
4680 #define Mode_t mode_t /* file mode parameter for system calls */
4683 * This symbol holds the type used to declare process ids in the kernel.
4684 * It can be int, uint, pid_t, etc... It may be necessary to include
4685 * <sys/types.h> to get any typedef'ed information.
4687 #define Pid_t int /* PID type */
4690 * This symbol holds the size of a Size_t in bytes.
4692 #define Size_t_size 4 /**/
4695 * This symbol holds the type used to declare length parameters
4696 * for string functions. It is usually size_t, but may be
4697 * unsigned long, int, etc. It may be necessary to include
4698 * <sys/types.h> to get any typedef'ed information.
4700 #define Size_t size_t /* length parameter for string functions */
4703 * This symbol defines the format string used for printing a Uid_t.
4705 #define Uid_t_f "ld" /**/
4708 * This symbol holds the signedess of a Uid_t.
4709 * 1 for unsigned, -1 for signed.
4711 #define Uid_t_sign -1 /* UID sign */
4714 * This symbol holds the size of a Uid_t in bytes.
4716 #define Uid_t_size 4 /* UID size */
4719 * This symbol holds the type used to declare user ids in the kernel.
4720 * It can be int, ushort, uid_t, etc... It may be necessary to include
4721 * <sys/types.h> to get any typedef'ed information.
4723 #define Uid_t uid_t /* UID type */