2 * This file was produced by running the config_h.SH script, which
3 * gets its values from uconfig.sh, which is generally produced by
6 * Feel free to modify any of this as the need arises. Note, however,
7 * that running config_h.SH again will wipe out any changes you've made.
8 * For a more permanent change edit uconfig.sh and rerun config_h.SH.
10 * $Id: Config_h.U,v 3.0.1.5 1997/02/28 14:57:43 ram Exp $
18 * Target system : unknown
25 * This symbol holds the complete pathname to the sed program.
27 #define LOC_SED "" /**/
30 * This symbol, if defined, indicates that the alarm routine is
33 /*#define HAS_ALARM / **/
36 * This symbol indicates the C compiler can check for function attributes,
37 * such as printf formats. This is normally only supported by GNU cc.
39 /*#define HASATTRIBUTE / **/
41 #define __attribute__(_arg_)
45 * This symbol is defined if the bcmp() routine is available to
46 * compare blocks of memory.
48 /*#define HAS_BCMP / **/
51 * This symbol is defined if the bcopy() routine is available to
52 * copy blocks of memory.
54 /*#define HAS_BCOPY / **/
57 * This symbol is defined if the bzero() routine is available to
58 * set a memory block to 0.
60 /*#define HAS_BZERO / **/
63 * This symbol, if defined, indicates that the chown routine is
66 /*#define HAS_CHOWN / **/
69 * This symbol, if defined, indicates that the chroot routine is
72 /*#define HAS_CHROOT / **/
75 * This symbol, if defined, indicates that the chsize routine is available
76 * to truncate files. You might need a -lx to get this routine.
78 /*#define HAS_CHSIZE / **/
81 * This symbol, if defined, indicates that this C compiler knows about
82 * the const type. There is no need to actually test for that symbol
83 * within your programs. The mere use of the "const" keyword will
84 * trigger the necessary tests.
86 /*#define HASCONST / **/
92 * This symbol, if defined, indicates that the cuserid routine is
93 * available to get character login names.
95 /*#define HAS_CUSERID / **/
98 * This symbol, if defined, indicates that this system's <float.h>
99 * or <limits.h> defines the symbol DBL_DIG, which is the number
100 * of significant digits in a double precision number. If this
101 * symbol is not defined, a guess of 15 is usually pretty good.
103 /*#define HAS_DBL_DIG / * */
106 * This symbol, if defined, indicates that the difftime routine is
109 /*#define HAS_DIFFTIME / **/
112 * This symbol, if defined, indicates that the dlerror routine is
113 * available to return a string describing the last error that
114 * occurred from a call to dlopen(), dlclose() or dlsym().
116 /*#define HAS_DLERROR / **/
119 * This symbol, if defined, indicates that the dup2 routine is
120 * available to duplicate file descriptors.
122 /*#define HAS_DUP2 / **/
125 * This symbol, if defined, indicates that the fchmod routine is available
126 * to change mode of opened files. If unavailable, use chmod().
128 /*#define HAS_FCHMOD / **/
131 * This symbol, if defined, indicates that the fchown routine is available
132 * to change ownership of opened files. If unavailable, use chown().
134 /*#define HAS_FCHOWN / **/
137 * This symbol, if defined, indicates to the C program that
138 * the fcntl() function exists.
140 /*#define HAS_FCNTL / **/
143 * This symbol, if defined, indicates that the fgetpos routine is
144 * available to get the file position indicator, similar to ftell().
146 /*#define HAS_FGETPOS / **/
149 * This symbol, if defined, indicates that the flock routine is
150 * available to do file locking.
152 /*#define HAS_FLOCK / **/
155 * This symbol, if defined, indicates that the fork routine is
158 #define HAS_FORK /**/
161 * This symbol, if defined, indicates that the fsetpos routine is
162 * available to set the file position indicator, similar to fseek().
164 /*#define HAS_FSETPOS / **/
167 * This symbol, if defined, indicates that the gettimeofday() system
168 * call is available for a sub-second accuracy clock. Usually, the file
169 * <sys/resource.h> needs to be included (see I_SYS_RESOURCE).
170 * The type "Timeval" should be used to refer to "struct timeval".
172 /*#define HAS_GETTIMEOFDAY / **/
173 #ifdef HAS_GETTIMEOFDAY
174 #define Timeval struct timeval /* Structure used by gettimeofday() */
178 * This symbol, if defined, indicates that the getgroups() routine is
179 * available to get the list of process groups. If unavailable, multiple
180 * groups are probably not supported.
182 /*#define HAS_GETGROUPS / **/
185 * This symbol, if defined, indicates that the getlogin routine is
186 * available to get the login name.
188 /*#define HAS_GETLOGIN / **/
191 * This symbol, if defined, indicates to the C program that
192 * the getpgid(pid) function is available to get the
195 /*#define HAS_GETPGID / **/
198 * This symbol, if defined, indicates that the getpgrp2() (as in DG/UX)
199 * routine is available to get the current process group.
201 /*#define HAS_GETPGRP2 / **/
204 * This symbol, if defined, indicates that the getppid routine is
205 * available to get the parent process ID.
207 /*#define HAS_GETPPID / **/
210 * This symbol, if defined, indicates that the getpriority routine is
211 * available to get a process's priority.
213 /*#define HAS_GETPRIORITY / **/
216 * This symbol, if defined, indicates to the C program that the
217 * inet_aton() function is available to parse IP address "dotted-quad"
220 /*#define HAS_INET_ATON / **/
223 * This symbol, if defined, indicates that the killpg routine is available
224 * to kill process groups. If unavailable, you probably should use kill
225 * with a negative process number.
227 /*#define HAS_KILLPG / **/
230 * This symbol, if defined, indicates that the link routine is
231 * available to create hard links.
233 /*#define HAS_LINK / **/
236 * This symbol, if defined, indicates that the localeconv routine is
237 * available for numeric and monetary formatting conventions.
239 /*#define HAS_LOCALECONV / **/
242 * This symbol, if defined, indicates that the lockf routine is
243 * available to do file locking.
245 /*#define HAS_LOCKF / **/
248 * This symbol, if defined, indicates that the lstat routine is
249 * available to do file stats on symbolic links.
251 /*#define HAS_LSTAT / **/
254 * This symbol, if defined, indicates that the mblen routine is available
255 * to find the number of bytes in a multibye character.
257 /*#define HAS_MBLEN / **/
260 * This symbol, if defined, indicates that the mbstowcs routine is
261 * available to covert a multibyte string into a wide character string.
263 /*#define HAS_MBSTOWCS / **/
266 * This symbol, if defined, indicates that the mbtowc routine is available
267 * to covert a multibyte to a wide character.
269 /*#define HAS_MBTOWC / **/
272 * This symbol, if defined, indicates that the memcmp routine is available
273 * to compare blocks of memory.
275 /*#define HAS_MEMCMP / **/
278 * This symbol, if defined, indicates that the memcpy routine is available
279 * to copy blocks of memory.
281 /*#define HAS_MEMCPY / **/
284 * This symbol, if defined, indicates that the memmove routine is available
285 * to copy potentially overlapping blocks of memory. This should be used
286 * only when HAS_SAFE_BCOPY is not defined. If neither is there, roll your
289 /*#define HAS_MEMMOVE / **/
292 * This symbol, if defined, indicates that the memset routine is available
293 * to set blocks of memory.
295 /*#define HAS_MEMSET / **/
298 * This symbol, if defined, indicates that the mkdir routine is available
299 * to create directories. Otherwise you should fork off a new process to
302 /*#define HAS_MKDIR / **/
305 * This symbol, if defined, indicates that the mkfifo routine is
306 * available to create FIFOs. Otherwise, mknod should be able to
307 * do it for you. However, if mkfifo is there, mknod might require
308 * super-user privileges which mkfifo will not.
310 /*#define HAS_MKFIFO / **/
313 * This symbol, if defined, indicates that the mktime routine is
316 /*#define HAS_MKTIME / **/
319 * This symbol, if defined, indicates that the msync system call is
320 * available to synchronize a mapped file.
322 /*#define HAS_MSYNC / **/
325 * This symbol, if defined, indicates that the munmap system call is
326 * available to unmap a region, usually mapped by mmap().
328 /*#define HAS_MUNMAP / **/
331 * This symbol, if defined, indicates that the nice routine is
334 /*#define HAS_NICE / **/
337 * This symbol, if defined, indicates that pathconf() is available
338 * to determine file-system related limits and options associated
339 * with a given filename.
342 * This symbol, if defined, indicates that pathconf() is available
343 * to determine file-system related limits and options associated
344 * with a given open file descriptor.
346 /*#define HAS_PATHCONF / **/
347 /*#define HAS_FPATHCONF / **/
350 * This symbol, if defined, indicates that the pause routine is
351 * available to suspend a process until a signal is received.
353 /*#define HAS_PAUSE / **/
356 * This symbol, if defined, indicates that the pipe routine is
357 * available to create an inter-process channel.
359 /*#define HAS_PIPE / **/
362 * This symbol, if defined, indicates that the poll routine is
363 * available to poll active file descriptors. You may safely
364 * include <poll.h> when this symbol is defined.
366 /*#define HAS_POLL / **/
369 * This symbol, if defined, indicates that the readdir routine is
370 * available to read directory entries. You may have to include
371 * <dirent.h>. See I_DIRENT.
373 /*#define HAS_READDIR / **/
376 * This symbol, if defined, indicates that the seekdir routine is
377 * available. You may have to include <dirent.h>. See I_DIRENT.
379 /*#define HAS_SEEKDIR / **/
382 * This symbol, if defined, indicates that the telldir routine is
383 * available. You may have to include <dirent.h>. See I_DIRENT.
385 /*#define HAS_TELLDIR / **/
388 * This symbol, if defined, indicates that the rewinddir routine is
389 * available. You may have to include <dirent.h>. See I_DIRENT.
391 /*#define HAS_REWINDDIR / **/
394 * This symbol, if defined, indicates that the readlink routine is
395 * available to read the value of a symbolic link.
397 /*#define HAS_READLINK / **/
400 * This symbol, if defined, indicates that the rename routine is available
401 * to rename files. Otherwise you should do the unlink(), link(), unlink()
404 /*#define HAS_RENAME / **/
407 * This symbol, if defined, indicates that the rmdir routine is
408 * available to remove directories. Otherwise you should fork off a
409 * new process to exec /bin/rmdir.
411 /*#define HAS_RMDIR / **/
414 * This symbol, if defined, indicates that the select routine is
415 * available to select active file descriptors. If the timeout field
416 * is used, <sys/time.h> may need to be included.
418 /*#define HAS_SELECT / **/
421 * This symbol, if defined, indicates that the setegid routine is available
422 * to change the effective gid of the current program.
424 /*#define HAS_SETEGID / **/
427 * This symbol, if defined, indicates that the seteuid routine is available
428 * to change the effective uid of the current program.
430 /*#define HAS_SETEUID / **/
433 * This symbol, if defined, indicates that the setlinebuf routine is
434 * available to change stderr or stdout from block-buffered or unbuffered
435 * to a line-buffered mode.
437 /*#define HAS_SETLINEBUF / **/
440 * This symbol, if defined, indicates that the setlocale routine is
441 * available to handle locale-specific ctype implementations.
443 /*#define HAS_SETLOCALE / **/
446 * This symbol, if defined, indicates that the setpgid(pid, gpid)
447 * routine is available to set process group ID.
449 /*#define HAS_SETPGID / **/
452 * This symbol, if defined, indicates that the setpgrp2() (as in DG/UX)
453 * routine is available to set the current process group.
455 /*#define HAS_SETPGRP2 / **/
458 * This symbol, if defined, indicates that the setpriority routine is
459 * available to set a process's priority.
461 /*#define HAS_SETPRIORITY / **/
464 * This symbol, if defined, indicates that the setregid routine is
465 * available to change the real and effective gid of the current
469 * This symbol, if defined, indicates that the setresgid routine is
470 * available to change the real, effective and saved gid of the current
473 /*#define HAS_SETREGID / **/
474 /*#define HAS_SETRESGID / **/
477 * This symbol, if defined, indicates that the setreuid routine is
478 * available to change the real and effective uid of the current
482 * This symbol, if defined, indicates that the setresuid routine is
483 * available to change the real, effective and saved uid of the current
486 /*#define HAS_SETREUID / **/
487 /*#define HAS_SETRESUID / **/
490 * This symbol, if defined, indicates that the setrgid routine is available
491 * to change the real gid of the current program.
493 /*#define HAS_SETRGID / **/
496 * This symbol, if defined, indicates that the setruid routine is available
497 * to change the real uid of the current program.
499 /*#define HAS_SETRUID / **/
502 * This symbol, if defined, indicates that the setsid routine is
503 * available to set the process group ID.
505 /*#define HAS_SETSID / **/
508 * This symbol is defined to indicate that the strchr()/strrchr()
509 * functions are available for string searching. If not, try the
510 * index()/rindex() pair.
513 * This symbol is defined to indicate that the index()/rindex()
514 * functions are available for string searching.
516 /*#define HAS_STRCHR / **/
517 /*#define HAS_INDEX / **/
520 * This symbol, if defined, indicates that the strcoll routine is
521 * available to compare strings using collating information.
523 /*#define HAS_STRCOLL / **/
526 * This symbol, if defined, indicates that this C compiler knows how
527 * to copy structures. If undefined, you'll need to use a block copy
528 * routine of some sort instead.
530 /*#define USE_STRUCT_COPY / **/
533 * This symbol, if defined, indicates that the strtod routine is
534 * available to provide better numeric string conversion than atof().
536 /*#define HAS_STRTOD / **/
539 * This symbol, if defined, indicates that the strtol routine is available
540 * to provide better numeric string conversion than atoi() and friends.
542 /*#define HAS_STRTOL / **/
545 * This symbol, if defined, indicates that the strxfrm() routine is
546 * available to transform strings.
548 /*#define HAS_STRXFRM / **/
551 * This symbol, if defined, indicates that the symlink routine is available
552 * to create symbolic links.
554 /*#define HAS_SYMLINK / **/
557 * This symbol, if defined, indicates that the syscall routine is
558 * available to call arbitrary system calls. If undefined, that's tough.
560 /*#define HAS_SYSCALL / **/
563 * This symbol, if defined, indicates that sysconf() is available
564 * to determine system related limits and options.
566 /*#define HAS_SYSCONF / **/
569 * This symbol, if defined, indicates that the system routine is
570 * available to issue a shell command.
572 /*#define HAS_SYSTEM / **/
575 * This symbol, if defined, indicates that the tcgetpgrp routine is
576 * available to get foreground process group ID.
578 /*#define HAS_TCGETPGRP / **/
581 * This symbol, if defined, indicates that the tcsetpgrp routine is
582 * available to set foreground process group ID.
584 /*#define HAS_TCSETPGRP / **/
587 * This symbol, if defined, indicates that the truncate routine is
588 * available to truncate files.
590 /*#define HAS_TRUNCATE / **/
593 * This symbol, if defined, indicates that the tzname[] array is
594 * available to access timezone names.
596 /*#define HAS_TZNAME / **/
599 * This symbol, if defined, indicates that the umask routine is
600 * available to set and get the value of the file creation mask.
602 /*#define HAS_UMASK / **/
605 * This symbol, if defined, indicates that the usleep routine is
606 * available to let the process sleep on a sub-second accuracy.
608 /*#define HAS_USLEEP / **/
611 * This symbol, if defined, indicates that this C compiler knows about
612 * the volatile declaration.
614 /*#define HASVOLATILE / **/
620 * This symbol, if defined, indicates that wait4() exists.
622 /*#define HAS_WAIT4 / **/
625 * This symbol, if defined, indicates that the waitpid routine is
626 * available to wait for child process.
628 /*#define HAS_WAITPID / **/
631 * This symbol, if defined, indicates that the wcstombs routine is
632 * available to convert wide character strings to multibyte strings.
634 /*#define HAS_WCSTOMBS / **/
637 * This symbol, if defined, indicates that the wctomb routine is available
638 * to covert a wide character to a multibyte.
640 /*#define HAS_WCTOMB / **/
643 * This symbol, if defined, indicates to the C program that it should
644 * include <arpa/inet.h> to get inet_addr and friends declarations.
646 /*#define I_ARPA_INET / **/
649 * This symbol, if defined, indicates that <dbm.h> exists and should
653 * This symbol, if defined, indicates that <rpcsvc/dbm.h> exists and
654 * should be included.
656 /*#define I_DBM / **/
657 /*#define I_RPCSVC_DBM / **/
660 * This symbol, if defined, indicates to the C program that it should
661 * include <dirent.h>. Using this symbol also triggers the definition
662 * of the Direntry_t define which ends up being 'struct dirent' or
663 * 'struct direct' depending on the availability of <dirent.h>.
666 * This symbol, if defined, indicates to the C program that the length
667 * of directory entry names is provided by a d_namlen field. Otherwise
668 * you need to do strlen() on the d_name field.
671 * This symbol is set to 'struct direct' or 'struct dirent' depending on
672 * whether dirent is available or not. You should use this pseudo type to
673 * portably declare your directory entries.
675 /*#define I_DIRENT / **/
676 /*#define DIRNAMLEN / **/
677 #define Direntry_t struct dirent
680 * This symbol, if defined, indicates that <dlfcn.h> exists and should
683 /*#define I_DLFCN / **/
686 * This manifest constant tells the C program to include <fcntl.h>.
688 /*#define I_FCNTL / **/
691 * This symbol, if defined, indicates to the C program that it should
692 * include <float.h> to get definition of symbols like DBL_MAX or
693 * DBL_MIN, i.e. machine dependent floating point values.
695 /*#define I_FLOAT / **/
698 * This symbol, if defined, indicates to the C program that it should
699 * include <limits.h> to get definition of symbols like WORD_BIT or
700 * LONG_MAX, i.e. machine dependant limitations.
702 /*#define I_LIMITS / **/
705 * This symbol, if defined, indicates to the C program that it should
706 * include <locale.h>.
708 /*#define I_LOCALE / **/
711 * This symbol, if defined, indicates to the C program that it should
717 * This symbol, if defined, indicates to the C program that it should
718 * include <memory.h>.
720 /*#define I_MEMORY / **/
723 * This symbol, if defined, indicates that <net/errno.h> exists and
724 * should be included.
726 /*#define I_NET_ERRNO / **/
729 * This symbol, if defined, indicates to the C program that it should
730 * include <netinet/in.h>. Otherwise, you may try <sys/in.h>.
732 /*#define I_NETINET_IN / **/
735 * This symbol, if defined, indicates to the C program that it should
738 /*#define I_SFIO / **/
741 * This symbol, if defined, indicates that <stddef.h> exists and should
744 /*#define I_STDDEF / **/
747 * This symbol, if defined, indicates that <stdlib.h> exists and should
750 /*#define I_STDLIB / **/
753 * This symbol, if defined, indicates to the C program that it should
754 * include <string.h> (USG systems) instead of <strings.h> (BSD systems).
756 #define I_STRING /**/
759 * This symbol, if defined, indicates to the C program that it should
760 * include <sys/dir.h>.
762 /*#define I_SYS_DIR / **/
765 * This symbol, if defined, indicates to the C program that it should
766 * include <sys/file.h> to get definition of R_OK and friends.
768 /*#define I_SYS_FILE / **/
771 * This symbol, if defined, indicates that <sys/ioctl.h> exists and should
772 * be included. Otherwise, include <sgtty.h> or <termio.h>.
775 * This symbol, if defined, indicates the <sys/sockio.h> should be included
776 * to get socket ioctl options, like SIOCATMARK.
778 /*#define I_SYS_IOCTL / **/
779 /*#define I_SYS_SOCKIO / **/
782 * This symbol, if defined, indicates to the C program that it should
783 * include <sys/ndir.h>.
785 /*#define I_SYS_NDIR / **/
788 * This symbol, if defined, indicates to the C program that it should
789 * include <sys/param.h>.
791 /*#define I_SYS_PARAM / **/
794 * This symbol, if defined, indicates to the C program that it should
795 * include <sys/resource.h>.
797 /*#define I_SYS_RESOURCE / **/
800 * This symbol, if defined, indicates to the C program that it should
801 * include <sys/select.h> in order to get definition of struct timeval.
803 /*#define I_SYS_SELECT / **/
806 * This symbol, if defined, indicates to the C program that it should
807 * include <sys/stat.h>.
809 #define I_SYS_STAT /**/
812 * This symbol, if defined, indicates to the C program that it should
813 * include <sys/times.h>.
815 /*#define I_SYS_TIMES / **/
818 * This symbol, if defined, indicates to the C program that it should
819 * include <sys/types.h>.
821 /*#define I_SYS_TYPES / **/
824 * This symbol, if defined, indicates to the C program that it should
825 * include <sys/un.h> to get UNIX domain socket definitions.
827 /*#define I_SYS_UN / **/
830 * This symbol, if defined, indicates to the C program that it should
831 * include <sys/wait.h>.
833 /*#define I_SYS_WAIT / **/
836 * This symbol, if defined, indicates that the program should include
837 * <termio.h> rather than <sgtty.h>. There are also differences in
838 * the ioctl() calls that depend on the value of this symbol.
841 * This symbol, if defined, indicates that the program should include
842 * the POSIX termios.h rather than sgtty.h or termio.h.
843 * There are also differences in the ioctl() calls that depend on the
844 * value of this symbol.
847 * This symbol, if defined, indicates that the program should include
848 * <sgtty.h> rather than <termio.h>. There are also differences in
849 * the ioctl() calls that depend on the value of this symbol.
851 /*#define I_TERMIO / **/
852 /*#define I_TERMIOS / **/
853 /*#define I_SGTTY / **/
856 * This symbol, if defined, indicates to the C program that it should
857 * include <unistd.h>.
859 /*#define I_UNISTD / **/
862 * This symbol, if defined, indicates to the C program that it should
865 /*#define I_UTIME / **/
868 * This symbol, if defined, indicates to the C program that it should
869 * include <values.h> to get definition of symbols like MINFLOAT or
870 * MAXLONG, i.e. machine dependant limitations. Probably, you
871 * should use <limits.h> instead, if it is available.
873 /*#define I_VALUES / **/
876 * This symbol, if defined, indicates to the C program that it should
879 /*#define I_VFORK / **/
882 * This symbol contains the value of sizeof(int) so that the C
883 * preprocessor can make decisions based on it.
886 * This symbol contains the value of sizeof(long) so that the C
887 * preprocessor can make decisions based on it.
890 * This symbol contains the value of sizeof(short) so that the C
891 * preprocessor can make decisions based on it.
893 #define INTSIZE 4 /**/
894 #define LONGSIZE 4 /**/
895 #define SHORTSIZE 2 /**/
898 * This symbol, if defined, signifies that the build
899 * process will produce some binary files that are going to be
900 * used in a cross-platform environment. This is the case for
901 * example with the NeXT "fat" binaries that contain executables
904 /*#define MULTIARCH / **/
907 * This symbol, if defined, tells that there's a 64-bit integer type,
908 * Quad_t, and its unsigned counterpar, Uquad_t. QUADKIND will be one
909 * of QUAD_IS_INT, QUAD_IS_LONG, QUAD_IS_LONG_LONG, or QUAD_IS_INT64_T.
911 /*#define HAS_QUAD / **/
913 # define Quad_t int64_t /**/
914 # define Uquad_t uint64_t /**/
915 # define QUADKIND 4 /**/
916 # define QUAD_IS_INT 1
917 # define QUAD_IS_LONG 2
918 # define QUAD_IS_LONG_LONG 3
919 # define QUAD_IS_INT64_T 4
923 * This symbol, if defined, indicates that the accessx routine is
924 * available to do extended access checks.
926 /*#define HAS_ACCESSX / **/
929 * This symbol, if defined, indicates that the eaccess routine is
930 * available to do extended access checks.
932 /*#define HAS_EACCESS / **/
935 * This symbol, if defined, indicates to the C program that it should
936 * include <sys/access.h>.
938 /*#define I_SYS_ACCESS / **/
941 * This symbol, if defined, indicates to the C program that it should
942 * include <sys/security.h>.
944 /*#define I_SYS_SECURITY / **/
947 * This symbol contains the name of the operating system, as determined
948 * by Configure. You shouldn't rely on it too much; the specific
949 * feature tests from Configure are generally more reliable.
952 * This symbol contains the version of the operating system, as determined
953 * by Configure. You shouldn't rely on it too much; the specific
954 * feature tests from Configure are generally more reliable.
956 #define OSNAME "unknown" /**/
957 #define OSVERS "" /**/
960 * This symbol contains the number of bytes required to align a
961 * double, or a long double when applicable. Usual values are 2,
962 * 4 and 8. The default is eight, for safety.
964 #if defined(USE_CROSS_COMPILE) || defined(MULTIARCH)
965 # define MEM_ALIGNBYTES 8
967 #define MEM_ALIGNBYTES 4
971 * This variable, if defined, holds the name of the directory in
972 * which the user wants to put architecture-dependent public
973 * library files for . It is most often a local directory
974 * such as /usr/local/lib. Programs using this variable must be
975 * prepared to deal with filename expansion. If ARCHLIB is the
976 * same as PRIVLIB, it is not defined, since presumably the
977 * program already searches PRIVLIB.
980 * This symbol contains the ~name expanded version of ARCHLIB, to be used
981 * in programs that are not prepared to deal with ~ expansion at run-time.
983 /*#define ARCHLIB "/usr/local/lib/perl5/5.7/unknown" / **/
984 /*#define ARCHLIB_EXP "/usr/local/lib/perl5/5.7/unknown" / **/
987 * This symbol holds a string representing the architecture name.
988 * It may be used to construct an architecture-dependant pathname
989 * where library files may be held under a private library, for
992 #define ARCHNAME "unknown" /**/
995 * This symbol, if defined, indicates that the atolf routine is
996 * available to convert strings into long doubles.
998 /*#define HAS_ATOLF / **/
1001 * This symbol, if defined, indicates that the atoll routine is
1002 * available to convert strings into long longs.
1004 /*#define HAS_ATOLL / **/
1007 * This symbol holds the path of the bin directory where the package will
1008 * be installed. Program must be prepared to deal with ~name substitution.
1011 * This symbol is the filename expanded version of the BIN symbol, for
1012 * programs that do not want to deal with that at run-time.
1014 #define BIN "/usr/local/bin" /**/
1015 #define BIN_EXP "" /**/
1018 * This symbol holds the hexadecimal constant defined in byteorder,
1019 * in a UV, i.e. 0x1234 or 0x4321 or 0x12345678, etc...
1020 * If the compiler supports cross-compiling or multiple-architecture
1021 * binaries (eg. on NeXT systems), use compiler-defined macros to
1022 * determine the byte order.
1023 * On NeXT 3.2 (and greater), you can build "Fat" Multiple Architecture
1024 * Binaries (MAB) on either big endian or little endian machines.
1025 * The endian-ness is available at compile-time. This only matters
1026 * for perl, where the config.h can be generated and installed on
1027 * one system, and used by a different architecture to build an
1028 * extension. Older versions of NeXT that might not have
1029 * defined either *_ENDIAN__ were all on Motorola 680x0 series,
1030 * so the default case (for NeXT) is big endian to catch them.
1031 * This might matter for NeXT 3.0.
1033 #if defined(USE_CROSS_COMPILE) || defined(MULTIARCH)
1034 # ifdef __LITTLE_ENDIAN__
1036 # define BYTEORDER 0x1234
1039 # define BYTEORDER 0x12345678
1043 # ifdef __BIG_ENDIAN__
1045 # define BYTEORDER 0x4321
1048 # define BYTEORDER 0x87654321
1053 # if !defined(BYTEORDER) && (defined(NeXT) || defined(__NeXT__))
1054 # define BYTEORDER 0x4321
1057 #define BYTEORDER 0x1234 /* large digits for MSB */
1061 * This macro catenates 2 tokens together.
1064 * This macro surrounds its token with double quotes.
1067 #define CAT2(a,b) a/**/b
1068 #define STRINGIFY(a) "a"
1069 /* If you can get stringification with catify, tell me how! */
1072 #define PeRl_CaTiFy(a, b) a ## b
1073 #define PeRl_StGiFy(a) #a
1074 /* the additional level of indirection enables these macros to be
1075 * used as arguments to other macros. See K&R 2nd ed., page 231. */
1076 #define CAT2(a,b) PeRl_CaTiFy(a,b)
1077 #define StGiFy(a) PeRl_StGiFy(a)
1078 #define STRINGIFY(a) PeRl_StGiFy(a)
1080 #if 42 != 1 && 42 != 42
1081 # include "Bletch: How does this C preprocessor catenate tokens?"
1085 * This symbol contains the first part of the string which will invoke
1086 * the C preprocessor on the standard input and produce to standard
1087 * output. Typical value of "cc -E" or "/lib/cpp", but it can also
1088 * call a wrapper. See CPPRUN.
1091 * This symbol contains the second part of the string which will invoke
1092 * the C preprocessor on the standard input and produce to standard
1093 * output. This symbol will have the value "-" if CPPSTDIN needs a minus
1094 * to specify standard input, otherwise the value is "".
1097 * This symbol contains the string which will invoke a C preprocessor on
1098 * the standard input and produce to standard output. It needs to end
1099 * with CPPLAST, after all other preprocessor flags have been specified.
1100 * The main difference with CPPSTDIN is that this program will never be a
1101 * pointer to a shell wrapper, i.e. it will be empty if no preprocessor is
1102 * available directly to the user. Note that it may well be different from
1103 * the preprocessor used to compile the C program.
1106 * This symbol is intended to be used along with CPPRUN in the same manner
1107 * symbol CPPMINUS is used with CPPSTDIN. It contains either "-" or "".
1115 * This symbol, if defined, indicates that the _fwalk system call is
1116 * available to apply a function to all the file handles.
1118 /*#define HAS__FWALK / **/
1121 * This manifest constant lets the C program know that the access()
1122 * system call is available to check for accessibility using real UID/GID.
1123 * (always present on UNIX.)
1125 /*#define HAS_ACCESS / **/
1128 * This symbol, if defined, indicates that the asctime_r routine
1129 * is available to asctime re-entrantly.
1132 * This symbol encodes the prototype of asctime_r.
1133 * It is zero if d_asctime_r is undef, and one of the
1134 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_asctime_r
1137 /*#define HAS_ASCTIME_R / **/
1138 #define ASCTIME_R_PROTO 0 /**/
1141 * This symbol is defined if the C compiler can cast negative
1142 * or large floating point numbers to 32-bit ints.
1144 /*#define CASTI32 / **/
1147 * This symbol is defined if the C compiler can cast negative
1148 * numbers to unsigned longs, ints and shorts.
1151 * This symbol contains flags that say what difficulties the compiler
1152 * has casting odd floating values to unsigned long:
1154 * 1 = couldn't cast < 0
1155 * 2 = couldn't cast >= 0x80000000
1156 * 4 = couldn't cast in argument expression list
1158 /*#define CASTNEGFLOAT / **/
1159 #define CASTFLAGS 0 /**/
1162 * This symbol, if defined, indicates that the class routine is
1163 * available to classify doubles. Available for example in AIX.
1164 * The returned values are defined in <float.h> and are:
1166 * FP_PLUS_NORM Positive normalized, nonzero
1167 * FP_MINUS_NORM Negative normalized, nonzero
1168 * FP_PLUS_DENORM Positive denormalized, nonzero
1169 * FP_MINUS_DENORM Negative denormalized, nonzero
1171 * FP_MINUS_ZERO -0.0
1174 * FP_NANS Signaling Not a Number (NaNS)
1175 * FP_NANQ Quiet Not a Number (NaNQ)
1177 /*#define HAS_CLASS / **/
1180 * This symbol, if defined, indicates that the closedir() routine
1181 * does not return a value.
1183 /*#define VOID_CLOSEDIR / **/
1185 /* HAS_STRUCT_CMSGHDR:
1186 * This symbol, if defined, indicates that the struct cmsghdr
1189 /*#define HAS_STRUCT_CMSGHDR / **/
1192 * This symbol, if defined, indicates that the crypt_r routine
1193 * is available to crypt re-entrantly.
1196 * This symbol encodes the prototype of crypt_r.
1197 * It is zero if d_crypt_r is undef, and one of the
1198 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_crypt_r
1201 /*#define HAS_CRYPT_R / **/
1202 #define CRYPT_R_PROTO 0 /**/
1205 * This symbol, if defined, indicates that the C-shell exists.
1208 * This symbol, if defined, contains the full pathname of csh.
1210 /*#define HAS_CSH / **/
1216 * This symbol, if defined, indicates that the ctime_r routine
1217 * is available to ctime re-entrantly.
1220 * This symbol encodes the prototype of ctime_r.
1221 * It is zero if d_ctime_r is undef, and one of the
1222 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_ctime_r
1225 /*#define HAS_CTIME_R / **/
1226 #define CTIME_R_PROTO 0 /**/
1228 /* DLSYM_NEEDS_UNDERSCORE:
1229 * This symbol, if defined, indicates that we need to prepend an
1230 * underscore to the symbol name before calling dlsym(). This only
1231 * makes sense if you *have* dlsym, which we will presume is the
1232 * case if you're using dl_dlopen.xs.
1234 /*#define DLSYM_NEEDS_UNDERSCORE / **/
1237 * This symbol, if defined, indicates that the drand48_r routine
1238 * is available to drand48 re-entrantly.
1241 * This symbol encodes the prototype of drand48_r.
1242 * It is zero if d_drand48_r is undef, and one of the
1243 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_drand48_r
1246 /*#define HAS_DRAND48_R / **/
1247 #define DRAND48_R_PROTO 0 /**/
1249 /* HAS_DRAND48_PROTO:
1250 * This symbol, if defined, indicates that the system provides
1251 * a prototype for the drand48() function. Otherwise, it is up
1252 * to the program to supply one. A good guess is
1253 * extern double drand48(void);
1255 /*#define HAS_DRAND48_PROTO / **/
1258 * This symbol, if defined, indicates that the getgrent routine is
1259 * available for finalizing sequential access of the group database.
1261 /*#define HAS_ENDGRENT / **/
1264 * This symbol, if defined, indicates that the endgrent_r routine
1265 * is available to endgrent re-entrantly.
1267 /* ENDGRENT_R_PROTO:
1268 * This symbol encodes the prototype of endgrent_r.
1269 * It is zero if d_endgrent_r is undef, and one of the
1270 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endgrent_r
1273 /*#define HAS_ENDGRENT_R / **/
1274 #define ENDGRENT_R_PROTO 0 /**/
1277 * This symbol, if defined, indicates that the endhostent() routine is
1278 * available to close whatever was being used for host queries.
1280 /*#define HAS_ENDHOSTENT / **/
1283 * This symbol, if defined, indicates that the endnetent() routine is
1284 * available to close whatever was being used for network queries.
1286 /*#define HAS_ENDNETENT / **/
1289 * This symbol, if defined, indicates that the endprotoent() routine is
1290 * available to close whatever was being used for protocol queries.
1292 /*#define HAS_ENDPROTOENT / **/
1295 * This symbol, if defined, indicates that the getgrent routine is
1296 * available for finalizing sequential access of the passwd database.
1298 /*#define HAS_ENDPWENT / **/
1301 * This symbol, if defined, indicates that the endpwent_r routine
1302 * is available to endpwent re-entrantly.
1304 /* ENDPWENT_R_PROTO:
1305 * This symbol encodes the prototype of endpwent_r.
1306 * It is zero if d_endpwent_r is undef, and one of the
1307 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endpwent_r
1310 /*#define HAS_ENDPWENT_R / **/
1311 #define ENDPWENT_R_PROTO 0 /**/
1314 * This symbol, if defined, indicates that the endservent() routine is
1315 * available to close whatever was being used for service queries.
1317 /*#define HAS_ENDSERVENT / **/
1320 * This symbol, if defined, indicates that the fchdir routine is
1321 * available to change directory using a file descriptor.
1323 /*#define HAS_FCHDIR / **/
1326 * This symbol, if defined, indicates that fcntl() can be used
1327 * for file locking. Normally on Unix systems this is defined.
1328 * It may be undefined on VMS.
1330 /*#define FCNTL_CAN_LOCK / **/
1333 * This symbol, when defined, indicates presence of the fd_set typedef
1336 /*#define HAS_FD_SET / **/
1339 * This symbol, if defined, indicates that the finite routine is
1340 * available to check whether a double is finite (non-infinity non-NaN).
1342 /*#define HAS_FINITE / **/
1345 * This symbol, if defined, indicates that the finitel routine is
1346 * available to check whether a long double is finite
1347 * (non-infinity non-NaN).
1349 /*#define HAS_FINITEL / **/
1352 * This symbol, if defined, indicates that the system supports filenames
1353 * longer than 14 characters.
1355 /*#define FLEXFILENAMES / **/
1358 * This symbol, if defined, indicates that the fp_class routine is
1359 * available to classify doubles. Available for example in Digital UNIX.
1360 * The returned values are defined in <math.h> and are:
1362 * FP_SNAN Signaling NaN (Not-a-Number)
1363 * FP_QNAN Quiet NaN (Not-a-Number)
1364 * FP_POS_INF +infinity
1365 * FP_NEG_INF -infinity
1366 * FP_POS_NORM Positive normalized
1367 * FP_NEG_NORM Negative normalized
1368 * FP_POS_DENORM Positive denormalized
1369 * FP_NEG_DENORM Negative denormalized
1370 * FP_POS_ZERO +0.0 (positive zero)
1371 * FP_NEG_ZERO -0.0 (negative zero)
1373 /*#define HAS_FP_CLASS / **/
1376 * This symbol, if defined, indicates that the fpclass routine is
1377 * available to classify doubles. Available for example in Solaris/SVR4.
1378 * The returned values are defined in <ieeefp.h> and are:
1380 * FP_SNAN signaling NaN
1382 * FP_NINF negative infinity
1383 * FP_PINF positive infinity
1384 * FP_NDENORM negative denormalized non-zero
1385 * FP_PDENORM positive denormalized non-zero
1386 * FP_NZERO negative zero
1387 * FP_PZERO positive zero
1388 * FP_NNORM negative normalized non-zero
1389 * FP_PNORM positive normalized non-zero
1391 /*#define HAS_FPCLASS / **/
1394 * This symbol, if defined, indicates that the fpclassify routine is
1395 * available to classify doubles. Available for example in HP-UX.
1396 * The returned values are defined in <math.h> and are
1398 * FP_NORMAL Normalized
1400 * FP_INFINITE Infinity
1401 * FP_SUBNORMAL Denormalized
1405 /*#define HAS_FPCLASSIFY / **/
1408 * This symbol will be defined if the C compiler supports fpos64_t.
1410 /*#define HAS_FPOS64_T / **/
1413 * This symbol, if defined, indicates that the frexpl routine is
1414 * available to break a long double floating-point number into
1415 * a normalized fraction and an integral power of 2.
1417 /*#define HAS_FREXPL / **/
1419 /* HAS_STRUCT_FS_DATA:
1420 * This symbol, if defined, indicates that the struct fs_data
1421 * to do statfs() is supported.
1423 /*#define HAS_STRUCT_FS_DATA / **/
1426 * This symbol, if defined, indicates that the fseeko routine is
1427 * available to fseek beyond 32 bits (useful for ILP32 hosts).
1429 /*#define HAS_FSEEKO / **/
1432 * This symbol, if defined, indicates that the fstatfs routine is
1433 * available to stat filesystems by file descriptors.
1435 /*#define HAS_FSTATFS / **/
1438 * This symbol, if defined, indicates that the fsync routine is
1439 * available to write a file's modified data and attributes to
1440 * permanent storage.
1442 /*#define HAS_FSYNC / **/
1445 * This symbol, if defined, indicates that the ftello routine is
1446 * available to ftell beyond 32 bits (useful for ILP32 hosts).
1448 /*#define HAS_FTELLO / **/
1451 * This preprocessor macro is defined to convert a floating point
1452 * number to a string without a trailing decimal point. This
1453 * emulates the behavior of sprintf("%g"), but is sometimes much more
1454 * efficient. If gconvert() is not available, but gcvt() drops the
1455 * trailing decimal point, then gcvt() is used. If all else fails,
1456 * a macro using sprintf("%g") is used. Arguments for the Gconvert
1457 * macro are: value, number of digits, whether trailing zeros should
1458 * be retained, and the output buffer.
1459 * The usual values are:
1460 * d_Gconvert='gconvert((x),(n),(t),(b))'
1461 * d_Gconvert='gcvt((x),(n),(b))'
1462 * d_Gconvert='sprintf((b),"%.*g",(n),(x))'
1463 * The last two assume trailing zeros should not be kept.
1465 #define Gconvert(x,n,t,b) sprintf((b),"%.*g",(n),(x))
1468 * This symbol, if defined, indicates that the getcwd routine is
1469 * available to get the current working directory.
1471 /*#define HAS_GETCWD / **/
1474 * This symbol, if defined, indicates that the getespwnam system call is
1475 * available to retrieve enchanced (shadow) password entries by name.
1477 /*#define HAS_GETESPWNAM / **/
1480 * This symbol, if defined, indicates that the getfsstat routine is
1481 * available to stat filesystems in bulk.
1483 /*#define HAS_GETFSSTAT / **/
1486 * This symbol, if defined, indicates that the getgrent routine is
1487 * available for sequential access of the group database.
1489 /*#define HAS_GETGRENT / **/
1492 * This symbol, if defined, indicates that the getgrent_r routine
1493 * is available to getgrent re-entrantly.
1495 /* GETGRENT_R_PROTO:
1496 * This symbol encodes the prototype of getgrent_r.
1497 * It is zero if d_getgrent_r is undef, and one of the
1498 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getgrent_r
1501 /*#define HAS_GETGRENT_R / **/
1502 #define GETGRENT_R_PROTO 0 /**/
1505 * This symbol, if defined, indicates that the getgrgid_r routine
1506 * is available to getgrgid re-entrantly.
1508 /* GETGRGID_R_PROTO:
1509 * This symbol encodes the prototype of getgrgid_r.
1510 * It is zero if d_getgrgid_r is undef, and one of the
1511 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getgrgid_r
1514 /*#define HAS_GETGRGID_R / **/
1515 #define GETGRGID_R_PROTO 0 /**/
1518 * This symbol, if defined, indicates that the getgrnam_r routine
1519 * is available to getgrnam re-entrantly.
1521 /* GETGRNAM_R_PROTO:
1522 * This symbol encodes the prototype of getgrnam_r.
1523 * It is zero if d_getgrnam_r is undef, and one of the
1524 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getgrnam_r
1527 /*#define HAS_GETGRNAM_R / **/
1528 #define GETGRNAM_R_PROTO 0 /**/
1530 /* HAS_GETHOSTBYADDR:
1531 * This symbol, if defined, indicates that the gethostbyaddr() routine is
1532 * available to look up hosts by their IP addresses.
1534 /*#define HAS_GETHOSTBYADDR / **/
1536 /* HAS_GETHOSTBYNAME:
1537 * This symbol, if defined, indicates that the gethostbyname() routine is
1538 * available to look up host names in some data base or other.
1540 /*#define HAS_GETHOSTBYNAME / **/
1543 * This symbol, if defined, indicates that the gethostent() routine is
1544 * available to look up host names in some data base or another.
1546 /*#define HAS_GETHOSTENT / **/
1549 * This symbol, if defined, indicates that the C program may use the
1550 * gethostname() routine to derive the host name. See also HAS_UNAME
1554 * This symbol, if defined, indicates that the C program may use the
1555 * uname() routine to derive the host name. See also HAS_GETHOSTNAME
1559 * This symbol, if defined, indicates the command to feed to the
1560 * popen() routine to derive the host name. See also HAS_GETHOSTNAME
1561 * and HAS_UNAME. Note that the command uses a fully qualified path,
1562 * so that it is safe even if used by a process with super-user
1566 * This symbol, if defined, indicates that the C program may use the
1567 * contents of PHOSTNAME as a command to feed to the popen() routine
1568 * to derive the host name.
1570 /*#define HAS_GETHOSTNAME / **/
1571 /*#define HAS_UNAME / **/
1572 /*#define HAS_PHOSTNAME / **/
1573 #ifdef HAS_PHOSTNAME
1574 #define PHOSTNAME "" /* How to get the host name */
1577 /* HAS_GETHOST_PROTOS:
1578 * This symbol, if defined, indicates that <netdb.h> includes
1579 * prototypes for gethostent(), gethostbyname(), and
1580 * gethostbyaddr(). Otherwise, it is up to the program to guess
1581 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
1583 /*#define HAS_GETHOST_PROTOS / **/
1586 * This symbol, if defined, indicates that the getitimer routine is
1587 * available to return interval timers.
1589 /*#define HAS_GETITIMER / **/
1592 * This symbol, if defined, indicates that the getlogin_r routine
1593 * is available to getlogin re-entrantly.
1595 /* GETLOGIN_R_PROTO:
1596 * This symbol encodes the prototype of getlogin_r.
1597 * It is zero if d_getlogin_r is undef, and one of the
1598 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getlogin_r
1601 /*#define HAS_GETLOGIN_R / **/
1602 #define GETLOGIN_R_PROTO 0 /**/
1605 * This symbol, if defined, indicates that the getmnt routine is
1606 * available to get filesystem mount info by filename.
1608 /*#define HAS_GETMNT / **/
1611 * This symbol, if defined, indicates that the getmntent routine is
1612 * available to iterate through mounted file systems to get their info.
1614 /*#define HAS_GETMNTENT / **/
1616 /* HAS_GETNETBYADDR:
1617 * This symbol, if defined, indicates that the getnetbyaddr() routine is
1618 * available to look up networks by their IP addresses.
1620 /*#define HAS_GETNETBYADDR / **/
1622 /* HAS_GETNETBYNAME:
1623 * This symbol, if defined, indicates that the getnetbyname() routine is
1624 * available to look up networks by their names.
1626 /*#define HAS_GETNETBYNAME / **/
1629 * This symbol, if defined, indicates that the getnetent() routine is
1630 * available to look up network names in some data base or another.
1632 /*#define HAS_GETNETENT / **/
1634 /* HAS_GETNET_PROTOS:
1635 * This symbol, if defined, indicates that <netdb.h> includes
1636 * prototypes for getnetent(), getnetbyname(), and
1637 * getnetbyaddr(). Otherwise, it is up to the program to guess
1638 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
1640 /*#define HAS_GETNET_PROTOS / **/
1643 * This symbol, if defined, indicates that the getpagesize system call
1644 * is available to get system page size, which is the granularity of
1645 * many memory management calls.
1647 /*#define HAS_GETPAGESIZE / **/
1650 * This symbol, if defined, indicates that the getprotoent() routine is
1651 * available to look up protocols in some data base or another.
1653 /*#define HAS_GETPROTOENT / **/
1656 * This symbol, if defined, indicates that the getpgrp routine is
1657 * available to get the current process group.
1660 * This symbol, if defined, indicates that getpgrp needs one
1661 * arguments whereas USG one needs none.
1663 /*#define HAS_GETPGRP / **/
1664 /*#define USE_BSD_GETPGRP / **/
1666 /* HAS_GETPROTOBYNAME:
1667 * This symbol, if defined, indicates that the getprotobyname()
1668 * routine is available to look up protocols by their name.
1670 /* HAS_GETPROTOBYNUMBER:
1671 * This symbol, if defined, indicates that the getprotobynumber()
1672 * routine is available to look up protocols by their number.
1674 /*#define HAS_GETPROTOBYNAME / **/
1675 /*#define HAS_GETPROTOBYNUMBER / **/
1677 /* HAS_GETPROTO_PROTOS:
1678 * This symbol, if defined, indicates that <netdb.h> includes
1679 * prototypes for getprotoent(), getprotobyname(), and
1680 * getprotobyaddr(). Otherwise, it is up to the program to guess
1681 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
1683 /*#define HAS_GETPROTO_PROTOS / **/
1686 * This symbol, if defined, indicates that the getprpwnam system call is
1687 * available to retrieve protected (shadow) password entries by name.
1689 /*#define HAS_GETPRPWNAM / **/
1692 * This symbol, if defined, indicates that the getpwent routine is
1693 * available for sequential access of the passwd database.
1694 * If this is not available, the older getpw() function may be available.
1696 /*#define HAS_GETPWENT / **/
1699 * This symbol, if defined, indicates that the getpwent_r routine
1700 * is available to getpwent re-entrantly.
1702 /* GETPWENT_R_PROTO:
1703 * This symbol encodes the prototype of getpwent_r.
1704 * It is zero if d_getpwent_r is undef, and one of the
1705 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getpwent_r
1708 /*#define HAS_GETPWENT_R / **/
1709 #define GETPWENT_R_PROTO 0 /**/
1712 * This symbol, if defined, indicates that the getpwnam_r routine
1713 * is available to getpwnam re-entrantly.
1715 /* GETPWNAM_R_PROTO:
1716 * This symbol encodes the prototype of getpwnam_r.
1717 * It is zero if d_getpwnam_r is undef, and one of the
1718 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getpwnam_r
1721 /*#define HAS_GETPWNAM_R / **/
1722 #define GETPWNAM_R_PROTO 0 /**/
1725 * This symbol, if defined, indicates that the getpwuid_r routine
1726 * is available to getpwuid re-entrantly.
1728 /* GETPWUID_R_PROTO:
1729 * This symbol encodes the prototype of getpwuid_r.
1730 * It is zero if d_getpwuid_r is undef, and one of the
1731 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getpwuid_r
1734 /*#define HAS_GETPWUID_R / **/
1735 #define GETPWUID_R_PROTO 0 /**/
1738 * This symbol, if defined, indicates that the getservent() routine is
1739 * available to look up network services in some data base or another.
1741 /*#define HAS_GETSERVENT / **/
1743 /* HAS_GETSERV_PROTOS:
1744 * This symbol, if defined, indicates that <netdb.h> includes
1745 * prototypes for getservent(), getservbyname(), and
1746 * getservbyaddr(). Otherwise, it is up to the program to guess
1747 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
1749 /*#define HAS_GETSERV_PROTOS / **/
1752 * This symbol, if defined, indicates that the getspnam system call is
1753 * available to retrieve SysV shadow password entries by name.
1755 /*#define HAS_GETSPNAM / **/
1758 * This symbol, if defined, indicates that the getspnam_r routine
1759 * is available to getspnam re-entrantly.
1761 /* GETSPNAM_R_PROTO:
1762 * This symbol encodes the prototype of getspnam_r.
1763 * It is zero if d_getspnam_r is undef, and one of the
1764 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getspnam_r
1767 /*#define HAS_GETSPNAM_R / **/
1768 #define GETSPNAM_R_PROTO 0 /**/
1770 /* HAS_GETSERVBYNAME:
1771 * This symbol, if defined, indicates that the getservbyname()
1772 * routine is available to look up services by their name.
1774 /* HAS_GETSERVBYPORT:
1775 * This symbol, if defined, indicates that the getservbyport()
1776 * routine is available to look up services by their port.
1778 /*#define HAS_GETSERVBYNAME / **/
1779 /*#define HAS_GETSERVBYPORT / **/
1782 * This symbol, if defined, indicates that the gmtime_r routine
1783 * is available to gmtime re-entrantly.
1786 * This symbol encodes the prototype of gmtime_r.
1787 * It is zero if d_gmtime_r is undef, and one of the
1788 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_gmtime_r
1791 /*#define HAS_GMTIME_R / **/
1792 #define GMTIME_R_PROTO 0 /**/
1795 * This symbol, if defined, indicates to the C program that
1796 * the GNU C library is being used. A better check is to use
1797 * the __GLIBC__ and __GLIBC_MINOR__ symbols supplied with glibc.
1799 /*#define HAS_GNULIBC / **/
1800 #if defined(HAS_GNULIBC) && !defined(_GNU_SOURCE)
1801 # define _GNU_SOURCE
1804 * This symbol, if defined, indicates that the hasmntopt routine is
1805 * available to query the mount options of file systems.
1807 /*#define HAS_HASMNTOPT / **/
1810 * This symbol, if defined, indicates that the htonl() routine (and
1811 * friends htons() ntohl() ntohs()) are available to do network
1812 * order byte swapping.
1815 * This symbol, if defined, indicates that the htons() routine (and
1816 * friends htonl() ntohl() ntohs()) are available to do network
1817 * order byte swapping.
1820 * This symbol, if defined, indicates that the ntohl() routine (and
1821 * friends htonl() htons() ntohs()) are available to do network
1822 * order byte swapping.
1825 * This symbol, if defined, indicates that the ntohs() routine (and
1826 * friends htonl() htons() ntohl()) are available to do network
1827 * order byte swapping.
1829 /*#define HAS_HTONL / **/
1830 /*#define HAS_HTONS / **/
1831 /*#define HAS_NTOHL / **/
1832 /*#define HAS_NTOHS / **/
1835 * This symbol will defined if the C compiler supports int64_t.
1836 * Usually the <inttypes.h> needs to be included, but sometimes
1837 * <sys/types.h> is enough.
1839 /*#define HAS_INT64_T / **/
1842 * This manifest constant lets the C program know that isascii
1845 /*#define HAS_ISASCII / **/
1848 * This symbol, if defined, indicates that the isfinite routine is
1849 * available to check whether a double is finite (non-infinity non-NaN).
1851 /*#define HAS_ISFINITE / **/
1854 * This symbol, if defined, indicates that the isinf routine is
1855 * available to check whether a double is an infinity.
1857 /*#define HAS_ISINF / **/
1860 * This symbol, if defined, indicates that the isnan routine is
1861 * available to check whether a double is a NaN.
1863 /*#define HAS_ISNAN / **/
1866 * This symbol, if defined, indicates that the isnanl routine is
1867 * available to check whether a long double is a NaN.
1869 /*#define HAS_ISNANL / **/
1872 * This symbol, if defined, indicates that the lchown routine is
1873 * available to operate on a symbolic link (instead of following the
1876 /*#define HAS_LCHOWN / **/
1879 * This symbol, if defined, indicates that this system's <float.h>
1880 * or <limits.h> defines the symbol LDBL_DIG, which is the number
1881 * of significant digits in a long double precision number. Unlike
1882 * for DBL_DIG, there's no good guess for LDBL_DIG if it is undefined.
1884 /*#define HAS_LDBL_DIG / * */
1887 * This symbol, if defined, indicates that the localtime_r routine
1888 * is available to localtime re-entrantly.
1890 /* LOCALTIME_R_PROTO:
1891 * This symbol encodes the prototype of localtime_r.
1892 * It is zero if d_localtime_r is undef, and one of the
1893 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_localtime_r
1896 /*#define HAS_LOCALTIME_R / **/
1897 #define LOCALTIME_R_PROTO 0 /**/
1900 * This symbol will be defined if the C compiler supports long
1904 * This symbol contains the size of a long double, so that the
1905 * C preprocessor can make decisions based on it. It is only
1906 * defined if the system supports long doubles.
1908 /*#define HAS_LONG_DOUBLE / **/
1909 #ifdef HAS_LONG_DOUBLE
1910 #define LONG_DOUBLESIZE 8 /**/
1914 * This symbol will be defined if the C compiler supports long long.
1917 * This symbol contains the size of a long long, so that the
1918 * C preprocessor can make decisions based on it. It is only
1919 * defined if the system supports long long.
1921 /*#define HAS_LONG_LONG / **/
1922 #ifdef HAS_LONG_LONG
1923 #define LONGLONGSIZE 8 /**/
1927 * This symbol, if defined, indicates that the system provides
1928 * a prototype for the lseek() function. Otherwise, it is up
1929 * to the program to supply one. A good guess is
1930 * extern off_t lseek(int, off_t, int);
1932 /*#define HAS_LSEEK_PROTO / **/
1935 * This symbol, if defined, indicates that the madvise system call is
1936 * available to map a file into memory.
1938 /*#define HAS_MADVISE / **/
1941 * This symbol, if defined, indicates that the memchr routine is available
1942 * to locate characters within a C string.
1944 /*#define HAS_MEMCHR / **/
1947 * This symbol, if defined, indicates that the mkdtemp routine is
1948 * available to exclusively create a uniquely named temporary directory.
1950 /*#define HAS_MKDTEMP / **/
1953 * This symbol, if defined, indicates that the mkstemp routine is
1954 * available to exclusively create and open a uniquely named
1957 /*#define HAS_MKSTEMP / **/
1960 * This symbol, if defined, indicates that the mkstemps routine is
1961 * available to excluslvely create and open a uniquely named
1962 * (with a suffix) temporary file.
1964 /*#define HAS_MKSTEMPS / **/
1967 * This symbol, if defined, indicates that the mmap system call is
1968 * available to map a file into memory.
1971 * This symbol holds the return type of the mmap() system call
1972 * (and simultaneously the type of the first argument).
1973 * Usually set to 'void *' or 'cadd_t'.
1975 /*#define HAS_MMAP / **/
1979 * This symbol, if defined, indicates that the modfl routine is
1980 * available to split a long double x into a fractional part f and
1981 * an integer part i such that |f| < 1.0 and (f + i) = x.
1983 /* HAS_MODFL_POW32_BUG:
1984 * This symbol, if defined, indicates that the modfl routine is
1985 * broken for long doubles >= pow(2, 32).
1986 * For example from 4294967303.150000 one would get 4294967302.000000
1987 * and 1.150000. The bug has been seen in certain versions of glibc,
1988 * release 2.2.2 is known to be okay.
1990 /*#define HAS_MODFL / **/
1991 /*#define HAS_MODFL_POW32_BUG / **/
1994 * This symbol, if defined, indicates that the mprotect system call is
1995 * available to modify the access protection of a memory mapped file.
1997 /*#define HAS_MPROTECT / **/
2000 * This symbol, if defined, indicates that the entire msg*(2) library is
2001 * supported (IPC mechanism based on message queues).
2003 /*#define HAS_MSG / **/
2005 /* HAS_STRUCT_MSGHDR:
2006 * This symbol, if defined, indicates that the struct msghdr
2009 /*#define HAS_STRUCT_MSGHDR / **/
2012 * This symbol will be defined if the C compiler supports off64_t.
2014 /*#define HAS_OFF64_T / **/
2017 * This manifest constant lets the C program know that the three
2018 * argument form of open(2) is available.
2020 /*#define HAS_OPEN3 / **/
2022 /* OLD_PTHREAD_CREATE_JOINABLE:
2023 * This symbol, if defined, indicates how to create pthread
2024 * in joinable (aka undetached) state. NOTE: not defined
2025 * if pthread.h already has defined PTHREAD_CREATE_JOINABLE
2026 * (the new version of the constant).
2027 * If defined, known values are PTHREAD_CREATE_UNDETACHED
2030 /*#define OLD_PTHREAD_CREATE_JOINABLE / **/
2032 /* HAS_PTHREAD_YIELD:
2033 * This symbol, if defined, indicates that the pthread_yield
2034 * routine is available to yield the execution of the current
2035 * thread. sched_yield is preferable to pthread_yield.
2038 * This symbol defines the way to yield the execution of
2039 * the current thread. Known ways are sched_yield,
2040 * pthread_yield, and pthread_yield with NULL.
2043 * This symbol, if defined, indicates that the sched_yield
2044 * routine is available to yield the execution of the current
2045 * thread. sched_yield is preferable to pthread_yield.
2047 /*#define HAS_PTHREAD_YIELD / **/
2048 #define SCHED_YIELD sched_yield() /**/
2049 /*#define HAS_SCHED_YIELD / **/
2052 * This symbol, if defined, indicates that the random_r routine
2053 * is available to random re-entrantly.
2056 * This symbol encodes the prototype of random_r.
2057 * It is zero if d_random_r is undef, and one of the
2058 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_random_r
2061 /*#define HAS_RANDOM_R / **/
2062 #define RANDOM_R_PROTO 0 /**/
2065 * This symbol, if defined, indicates that the readdir_r routine
2066 * is available to readdir re-entrantly.
2069 * This symbol encodes the prototype of readdir_r.
2070 * It is zero if d_readdir_r is undef, and one of the
2071 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_readdir_r
2074 /*#define HAS_READDIR_R / **/
2075 #define READDIR_R_PROTO 0 /**/
2078 * This symbol, if defined, indicates that the readv routine is
2079 * available to do gather reads. You will also need <sys/uio.h>
2080 * and there I_SYSUIO.
2082 /*#define HAS_READV / **/
2085 * This symbol, if defined, indicates that the recvmsg routine is
2086 * available to send structured socket messages.
2088 /*#define HAS_RECVMSG / **/
2091 * This symbol, if defined, indicates that the bcopy routine is available
2092 * to copy potentially overlapping memory blocks. Normally, you should
2093 * probably use memmove() or memcpy(). If neither is defined, roll your
2096 /*#define HAS_SAFE_BCOPY / **/
2099 * This symbol, if defined, indicates that the memcpy routine is available
2100 * to copy potentially overlapping memory blocks. If you need to
2101 * copy overlapping memory blocks, you should check HAS_MEMMOVE and
2102 * use memmove() instead, if available.
2104 /*#define HAS_SAFE_MEMCPY / **/
2107 * This symbol, if defined, indicates that the memcmp routine is available
2108 * and can be used to compare relative magnitudes of chars with their high
2109 * bits set. If it is not defined, roll your own version.
2111 /*#define HAS_SANE_MEMCMP / **/
2114 * This symbol, if defined, indicates that the system provides
2115 * a prototype for the sbrk() function. Otherwise, it is up
2116 * to the program to supply one. Good guesses are
2117 * extern void* sbrk(int);
2118 * extern void* sbrk(size_t);
2120 /*#define HAS_SBRK_PROTO / **/
2123 * This symbol, if defined, indicates that the entire sem*(2) library is
2126 /*#define HAS_SEM / **/
2129 * This symbol, if defined, indicates that the sendmsg routine is
2130 * available to send structured socket messages.
2132 /*#define HAS_SENDMSG / **/
2135 * This symbol, if defined, indicates that the setgrent routine is
2136 * available for initializing sequential access of the group database.
2138 /*#define HAS_SETGRENT / **/
2141 * This symbol, if defined, indicates that the setgrent_r routine
2142 * is available to setgrent re-entrantly.
2144 /* SETGRENT_R_PROTO:
2145 * This symbol encodes the prototype of setgrent_r.
2146 * It is zero if d_setgrent_r is undef, and one of the
2147 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setgrent_r
2150 /*#define HAS_SETGRENT_R / **/
2151 #define SETGRENT_R_PROTO 0 /**/
2154 * This symbol, if defined, indicates that the setgroups() routine is
2155 * available to set the list of process groups. If unavailable, multiple
2156 * groups are probably not supported.
2158 /*#define HAS_SETGROUPS / **/
2161 * This symbol, if defined, indicates that the sethostent() routine is
2164 /*#define HAS_SETHOSTENT / **/
2167 * This symbol, if defined, indicates that the setitimer routine is
2168 * available to set interval timers.
2170 /*#define HAS_SETITIMER / **/
2173 * This symbol, if defined, indicates that the setnetent() routine is
2176 /*#define HAS_SETNETENT / **/
2179 * This symbol, if defined, indicates that the setprotoent() routine is
2182 /*#define HAS_SETPROTOENT / **/
2185 * This symbol, if defined, indicates that the setpgrp routine is
2186 * available to set the current process group.
2189 * This symbol, if defined, indicates that setpgrp needs two
2190 * arguments whereas USG one needs none. See also HAS_SETPGID
2191 * for a POSIX interface.
2193 /*#define HAS_SETPGRP / **/
2194 /*#define USE_BSD_SETPGRP / **/
2196 /* HAS_SETPROCTITLE:
2197 * This symbol, if defined, indicates that the setproctitle routine is
2198 * available to set process title.
2200 /*#define HAS_SETPROCTITLE / **/
2203 * This symbol, if defined, indicates that the setpwent routine is
2204 * available for initializing sequential access of the passwd database.
2206 /*#define HAS_SETPWENT / **/
2209 * This symbol, if defined, indicates that the setpwent_r routine
2210 * is available to setpwent re-entrantly.
2212 /* SETPWENT_R_PROTO:
2213 * This symbol encodes the prototype of setpwent_r.
2214 * It is zero if d_setpwent_r is undef, and one of the
2215 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setpwent_r
2218 /*#define HAS_SETPWENT_R / **/
2219 #define SETPWENT_R_PROTO 0 /**/
2222 * This symbol, if defined, indicates that the setservent() routine is
2225 /*#define HAS_SETSERVENT / **/
2228 * This symbol, if defined, indicates that the setvbuf routine is
2229 * available to change buffering on an open stdio stream.
2230 * to a line-buffered mode.
2232 /*#define HAS_SETVBUF / **/
2235 * This symbol, if defined, indicates that sfio should
2238 /*#define USE_SFIO / **/
2241 * This symbol, if defined, indicates that the entire shm*(2) library is
2244 /*#define HAS_SHM / **/
2247 * This symbol, if defined, indicates that Vr4's sigaction() routine
2250 /*#define HAS_SIGACTION / **/
2253 * This variable indicates to the C program that the sigsetjmp()
2254 * routine is available to save the calling process's registers
2255 * and stack environment for later use by siglongjmp(), and
2256 * to optionally save the process's signal mask. See
2257 * Sigjmp_buf, Sigsetjmp, and Siglongjmp.
2260 * This is the buffer type to be used with Sigsetjmp and Siglongjmp.
2263 * This macro is used in the same way as sigsetjmp(), but will invoke
2264 * traditional setjmp() if sigsetjmp isn't available.
2265 * See HAS_SIGSETJMP.
2268 * This macro is used in the same way as siglongjmp(), but will invoke
2269 * traditional longjmp() if siglongjmp isn't available.
2270 * See HAS_SIGSETJMP.
2272 /*#define HAS_SIGSETJMP / **/
2273 #ifdef HAS_SIGSETJMP
2274 #define Sigjmp_buf sigjmp_buf
2275 #define Sigsetjmp(buf,save_mask) sigsetjmp((buf),(save_mask))
2276 #define Siglongjmp(buf,retval) siglongjmp((buf),(retval))
2278 #define Sigjmp_buf jmp_buf
2279 #define Sigsetjmp(buf,save_mask) setjmp((buf))
2280 #define Siglongjmp(buf,retval) longjmp((buf),(retval))
2284 * This symbol, if defined, indicates that the BSD socket interface is
2288 * This symbol, if defined, indicates that the BSD socketpair() call is
2292 * This symbol, if defined, indicates that the MSG_CTRUNC is supported.
2293 * Checking just with #ifdef might not be enough because this symbol
2294 * has been known to be an enum.
2296 /* HAS_MSG_DONTROUTE:
2297 * This symbol, if defined, indicates that the MSG_DONTROUTE is supported.
2298 * Checking just with #ifdef might not be enough because this symbol
2299 * has been known to be an enum.
2302 * This symbol, if defined, indicates that the MSG_OOB is supported.
2303 * Checking just with #ifdef might not be enough because this symbol
2304 * has been known to be an enum.
2307 * This symbol, if defined, indicates that the MSG_PEEK is supported.
2308 * Checking just with #ifdef might not be enough because this symbol
2309 * has been known to be an enum.
2312 * This symbol, if defined, indicates that the MSG_PROXY is supported.
2313 * Checking just with #ifdef might not be enough because this symbol
2314 * has been known to be an enum.
2317 * This symbol, if defined, indicates that the SCM_RIGHTS is supported.
2318 * Checking just with #ifdef might not be enough because this symbol
2319 * has been known to be an enum.
2321 /*#define HAS_SOCKET / **/
2322 /*#define HAS_SOCKETPAIR / **/
2323 /*#define HAS_MSG_CTRUNC / **/
2324 /*#define HAS_MSG_DONTROUTE / **/
2325 /*#define HAS_MSG_OOB / **/
2326 /*#define HAS_MSG_PEEK / **/
2327 /*#define HAS_MSG_PROXY / **/
2328 /*#define HAS_SCM_RIGHTS / **/
2331 * This symbol, if defined, indicates that the socks5_init routine is
2332 * available to initialize SOCKS 5.
2334 /*#define HAS_SOCKS5_INIT / **/
2337 * This symbol, if defined, indicates that the sqrtl routine is
2338 * available to do long double square roots.
2340 /*#define HAS_SQRTL / **/
2343 * This symbol, if defined, indicates that the srand48_r routine
2344 * is available to srand48 re-entrantly.
2347 * This symbol encodes the prototype of srand48_r.
2348 * It is zero if d_srand48_r is undef, and one of the
2349 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_srand48_r
2352 /*#define HAS_SRAND48_R / **/
2353 #define SRAND48_R_PROTO 0 /**/
2356 * This symbol, if defined, indicates that the srandom_r routine
2357 * is available to srandom re-entrantly.
2360 * This symbol encodes the prototype of srandom_r.
2361 * It is zero if d_srandom_r is undef, and one of the
2362 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_srandom_r
2365 /*#define HAS_SRANDOM_R / **/
2366 #define SRANDOM_R_PROTO 0 /**/
2369 * This symbol is defined if this system has a stat structure declaring
2370 * st_blksize and st_blocks.
2372 #ifndef USE_STAT_BLOCKS
2373 /*#define USE_STAT_BLOCKS / **/
2376 /* HAS_STRUCT_STATFS_F_FLAGS:
2377 * This symbol, if defined, indicates that the struct statfs
2378 * does have the f_flags member containing the mount flags of
2379 * the filesystem containing the file.
2380 * This kind of struct statfs is coming from <sys/mount.h> (BSD 4.3),
2381 * not from <sys/statfs.h> (SYSV). Older BSDs (like Ultrix) do not
2382 * have statfs() and struct statfs, they have ustat() and getmnt()
2383 * with struct ustat and struct fs_data.
2385 /*#define HAS_STRUCT_STATFS_F_FLAGS / **/
2387 /* HAS_STRUCT_STATFS:
2388 * This symbol, if defined, indicates that the struct statfs
2389 * to do statfs() is supported.
2391 /*#define HAS_STRUCT_STATFS / **/
2394 * This symbol, if defined, indicates that the fstatvfs routine is
2395 * available to stat filesystems by file descriptors.
2397 /*#define HAS_FSTATVFS / **/
2400 * This symbol is defined if the _ptr and _cnt fields (or similar)
2401 * of the stdio FILE structure can be used to access the stdio buffer
2402 * for a file handle. If this is defined, then the FILE_ptr(fp)
2403 * and FILE_cnt(fp) macros will also be defined and should be used
2404 * to access these fields.
2407 * This macro is used to access the _ptr field (or equivalent) of the
2408 * FILE structure pointed to by its argument. This macro will always be
2409 * defined if USE_STDIO_PTR is defined.
2411 /* STDIO_PTR_LVALUE:
2412 * This symbol is defined if the FILE_ptr macro can be used as an
2416 * This macro is used to access the _cnt field (or equivalent) of the
2417 * FILE structure pointed to by its argument. This macro will always be
2418 * defined if USE_STDIO_PTR is defined.
2420 /* STDIO_CNT_LVALUE:
2421 * This symbol is defined if the FILE_cnt macro can be used as an
2424 /* STDIO_PTR_LVAL_SETS_CNT:
2425 * This symbol is defined if using the FILE_ptr macro as an lvalue
2426 * to increase the pointer by n has the side effect of decreasing the
2427 * value of File_cnt(fp) by n.
2429 /* STDIO_PTR_LVAL_NOCHANGE_CNT:
2430 * This symbol is defined if using the FILE_ptr macro as an lvalue
2431 * to increase the pointer by n leaves File_cnt(fp) unchanged.
2433 /*#define USE_STDIO_PTR / **/
2434 #ifdef USE_STDIO_PTR
2435 #define FILE_ptr(fp) ((fp)->_IO_read_ptr)
2436 /*#define STDIO_PTR_LVALUE / **/
2437 #define FILE_cnt(fp) ((fp)->_IO_read_end - (fp)->_IO_read_ptr)
2438 /*#define STDIO_CNT_LVALUE / **/
2439 /*#define STDIO_PTR_LVAL_SETS_CNT / **/
2440 /*#define STDIO_PTR_LVAL_NOCHANGE_CNT / **/
2444 * This symbol is defined if the _base field (or similar) of the
2445 * stdio FILE structure can be used to access the stdio buffer for
2446 * a file handle. If this is defined, then the FILE_base(fp) macro
2447 * will also be defined and should be used to access this field.
2448 * Also, the FILE_bufsiz(fp) macro will be defined and should be used
2449 * to determine the number of bytes in the buffer. USE_STDIO_BASE
2450 * will never be defined unless USE_STDIO_PTR is.
2453 * This macro is used to access the _base field (or equivalent) of the
2454 * FILE structure pointed to by its argument. This macro will always be
2455 * defined if USE_STDIO_BASE is defined.
2458 * This macro is used to determine the number of bytes in the I/O
2459 * buffer pointed to by _base field (or equivalent) of the FILE
2460 * structure pointed to its argument. This macro will always be defined
2461 * if USE_STDIO_BASE is defined.
2463 /*#define USE_STDIO_BASE / **/
2464 #ifdef USE_STDIO_BASE
2465 #define FILE_base(fp) ((fp)->_IO_read_base)
2466 #define FILE_bufsiz(fp) ((fp)->_IO_read_end - (fp)->_IO_read_base)
2470 * This symbol, if defined, indicates that the strerror routine is
2471 * available to translate error numbers to strings. See the writeup
2472 * of Strerror() in this file before you try to define your own.
2475 * This symbol, if defined, indicates that the sys_errlist array is
2476 * available to translate error numbers to strings. The extern int
2477 * sys_nerr gives the size of that table.
2480 * This preprocessor symbol is defined as a macro if strerror() is
2481 * not available to translate error numbers to strings but sys_errlist[]
2484 /*#define HAS_STRERROR / **/
2485 /*#define HAS_SYS_ERRLIST / **/
2486 #define Strerror(e) strerror(e)
2489 * This symbol, if defined, indicates that the strerror_r routine
2490 * is available to strerror re-entrantly.
2492 /* STRERROR_R_PROTO:
2493 * This symbol encodes the prototype of strerror_r.
2494 * It is zero if d_strerror_r is undef, and one of the
2495 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_strerror_r
2498 /*#define HAS_STRERROR_R / **/
2499 #define STRERROR_R_PROTO 0 /**/
2502 * This symbol, if defined, indicates that the strtold routine is
2503 * available to convert strings to long doubles.
2505 /*#define HAS_STRTOLD / **/
2508 * This symbol, if defined, indicates that the strtoll routine is
2509 * available to convert strings to long longs.
2511 /*#define HAS_STRTOLL / **/
2514 * This symbol, if defined, indicates that the strtoq routine is
2515 * available to convert strings to long longs (quads).
2517 /*#define HAS_STRTOQ / **/
2520 * This symbol, if defined, indicates that the strtoul routine is
2521 * available to provide conversion of strings to unsigned long.
2523 /*#define HAS_STRTOUL / **/
2526 * This symbol, if defined, indicates that the strtoull routine is
2527 * available to convert strings to unsigned long longs.
2529 /*#define HAS_STRTOULL / **/
2532 * This symbol, if defined, indicates that the strtouq routine is
2533 * available to convert strings to unsigned long longs (quads).
2535 /*#define HAS_STRTOUQ / **/
2537 /* HAS_TELLDIR_PROTO:
2538 * This symbol, if defined, indicates that the system provides
2539 * a prototype for the telldir() function. Otherwise, it is up
2540 * to the program to supply one. A good guess is
2541 * extern long telldir(DIR*);
2543 /*#define HAS_TELLDIR_PROTO / **/
2546 * This symbol, if defined, indicates that the time() routine exists.
2549 * This symbol holds the type returned by time(). It can be long,
2550 * or time_t on BSD sites (in which case <sys/types.h> should be
2553 #define HAS_TIME /**/
2554 #define Time_t time_t /* Time type */
2557 * This symbol, if defined, indicates that the times() routine exists.
2558 * Note that this became obsolete on some systems (SUNOS), which now
2559 * use getrusage(). It may be necessary to include <sys/times.h>.
2561 /*#define HAS_TIMES / **/
2564 * This symbol, if defined, indicates that the tmpnam_r routine
2565 * is available to tmpnam re-entrantly.
2568 * This symbol encodes the prototype of tmpnam_r.
2569 * It is zero if d_tmpnam_r is undef, and one of the
2570 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_tmpnam_r
2573 /*#define HAS_TMPNAM_R / **/
2574 #define TMPNAM_R_PROTO 0 /**/
2577 * This symbol, if defined, indicates that the ualarm routine is
2578 * available to do alarms with microsecond granularity.
2580 /*#define HAS_UALARM / **/
2583 * This symbol, if defined, indicates that the union semun is
2584 * defined by including <sys/sem.h>. If not, the user code
2585 * probably needs to define it as:
2588 * struct semid_ds *buf;
2589 * unsigned short *array;
2592 /* USE_SEMCTL_SEMUN:
2593 * This symbol, if defined, indicates that union semun is
2594 * used for semctl IPC_STAT.
2596 /* USE_SEMCTL_SEMID_DS:
2597 * This symbol, if defined, indicates that struct semid_ds * is
2598 * used for semctl IPC_STAT.
2600 /*#define HAS_UNION_SEMUN / **/
2601 /*#define USE_SEMCTL_SEMUN / **/
2602 /*#define USE_SEMCTL_SEMID_DS / **/
2605 * This symbol, if defined, indicates that the unordered routine is
2606 * available to check whether two doubles are unordered
2607 * (effectively: whether either of them is NaN)
2609 /*#define HAS_UNORDERED / **/
2612 * This symbol, if defined, indicates that the ustat system call is
2613 * available to query file system statistics by dev_t.
2615 /*#define HAS_USTAT / **/
2618 * This symbol, if defined, indicates that vfork() exists.
2620 /*#define HAS_VFORK / **/
2623 * This symbol's value is either "void" or "int", corresponding to the
2624 * appropriate return type of a signal handler. Thus, you can declare
2625 * a signal handler using "Signal_t (*handler)()", and define the
2626 * handler using "Signal_t handler(sig)".
2628 #define Signal_t int /* Signal handler's return type */
2631 * This symbol, if defined, indicates that the vprintf routine is available
2632 * to printf with a pointer to an argument list. If unavailable, you
2633 * may need to write your own, probably in terms of _doprnt().
2635 /* USE_CHAR_VSPRINTF:
2636 * This symbol is defined if this system has vsprintf() returning type
2637 * (char*). The trend seems to be to declare it as "int vsprintf()". It
2638 * is up to the package author to declare vsprintf correctly based on the
2641 #define HAS_VPRINTF /**/
2642 /*#define USE_CHAR_VSPRINTF / **/
2645 * This symbol, if defined, indicates that the writev routine is
2646 * available to do scatter writes.
2648 /*#define HAS_WRITEV / **/
2650 /* USE_DYNAMIC_LOADING:
2651 * This symbol, if defined, indicates that dynamic loading of
2652 * some sort is available.
2654 /*#define USE_DYNAMIC_LOADING / **/
2657 * This symbol contains the size of a double, so that the C preprocessor
2658 * can make decisions based on it.
2660 #define DOUBLESIZE 8 /**/
2663 * This symbol, if defined, indicates that this system uses
2666 /*#define EBCDIC / **/
2669 * This symbol, if defined, tells that fflush(NULL) does flush
2670 * all pending stdio output.
2673 * This symbol, if defined, tells that to flush
2674 * all pending stdio output one must loop through all
2675 * the stdio file handles stored in an array and fflush them.
2676 * Note that if fflushNULL is defined, fflushall will not
2677 * even be probed for and will be left undefined.
2679 /*#define FFLUSH_NULL / **/
2680 /*#define FFLUSH_ALL / **/
2683 * This symbol holds the type used to declare file positions in libc.
2684 * It can be fpos_t, long, uint, etc... It may be necessary to include
2685 * <sys/types.h> to get any typedef'ed information.
2687 #define Fpos_t int /* File position type */
2690 * This symbol defines the format string used for printing a Gid_t.
2692 #define Gid_t_f "lu" /**/
2695 * This symbol holds the signedess of a Gid_t.
2696 * 1 for unsigned, -1 for signed.
2698 #define Gid_t_sign 1 /* GID sign */
2701 * This symbol holds the size of a Gid_t in bytes.
2703 #define Gid_t_size 4 /* GID size */
2706 * This symbol holds the return type of getgid() and the type of
2707 * argument to setrgid() and related functions. Typically,
2708 * it is the type of group ids in the kernel. It can be int, ushort,
2709 * gid_t, etc... It may be necessary to include <sys/types.h> to get
2710 * any typedef'ed information.
2712 #define Gid_t int /* Type for getgid(), etc... */
2715 * This symbol holds the type used for the second argument to
2716 * getgroups() and setgroups(). Usually, this is the same as
2717 * gidtype (gid_t) , but sometimes it isn't.
2718 * It can be int, ushort, gid_t, etc...
2719 * It may be necessary to include <sys/types.h> to get any
2720 * typedef'ed information. This is only required if you have
2721 * getgroups() or setgroups()..
2723 #if defined(HAS_GETGROUPS) || defined(HAS_SETGROUPS)
2724 #define Groups_t int /* Type for 2nd arg to [sg]etgroups() */
2728 * This symbol contains the type of the prefix structure element
2729 * in the <db.h> header file. In older versions of DB, it was
2730 * int, while in newer ones it is u_int32_t.
2733 * This symbol contains the type of the prefix structure element
2734 * in the <db.h> header file. In older versions of DB, it was
2735 * int, while in newer ones it is size_t.
2737 /* DB_VERSION_MAJOR_CFG:
2738 * This symbol, if defined, defines the major version number of
2739 * Berkeley DB found in the <db.h> header when Perl was configured.
2741 /* DB_VERSION_MINOR_CFG:
2742 * This symbol, if defined, defines the minor version number of
2743 * Berkeley DB found in the <db.h> header when Perl was configured.
2744 * For DB version 1 this is always 0.
2746 /* DB_VERSION_PATCH_CFG:
2747 * This symbol, if defined, defines the patch version number of
2748 * Berkeley DB found in the <db.h> header when Perl was configured.
2749 * For DB version 1 this is always 0.
2751 #define DB_Hash_t u_int32_t /**/
2752 #define DB_Prefix_t size_t /**/
2753 #define DB_VERSION_MAJOR_CFG /**/
2754 #define DB_VERSION_MINOR_CFG /**/
2755 #define DB_VERSION_PATCH_CFG /**/
2758 * This symbol, if defined, indicates that <fp_class.h> exists and
2759 * should be included.
2761 /*#define I_FP_CLASS / **/
2764 * This symbol, if defined, indicates to the C program that it should
2768 * This symbol, if defined, indicates to the C program that struct group
2769 * in <grp.h> contains gr_passwd.
2771 /*#define I_GRP / **/
2772 /*#define GRPASSWD / **/
2775 * This symbol, if defined, indicates that <ieeefp.h> exists and
2776 * should be included.
2778 /*#define I_IEEEFP / **/
2781 * This symbol, if defined, indicates to the C program that it should
2782 * include <inttypes.h>.
2784 /*#define I_INTTYPES / **/
2787 * This symbol, if defined, indicates that <libutil.h> exists and
2788 * should be included.
2790 /*#define I_LIBUTIL / **/
2793 * This symbol, if defined, indicates to the C program that it should
2794 * include <mach/cthreads.h>.
2796 /*#define I_MACH_CTHREADS / **/
2799 * This symbol, if defined, indicates that <mntent.h> exists and
2800 * should be included.
2802 /*#define I_MNTENT / **/
2805 * This symbol, if defined, indicates that <netdb.h> exists and
2806 * should be included.
2808 /*#define I_NETDB / **/
2811 * This symbol, if defined, indicates to the C program that it should
2812 * include <netinet/tcp.h>.
2814 /*#define I_NETINET_TCP / **/
2817 * This symbol, if defined, indicates that <poll.h> exists and
2818 * should be included.
2820 /*#define I_POLL / **/
2823 * This symbol, if defined, indicates that <prot.h> exists and
2824 * should be included.
2826 /*#define I_PROT / **/
2829 * This symbol, if defined, indicates to the C program that it should
2830 * include <pthread.h>.
2832 /*#define I_PTHREAD / **/
2835 * This symbol, if defined, indicates to the C program that it should
2839 * This symbol, if defined, indicates to the C program that struct passwd
2840 * contains pw_quota.
2843 * This symbol, if defined, indicates to the C program that struct passwd
2847 * This symbol, if defined, indicates to the C program that struct passwd
2848 * contains pw_change.
2851 * This symbol, if defined, indicates to the C program that struct passwd
2852 * contains pw_class.
2855 * This symbol, if defined, indicates to the C program that struct passwd
2856 * contains pw_expire.
2859 * This symbol, if defined, indicates to the C program that struct passwd
2860 * contains pw_comment.
2863 * This symbol, if defined, indicates to the C program that struct passwd
2864 * contains pw_gecos.
2867 * This symbol, if defined, indicates to the C program that struct passwd
2868 * contains pw_passwd.
2870 /*#define I_PWD / **/
2871 /*#define PWQUOTA / **/
2872 /*#define PWAGE / **/
2873 /*#define PWCHANGE / **/
2874 /*#define PWCLASS / **/
2875 /*#define PWEXPIRE / **/
2876 /*#define PWCOMMENT / **/
2877 /*#define PWGECOS / **/
2878 /*#define PWPASSWD / **/
2881 * This symbol, if defined, indicates that <shadow.h> exists and
2882 * should be included.
2884 /*#define I_SHADOW / **/
2887 * This symbol, if defined, indicates that <socks.h> exists and
2888 * should be included.
2890 /*#define I_SOCKS / **/
2893 * This symbol, if defined, indicates that <sunmath.h> exists and
2894 * should be included.
2896 /*#define I_SUNMATH / **/
2899 * This symbol, if defined, indicates that <syslog.h> exists and
2900 * should be included.
2902 /*#define I_SYSLOG / **/
2905 * This symbol, if defined, indicates that <sys/mode.h> exists and
2906 * should be included.
2908 /*#define I_SYSMODE / **/
2911 * This symbol, if defined, indicates that <sys/mount.h> exists and
2912 * should be included.
2914 /*#define I_SYS_MOUNT / **/
2917 * This symbol, if defined, indicates that <sys/statfs.h> exists.
2919 /*#define I_SYS_STATFS / **/
2922 * This symbol, if defined, indicates that <sys/statvfs.h> exists and
2923 * should be included.
2925 /*#define I_SYS_STATVFS / **/
2928 * This symbol, if defined, indicates that <sys/uio.h> exists and
2929 * should be included.
2931 /*#define I_SYSUIO / **/
2934 * This symbol, if defined, indicates that <sys/utsname.h> exists and
2935 * should be included.
2937 /*#define I_SYSUTSNAME / **/
2940 * This symbol, if defined, indicates that <sys/vfs.h> exists and
2941 * should be included.
2943 /*#define I_SYS_VFS / **/
2946 * This symbol, if defined, indicates to the C program that it should
2950 * This symbol, if defined, indicates to the C program that it should
2951 * include <sys/time.h>.
2953 /* I_SYS_TIME_KERNEL:
2954 * This symbol, if defined, indicates to the C program that it should
2955 * include <sys/time.h> with KERNEL defined.
2958 * This symbol, if defined, indicates to the C program that
2959 * the struct tm has a tm_zone field.
2962 /*#define I_SYS_TIME / **/
2963 /*#define I_SYS_TIME_KERNEL / **/
2964 /*#define HAS_TM_TM_ZONE / **/
2967 * This symbol, if defined, indicates that <ustat.h> exists and
2968 * should be included.
2970 /*#define I_USTAT / **/
2972 /* PERL_INC_VERSION_LIST:
2973 * This variable specifies the list of subdirectories in over
2974 * which perl.c:incpush() and lib/lib.pm will automatically
2975 * search when adding directories to @INC, in a format suitable
2976 * for a C initialization string. See the inc_version_list entry
2977 * in Porting/Glossary for more details.
2979 #define PERL_INC_VERSION_LIST NULL /**/
2981 /* INSTALL_USR_BIN_PERL:
2982 * This symbol, if defined, indicates that Perl is to be installed
2983 * also as /usr/bin/perl.
2985 /*#define INSTALL_USR_BIN_PERL / **/
2988 * This symbol, if defined, contains the string used by stdio to
2989 * format long doubles (format 'f') for output.
2992 * This symbol, if defined, contains the string used by stdio to
2993 * format long doubles (format 'g') for output.
2996 * This symbol, if defined, contains the string used by stdio to
2997 * format long doubles (format 'e') for output.
3000 * This symbol, if defined, contains the string used by stdio to
3001 * format long doubles (format 'f') for input.
3003 /*#define PERL_PRIfldbl "llf" / **/
3004 /*#define PERL_PRIgldbl "llg" / **/
3005 /*#define PERL_PRIeldbl "lle" / **/
3006 /*#define PERL_SCNfldbl "llf" / **/
3009 * This symbol holds the type used to declare offsets in the kernel.
3010 * It can be int, long, off_t, etc... It may be necessary to include
3011 * <sys/types.h> to get any typedef'ed information.
3014 * This symbol holds the number of bytes used by the Off_t.
3017 * This symbol holds the number of bytes used by the Off_t.
3019 #define Off_t int /* <offset> type */
3020 #define LSEEKSIZE 4 /* <offset> size */
3021 #define Off_t_size 4 /* <offset> size */
3024 * This variable contains the return type of free(). It is usually
3025 * void, but occasionally int.
3028 * This symbol is the type of pointer returned by malloc and realloc.
3030 #define Malloc_t void * /**/
3031 #define Free_t int /**/
3034 * This symbol, if defined, indicates that we're using our own malloc.
3036 /*#define MYMALLOC / **/
3039 * This symbol holds the type used to declare file modes
3040 * for systems calls. It is usually mode_t, but may be
3041 * int or unsigned short. It may be necessary to include <sys/types.h>
3042 * to get any typedef'ed information.
3044 #define Mode_t int /* file mode parameter for system calls */
3047 * This symbol is to be used during open() or fcntl(F_SETFL) to turn on
3048 * non-blocking I/O for the file descriptor. Note that there is no way
3049 * back, i.e. you cannot turn it blocking again this way. If you wish to
3050 * alternatively switch between blocking and non-blocking, use the
3051 * ioctl(FIOSNBIO) call instead, but that is not supported by all devices.
3054 * This symbol holds the errno error code set by read() when no data was
3055 * present on the non-blocking file descriptor.
3058 * This symbol holds the return code from read() when no data is present
3059 * on the non-blocking file descriptor. Be careful! If EOF_NONBLOCK is
3060 * not defined, then you can't distinguish between no data and EOF by
3061 * issuing a read(). You'll have to find another way to tell for sure!
3064 * This symbol, if defined, indicates to the C program that a read() on
3065 * a non-blocking file descriptor will return 0 on EOF, and not the value
3066 * held in RD_NODATA (-1 usually, in that case!).
3068 #define VAL_O_NONBLOCK O_NONBLOCK
3069 #define VAL_EAGAIN EAGAIN
3070 #define RD_NODATA -1
3074 * This symbol, if defined, indicates that the system stores
3075 * the variable argument list datatype, va_list, in a format
3076 * that cannot be copied by simple assignment, so that some
3077 * other means must be used when copying is required.
3078 * As such systems vary in their provision (or non-provision)
3079 * of copying mechanisms, handy.h defines a platform-
3080 * independent macro, Perl_va_copy(src, dst), to do the job.
3082 /*#define NEED_VA_COPY / **/
3085 * This symbol holds the type used for the 1st argument
3086 * to gethostbyaddr().
3089 * This symbol holds the type used for the 2nd argument
3090 * to gethostbyaddr().
3093 * This symbol holds the type used for the argument to
3097 * This symbol holds the type used for the 1st argument to
3100 #define Netdb_host_t const char * /**/
3101 #define Netdb_hlen_t int /**/
3102 #define Netdb_name_t const char * /**/
3103 #define Netdb_net_t unsigned long /**/
3105 /* PERL_OTHERLIBDIRS:
3106 * This variable contains a colon-separated set of paths for the perl
3107 * binary to search for additional library files or modules.
3108 * These directories will be tacked to the end of @INC.
3109 * Perl will automatically search below each path for version-
3110 * and architecture-specific directories. See PERL_INC_VERSION_LIST
3113 /*#define PERL_OTHERLIBDIRS "" / **/
3116 * This symbol defines the C type used for Perl's IV.
3119 * This symbol defines the C type used for Perl's UV.
3122 * This symbol defines the C type used for Perl's I8.
3125 * This symbol defines the C type used for Perl's U8.
3128 * This symbol defines the C type used for Perl's I16.
3131 * This symbol defines the C type used for Perl's U16.
3134 * This symbol defines the C type used for Perl's I32.
3137 * This symbol defines the C type used for Perl's U32.
3140 * This symbol defines the C type used for Perl's I64.
3143 * This symbol defines the C type used for Perl's U64.
3146 * This symbol defines the C type used for Perl's NV.
3149 * This symbol contains the sizeof(IV).
3152 * This symbol contains the sizeof(UV).
3155 * This symbol contains the sizeof(I8).
3158 * This symbol contains the sizeof(U8).
3161 * This symbol contains the sizeof(I16).
3164 * This symbol contains the sizeof(U16).
3167 * This symbol contains the sizeof(I32).
3170 * This symbol contains the sizeof(U32).
3173 * This symbol contains the sizeof(I64).
3176 * This symbol contains the sizeof(U64).
3179 * This symbol contains the sizeof(NV).
3182 * This symbol, if defined, indicates that a variable of type NVTYPE
3183 * can preserve all the bits of a variable of type UVTYPE.
3185 /* NV_PRESERVES_UV_BITS:
3186 * This symbol contains the number of bits a variable of type NVTYPE
3187 * can preserve of a variable of type UVTYPE.
3189 #define IVTYPE long /**/
3190 #define UVTYPE unsigned long /**/
3191 #define I8TYPE char /**/
3192 #define U8TYPE unsigned char /**/
3193 #define I16TYPE short /**/
3194 #define U16TYPE unsigned short /**/
3195 #define I32TYPE long /**/
3196 #define U32TYPE unsigned long /**/
3198 #define I64TYPE int64_t /**/
3199 #define U64TYPE uint64_t /**/
3201 #define NVTYPE double /**/
3202 #define IVSIZE 4 /**/
3203 #define UVSIZE 4 /**/
3204 #define I8SIZE 1 /**/
3205 #define U8SIZE 1 /**/
3206 #define I16SIZE 2 /**/
3207 #define U16SIZE 2 /**/
3208 #define I32SIZE 4 /**/
3209 #define U32SIZE 4 /**/
3211 #define I64SIZE 8 /**/
3212 #define U64SIZE 8 /**/
3214 #define NVSIZE 8 /**/
3215 #undef NV_PRESERVES_UV
3216 #define NV_PRESERVES_UV_BITS 0
3219 * This symbol defines the format string used for printing a Perl IV
3220 * as a signed decimal integer.
3223 * This symbol defines the format string used for printing a Perl UV
3224 * as an unsigned decimal integer.
3227 * This symbol defines the format string used for printing a Perl UV
3228 * as an unsigned octal integer.
3231 * This symbol defines the format string used for printing a Perl UV
3232 * as an unsigned hexadecimal integer in lowercase abcdef.
3235 * This symbol defines the format string used for printing a Perl UV
3236 * as an unsigned hexadecimal integer in uppercase ABCDEF.
3239 * This symbol defines the format string used for printing a Perl NV
3240 * using %e-ish floating point format.
3243 * This symbol defines the format string used for printing a Perl NV
3244 * using %f-ish floating point format.
3247 * This symbol defines the format string used for printing a Perl NV
3248 * using %g-ish floating point format.
3250 #define IVdf "ld" /**/
3251 #define UVuf "lu" /**/
3252 #define UVof "lo" /**/
3253 #define UVxf "lx" /**/
3254 #define UVXf "lX" /**/
3255 #define NVef "e" /**/
3256 #define NVff "f" /**/
3257 #define NVgf "g" /**/
3260 * This symbol holds the type used to declare process ids in the kernel.
3261 * It can be int, uint, pid_t, etc... It may be necessary to include
3262 * <sys/types.h> to get any typedef'ed information.
3264 #define Pid_t int /* PID type */
3267 * This symbol contains the name of the private library for this package.
3268 * The library is private in the sense that it needn't be in anyone's
3269 * execution path, but it should be accessible by the world. The program
3270 * should be prepared to do ~ expansion.
3273 * This symbol contains the ~name expanded version of PRIVLIB, to be used
3274 * in programs that are not prepared to deal with ~ expansion at run-time.
3276 #define PRIVLIB "/usr/local/lib/perl5/5.7" /**/
3277 #define PRIVLIB_EXP "/usr/local/lib/perl5/5.7" /**/
3280 * This symbol contains the size of a pointer, so that the C preprocessor
3281 * can make decisions based on it. It will be sizeof(void *) if
3282 * the compiler supports (void *); otherwise it will be
3285 #define PTRSIZE 4 /**/
3288 * This macro is to be used to generate uniformly distributed
3289 * random numbers over the range [0., 1.[. You may have to supply
3290 * an 'extern double drand48();' in your program since SunOS 4.1.3
3291 * doesn't provide you with anything relevant in its headers.
3292 * See HAS_DRAND48_PROTO.
3295 * This symbol defines the type of the argument of the
3296 * random seed function.
3299 * This symbol defines the macro to be used in seeding the
3300 * random number generator (see Drand01).
3303 * This symbol indicates how many bits are produced by the
3304 * function used to generate normalized random numbers.
3305 * Values include 15, 16, 31, and 48.
3307 #define Drand01() ((rand() & 0x7FFF) / (double) ((unsigned long)1 << 15)) /**/
3308 #define Rand_seed_t int /**/
3309 #define seedDrand01(x) srand((Rand_seed_t)x) /**/
3310 #define RANDBITS 48 /**/
3313 * This symbol holds the minimum number of bits operated by select.
3314 * That is, if you do select(n, ...), how many bits at least will be
3315 * cleared in the masks if some activity is detected. Usually this
3316 * is either n or 32*ceil(n/32), especially many little-endians do
3317 * the latter. This is only useful if you have select(), naturally.
3319 #define SELECT_MIN_BITS 32 /**/
3322 * This symbol holds the type used for the 2nd, 3rd, and 4th
3323 * arguments to select. Usually, this is 'fd_set *', if HAS_FD_SET
3324 * is defined, and 'int *' otherwise. This is only useful if you
3325 * have select(), of course.
3327 #define Select_fd_set_t int /**/
3330 * This symbol contains a list of signal names in order of
3331 * signal number. This is intended
3332 * to be used as a static array initialization, like this:
3333 * char *sig_name[] = { SIG_NAME };
3334 * The signals in the list are separated with commas, and each signal
3335 * is surrounded by double quotes. There is no leading SIG in the signal
3336 * name, i.e. SIGQUIT is known as "QUIT".
3337 * Gaps in the signal numbers (up to NSIG) are filled in with NUMnn,
3338 * etc., where nn is the actual signal number (e.g. NUM37).
3339 * The signal number for sig_name[i] is stored in sig_num[i].
3340 * The last element is 0 to terminate the list with a NULL. This
3341 * corresponds to the 0 at the end of the sig_num list.
3344 * This symbol contains a list of signal numbers, in the same order as the
3345 * SIG_NAME list. It is suitable for static array initialization, as in:
3346 * int sig_num[] = { SIG_NUM };
3347 * The signals in the list are separated with commas, and the indices
3348 * within that list and the SIG_NAME list match, so it's easy to compute
3349 * the signal name from a number or vice versa at the price of a small
3350 * dynamic linear lookup.
3351 * Duplicates are allowed, but are moved to the end of the list.
3352 * The signal number corresponding to sig_name[i] is sig_number[i].
3353 * if (i < NSIG) then sig_number[i] == i.
3354 * The last element is 0, corresponding to the 0 at the end of
3355 * the sig_name list.
3358 * This variable contains the number of elements of the sig_name
3359 * and sig_num arrays, excluding the final NULL entry.
3361 #define SIG_NAME 0 /**/
3362 #define SIG_NUM 0 /**/
3363 #define SIG_SIZE 1 /**/
3366 * This symbol contains the name of the private library for this package.
3367 * The library is private in the sense that it needn't be in anyone's
3368 * execution path, but it should be accessible by the world. The program
3369 * should be prepared to do ~ expansion.
3370 * The standard distribution will put nothing in this directory.
3371 * After perl has been installed, users may install their own local
3372 * architecture-dependent modules in this directory with
3373 * MakeMaker Makefile.PL
3374 * or equivalent. See INSTALL for details.
3377 * This symbol contains the ~name expanded version of SITEARCH, to be used
3378 * in programs that are not prepared to deal with ~ expansion at run-time.
3380 #define SITEARCH "" /**/
3381 #define SITEARCH_EXP "" /**/
3384 * This symbol contains the name of the private library for this package.
3385 * The library is private in the sense that it needn't be in anyone's
3386 * execution path, but it should be accessible by the world. The program
3387 * should be prepared to do ~ expansion.
3388 * The standard distribution will put nothing in this directory.
3389 * After perl has been installed, users may install their own local
3390 * architecture-independent modules in this directory with
3391 * MakeMaker Makefile.PL
3392 * or equivalent. See INSTALL for details.
3395 * This symbol contains the ~name expanded version of SITELIB, to be used
3396 * in programs that are not prepared to deal with ~ expansion at run-time.
3399 * This define is SITELIB_EXP with any trailing version-specific component
3400 * removed. The elements in inc_version_list (inc_version_list.U) can
3401 * be tacked onto this variable to generate a list of directories to search.
3403 #define SITELIB "" /**/
3404 #define SITELIB_EXP "" /**/
3405 #define SITELIB_STEM "" /**/
3408 * This symbol holds the size of a Size_t in bytes.
3410 #define Size_t_size 4 /* */
3413 * This symbol holds the type used to declare length parameters
3414 * for string functions. It is usually size_t, but may be
3415 * unsigned long, int, etc. It may be necessary to include
3416 * <sys/types.h> to get any typedef'ed information.
3418 #define Size_t int /* length paramater for string functions */
3421 * This symbol holds the type used for the size argument of
3422 * various socket calls (just the base type, not the pointer-to).
3424 #define Sock_size_t int /**/
3427 * This symbol holds the type used by functions that return
3428 * a count of bytes or an error condition. It must be a signed type.
3429 * It is usually ssize_t, but may be long or int, etc.
3430 * It may be necessary to include <sys/types.h> or <unistd.h>
3431 * to get any typedef'ed information.
3432 * We will pick a type such that sizeof(SSize_t) == sizeof(Size_t).
3434 #define SSize_t int /* signed count of bytes */
3437 * This variable contains the string to put in front of a perl
3438 * script to make sure (one hopes) that it runs with perl and not
3441 #define STARTPERL "" /**/
3444 * This symbol is defined to be the type of char used in stdio.h.
3445 * It has the values "unsigned char" or "char".
3447 #define STDCHAR char /**/
3449 /* HAS_STDIO_STREAM_ARRAY:
3450 * This symbol, if defined, tells that there is an array
3451 * holding the stdio streams.
3453 /* STDIO_STREAM_ARRAY:
3454 * This symbol tells the name of the array holding the stdio streams.
3455 * Usual values include _iob, __iob, and __sF.
3457 /*#define HAS_STDIO_STREAM_ARRAY / **/
3458 #define STDIO_STREAM_ARRAY
3461 * This symbol defines the format string used for printing a Uid_t.
3463 #define Uid_t_f "lu" /**/
3466 * This symbol holds the signedess of a Uid_t.
3467 * 1 for unsigned, -1 for signed.
3469 #define Uid_t_sign 1 /* UID sign */
3472 * This symbol holds the size of a Uid_t in bytes.
3474 #define Uid_t_size 4 /* UID size */
3477 * This symbol holds the type used to declare user ids in the kernel.
3478 * It can be int, ushort, uid_t, etc... It may be necessary to include
3479 * <sys/types.h> to get any typedef'ed information.
3481 #define Uid_t int /* UID type */
3484 * This symbol, if defined, indicates that 64-bit integers should
3485 * be used when available. If not defined, the native integers
3486 * will be employed (be they 32 or 64 bits). The minimal possible
3487 * 64-bitness is used, just enough to get 64-bit integers into Perl.
3488 * This may mean using for example "long longs", while your memory
3489 * may still be limited to 2 gigabytes.
3492 * This symbol, if defined, indicates that 64-bit integers should
3493 * be used when available. If not defined, the native integers
3494 * will be used (be they 32 or 64 bits). The maximal possible
3495 * 64-bitness is employed: LP64 or ILP64, meaning that you will
3496 * be able to use more than 2 gigabytes of memory. This mode is
3497 * even more binary incompatible than USE_64_BIT_INT. You may not
3498 * be able to run the resulting executable in a 32-bit CPU at all or
3499 * you may need at least to reboot your OS to 64-bit mode.
3501 #ifndef USE_64_BIT_INT
3502 /*#define USE_64_BIT_INT / **/
3505 #ifndef USE_64_BIT_ALL
3506 /*#define USE_64_BIT_ALL / **/
3510 * This symbol, if defined, indicates that large file support
3511 * should be used when available.
3513 #ifndef USE_LARGE_FILES
3514 /*#define USE_LARGE_FILES / **/
3518 * This symbol, if defined, indicates that long doubles should
3519 * be used when available.
3521 #ifndef USE_LONG_DOUBLE
3522 /*#define USE_LONG_DOUBLE / **/
3526 * This symbol, if defined, indicates that 64-bit interfaces and
3527 * long doubles should be used when available.
3529 #ifndef USE_MORE_BITS
3530 /*#define USE_MORE_BITS / **/
3534 * This symbol, if defined, indicates that Perl should
3535 * be built to use multiplicity.
3537 #ifndef MULTIPLICITY
3538 /*#define MULTIPLICITY / **/
3542 * This symbol, if defined, indicates that the PerlIO abstraction should
3543 * be used throughout. If not defined, stdio should be
3544 * used in a fully backward compatible manner.
3547 /*#define USE_PERLIO / **/
3551 * This symbol, if defined, indicates that Perl should
3552 * be built to use socks.
3555 /*#define USE_SOCKS / **/
3559 * This symbol, if defined, indicates that Perl should be built to
3560 * use the interpreter-based threading implementation.
3563 * This symbol, if defined, indicates that Perl should be built to
3564 * use the 5.005-based threading implementation.
3566 /* OLD_PTHREADS_API:
3567 * This symbol, if defined, indicates that Perl should
3568 * be built to use the old draft POSIX threads API.
3570 /* USE_REENTRANT_API:
3571 * This symbol, if defined, indicates that Perl should
3572 * try to use the various _r versions of library functions.
3573 * This is extremely experimental.
3575 /*#define USE_5005THREADS / **/
3576 /*#define USE_ITHREADS / **/
3577 #if defined(USE_5005THREADS) && !defined(USE_ITHREADS)
3578 #define USE_THREADS /* until src is revised*/
3580 /*#define OLD_PTHREADS_API / **/
3581 /*#define USE_REENTRANT_API / **/
3584 * If defined, this symbol contains the name of a private library.
3585 * The library is private in the sense that it needn't be in anyone's
3586 * execution path, but it should be accessible by the world.
3587 * It may have a ~ on the front.
3588 * The standard distribution will put nothing in this directory.
3589 * Vendors who distribute perl may wish to place their own
3590 * architecture-dependent modules and extensions in this directory with
3591 * MakeMaker Makefile.PL INSTALLDIRS=vendor
3592 * or equivalent. See INSTALL for details.
3594 /* PERL_VENDORARCH_EXP:
3595 * This symbol contains the ~name expanded version of PERL_VENDORARCH, to be used
3596 * in programs that are not prepared to deal with ~ expansion at run-time.
3598 /*#define PERL_VENDORARCH "" / **/
3599 /*#define PERL_VENDORARCH_EXP "" / **/
3601 /* PERL_VENDORLIB_EXP:
3602 * This symbol contains the ~name expanded version of VENDORLIB, to be used
3603 * in programs that are not prepared to deal with ~ expansion at run-time.
3605 /* PERL_VENDORLIB_STEM:
3606 * This define is PERL_VENDORLIB_EXP with any trailing version-specific component
3607 * removed. The elements in inc_version_list (inc_version_list.U) can
3608 * be tacked onto this variable to generate a list of directories to search.
3610 /*#define PERL_VENDORLIB_EXP "" / **/
3611 /*#define PERL_VENDORLIB_STEM "" / **/
3614 * This symbol indicates how much support of the void type is given by this
3615 * compiler. What various bits mean:
3617 * 1 = supports declaration of void
3618 * 2 = supports arrays of pointers to functions returning void
3619 * 4 = supports comparisons between pointers to void functions and
3620 * addresses of void functions
3621 * 8 = suports declaration of generic void pointers
3623 * The package designer should define VOIDUSED to indicate the requirements
3624 * of the package. This can be done either by #defining VOIDUSED before
3625 * including config.h, or by defining defvoidused in Myinit.U. If the
3626 * latter approach is taken, only those flags will be tested. If the
3627 * level of void support necessary is not present, defines void to int.
3633 #if (VOIDFLAGS & VOIDUSED) != VOIDUSED
3634 #define void int /* is void to be avoided? */
3635 #define M_VOID /* Xenix strikes again */
3638 /* PERL_XS_APIVERSION:
3639 * This variable contains the version of the oldest perl binary
3640 * compatible with the present perl. perl.c:incpush() and
3641 * lib/lib.pm will automatically search in for older
3642 * directories across major versions back to xs_apiversion.
3643 * This is only useful if you have a perl library directory tree
3644 * structured like the default one.
3645 * See INSTALL for how this works.
3646 * The versioned site_perl directory was introduced in 5.005,
3647 * so that is the lowest possible value.
3648 * Since this can depend on compile time options
3649 * it is set by Configure. Other non-default sources
3650 * of potential incompatibility, such as multiplicity, threads,
3651 * debugging, 64bits, sfio, etc., are not checked for currently,
3652 * though in principle we could go snooping around in old
3655 /* PERL_PM_APIVERSION:
3656 * This variable contains the version of the oldest perl
3657 * compatible with the present perl. (That is, pure perl modules
3658 * written for pm_apiversion will still work for the current
3659 * version). perl.c:incpush() and lib/lib.pm will automatically
3660 * search in for older directories across major versions
3661 * back to pm_apiversion. This is only useful if you have a perl
3662 * library directory tree structured like the default one. The
3663 * versioned site_perl library was introduced in 5.005, so that's
3664 * the default setting for this variable. It's hard to imagine
3665 * it changing before Perl6. It is included here for symmetry
3666 * with xs_apiveprsion -- the searching algorithms will
3667 * (presumably) be similar.
3668 * See the INSTALL file for how this works.
3670 #define PERL_XS_APIVERSION "5.008"
3671 #define PERL_PM_APIVERSION "5.005"
3674 * This symbol, if defined, indicates that the crypt routine is available
3675 * to encrypt passwords and the like.
3677 /*#define HAS_CRYPT / **/
3679 /* SETUID_SCRIPTS_ARE_SECURE_NOW:
3680 * This symbol, if defined, indicates that the bug that prevents
3681 * setuid scripts from being secure is not present in this kernel.
3684 * This symbol, if defined, indicates that the C program should
3685 * check the script that it is executing for setuid/setgid bits, and
3686 * attempt to emulate setuid/setgid on systems that have disabled
3687 * setuid #! scripts because the kernel can't do it securely.
3688 * It is up to the package designer to make sure that this emulation
3689 * is done securely. Among other things, it should do an fstat on
3690 * the script it just opened to make sure it really is a setuid/setgid
3691 * script, it should make sure the arguments passed correspond exactly
3692 * to the argument on the #! line, and it should not trust any
3693 * subprocesses to which it must pass the filename rather than the
3694 * file descriptor of the script to be executed.
3696 /*#define SETUID_SCRIPTS_ARE_SECURE_NOW / **/
3697 /*#define DOSUID / **/
3700 * This symbol holds the return type of the shmat() system call.
3701 * Usually set to 'void *' or 'char *'.
3703 /* HAS_SHMAT_PROTOTYPE:
3704 * This symbol, if defined, indicates that the sys/shm.h includes
3705 * a prototype for shmat(). Otherwise, it is up to the program to
3706 * guess one. Shmat_t shmat(int, Shmat_t, int) is a good guess,
3707 * but not always right so it should be emitted by the program only
3708 * when HAS_SHMAT_PROTOTYPE is not defined to avoid conflicting defs.
3710 #define Shmat_t void * /**/
3711 /*#define HAS_SHMAT_PROTOTYPE / **/
3714 * This symbol, if defined, indicates that <ndbm.h> exists and should
3717 /*#define I_NDBM / **/
3720 * This symbol, if defined, indicates that <stdarg.h> exists and should
3724 * This symbol, if defined, indicates to the C program that it should
3725 * include <varargs.h>.
3727 #define I_STDARG /**/
3728 /*#define I_VARARGS / **/
3731 * If defined, this macro indicates that the C compiler can handle
3732 * function prototypes.
3735 * This macro is used to declare function parameters for folks who want
3736 * to make declarations with prototypes using a different style than
3737 * the above macros. Use double parentheses. For example:
3739 * int main _((int argc, char *argv[]));
3741 /*#define CAN_PROTOTYPE / **/
3742 #ifdef CAN_PROTOTYPE
3743 #define _(args) args
3749 * This symbol contains the full pathname to the shell used on this
3750 * on this system to execute Bourne shell scripts. Usually, this will be
3751 * /bin/sh, though it's possible that some systems will have /bin/ksh,
3752 * /bin/pdksh, /bin/ash, /bin/bash, or even something such as
3755 #define SH_PATH "" /**/
3757 /* USE_CROSS_COMPILE:
3758 * This symbol, if defined, indicates that Perl is being cross-compiled.
3761 * This symbol, if defined, indicates the target architecture
3762 * Perl has been cross-compiled to. Undefined if not a cross-compile.
3764 #ifndef USE_CROSS_COMPILE
3765 /*#define USE_CROSS_COMPILE / **/
3766 #define PERL_TARGETARCH "" /**/
3769 /* HAS_DBMINIT_PROTO:
3770 * This symbol, if defined, indicates that the system provides
3771 * a prototype for the dbminit() function. Otherwise, it is up
3772 * to the program to supply one. A good guess is
3773 * extern int dbminit(char *);
3775 /*#define HAS_DBMINIT_PROTO / **/
3778 * This manifest constant lets the C program know that dirfd
3781 /*#define HAS_DIRFD / **/
3784 * This symbol, if defined, indicates that the system provides
3785 * a prototype for the flock() function. Otherwise, it is up
3786 * to the program to supply one. A good guess is
3787 * extern int flock(int, int);
3789 /*#define HAS_FLOCK_PROTO / **/
3792 * This symbol, if defined, indicates that the fpclassl routine is
3793 * available to classify long doubles. Available for example in IRIX.
3794 * The returned values are defined in <ieeefp.h> and are:
3796 * FP_SNAN signaling NaN
3798 * FP_NINF negative infinity
3799 * FP_PINF positive infinity
3800 * FP_NDENORM negative denormalized non-zero
3801 * FP_PDENORM positive denormalized non-zero
3802 * FP_NZERO negative zero
3803 * FP_PZERO positive zero
3804 * FP_NNORM negative normalized non-zero
3805 * FP_PNORM positive normalized non-zero
3807 /*#define HAS_FPCLASSL / **/
3810 * This symbol, if defined, indicates that the nl_langinfo routine is
3811 * available to return local data. You will also need <langinfo.h>
3812 * and therefore I_LANGINFO.
3814 /*#define HAS_NL_LANGINFO / **/
3817 * This symbol is defined if PROCSELFEXE_PATH is a symlink
3818 * to the absolute pathname of the executing program.
3820 /* PROCSELFEXE_PATH:
3821 * If HAS_PROCSELFEXE is defined this symbol is the filename
3822 * of the symbolic link pointing to the absolute pathname of
3823 * the executing program.
3825 /*#define HAS_PROCSELFEXE / **/
3826 #if defined(HAS_PROCSELFEXE) && !defined(PROCSELFEXE_PATH)
3827 #define PROCSELFEXE_PATH /**/
3831 * This symbol, if defined, indicates that the sigprocmask
3832 * system call is available to examine or change the signal mask
3833 * of the calling process.
3835 /*#define HAS_SIGPROCMASK / **/
3838 * This symbol, if defined, indicates that the sockatmark routine is
3839 * available to test whether a socket is at the out-of-band mark.
3841 /*#define HAS_SOCKATMARK / **/
3843 /* HAS_SOCKATMARK_PROTO:
3844 * This symbol, if defined, indicates that the system provides
3845 * a prototype for the sockatmark() function. Otherwise, it is up
3846 * to the program to supply one. A good guess is
3847 * extern int sockatmark(int);
3849 /*#define HAS_SOCKATMARK_PROTO / **/
3851 /* HAS_SETRESGID_PROTO:
3852 * This symbol, if defined, indicates that the system provides
3853 * a prototype for the setresgid() function. Otherwise, it is up
3854 * to the program to supply one. Good guesses are
3855 * extern int setresgid(uid_t ruid, uid_t euid, uid_t suid);
3857 /*#define HAS_SETRESGID_PROTO / **/
3859 /* HAS_SETRESUID_PROTO:
3860 * This symbol, if defined, indicates that the system provides
3861 * a prototype for the setresuid() function. Otherwise, it is up
3862 * to the program to supply one. Good guesses are
3863 * extern int setresuid(uid_t ruid, uid_t euid, uid_t suid);
3865 /*#define HAS_SETRESUID_PROTO / **/
3868 * This symbol, if defined, indicates that the strftime routine is
3869 * available to do time formatting.
3871 /*#define HAS_STRFTIME / **/
3873 /* HAS_SYSCALL_PROTO:
3874 * This symbol, if defined, indicates that the system provides
3875 * a prototype for the syscall() function. Otherwise, it is up
3876 * to the program to supply one. Good guesses are
3877 * extern int syscall(int, ...);
3878 * extern int syscall(long, ...);
3880 /*#define HAS_SYSCALL_PROTO / **/
3882 /* U32_ALIGNMENT_REQUIRED:
3883 * This symbol, if defined, indicates that you must access
3884 * character data through U32-aligned pointers.
3886 #ifndef U32_ALIGNMENT_REQUIRED
3887 #define U32_ALIGNMENT_REQUIRED /**/
3890 /* HAS_USLEEP_PROTO:
3891 * This symbol, if defined, indicates that the system provides
3892 * a prototype for the usleep() function. Otherwise, it is up
3893 * to the program to supply one. A good guess is
3894 * extern int usleep(useconds_t);
3896 /*#define HAS_USLEEP_PROTO / **/
3899 * This symbol, if defined, indicates that <crypt.h> exists and
3900 * should be included.
3902 /*#define I_CRYPT / **/
3905 * This symbol, if defined, indicates that <fp.h> exists and
3906 * should be included.
3908 /*#define I_FP / **/
3911 * This symbol, if defined, indicates that <langinfo.h> exists and
3912 * should be included.
3914 /*#define I_LANGINFO / **/
3917 * This symbol, if defined, indicates that the ctermid_r routine
3918 * is available to ctermid re-entrantly.
3921 * This symbol encodes the prototype of ctermid_r.
3922 * It is zero if d_ctermid_r is undef, and one of the
3923 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_ctermid_r
3926 /*#define HAS_CTERMID_R / **/
3927 #define CTERMID_R_PROTO 0 /**/
3929 /* HAS_ENDHOSTENT_R:
3930 * This symbol, if defined, indicates that the endhostent_r routine
3931 * is available to endhostent re-entrantly.
3933 /* ENDHOSTENT_R_PROTO:
3934 * This symbol encodes the prototype of endhostent_r.
3935 * It is zero if d_endhostent_r is undef, and one of the
3936 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endhostent_r
3939 /*#define HAS_ENDHOSTENT_R / **/
3940 #define ENDHOSTENT_R_PROTO 0 /**/
3943 * This symbol, if defined, indicates that the endnetent_r routine
3944 * is available to endnetent re-entrantly.
3946 /* ENDNETENT_R_PROTO:
3947 * This symbol encodes the prototype of endnetent_r.
3948 * It is zero if d_endnetent_r is undef, and one of the
3949 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endnetent_r
3952 /*#define HAS_ENDNETENT_R / **/
3953 #define ENDNETENT_R_PROTO 0 /**/
3955 /* HAS_ENDPROTOENT_R:
3956 * This symbol, if defined, indicates that the endprotoent_r routine
3957 * is available to endprotoent re-entrantly.
3959 /* ENDPROTOENT_R_PROTO:
3960 * This symbol encodes the prototype of endprotoent_r.
3961 * It is zero if d_endprotoent_r is undef, and one of the
3962 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endprotoent_r
3965 /*#define HAS_ENDPROTOENT_R / **/
3966 #define ENDPROTOENT_R_PROTO 0 /**/
3968 /* HAS_ENDSERVENT_R:
3969 * This symbol, if defined, indicates that the endservent_r routine
3970 * is available to endservent re-entrantly.
3972 /* ENDSERVENT_R_PROTO:
3973 * This symbol encodes the prototype of endservent_r.
3974 * It is zero if d_endservent_r is undef, and one of the
3975 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endservent_r
3978 /*#define HAS_ENDSERVENT_R / **/
3979 #define ENDSERVENT_R_PROTO 0 /**/
3981 /* HAS_GETHOSTBYADDR_R:
3982 * This symbol, if defined, indicates that the gethostbyaddr_r routine
3983 * is available to gethostbyaddr re-entrantly.
3985 /* GETHOSTBYADDR_R_PROTO:
3986 * This symbol encodes the prototype of gethostbyaddr_r.
3987 * It is zero if d_gethostbyaddr_r is undef, and one of the
3988 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_gethostbyaddr_r
3991 /*#define HAS_GETHOSTBYADDR_R / **/
3992 #define GETHOSTBYADDR_R_PROTO 0 /**/
3994 /* HAS_GETHOSTBYNAME_R:
3995 * This symbol, if defined, indicates that the gethostbyname_r routine
3996 * is available to gethostbyname re-entrantly.
3998 /* GETHOSTBYNAME_R_PROTO:
3999 * This symbol encodes the prototype of gethostbyname_r.
4000 * It is zero if d_gethostbyname_r is undef, and one of the
4001 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_gethostbyname_r
4004 /*#define HAS_GETHOSTBYNAME_R / **/
4005 #define GETHOSTBYNAME_R_PROTO 0 /**/
4007 /* HAS_GETHOSTENT_R:
4008 * This symbol, if defined, indicates that the gethostent_r routine
4009 * is available to gethostent re-entrantly.
4011 /* GETHOSTENT_R_PROTO:
4012 * This symbol encodes the prototype of gethostent_r.
4013 * It is zero if d_gethostent_r is undef, and one of the
4014 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_gethostent_r
4017 /*#define HAS_GETHOSTENT_R / **/
4018 #define GETHOSTENT_R_PROTO 0 /**/
4020 /* HAS_GETNETBYADDR_R:
4021 * This symbol, if defined, indicates that the getnetbyaddr_r routine
4022 * is available to getnetbyaddr re-entrantly.
4024 /* GETNETBYADDR_R_PROTO:
4025 * This symbol encodes the prototype of getnetbyaddr_r.
4026 * It is zero if d_getnetbyaddr_r is undef, and one of the
4027 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getnetbyaddr_r
4030 /*#define HAS_GETNETBYADDR_R / **/
4031 #define GETNETBYADDR_R_PROTO 0 /**/
4033 /* HAS_GETNETBYNAME_R:
4034 * This symbol, if defined, indicates that the getnetbyname_r routine
4035 * is available to getnetbyname re-entrantly.
4037 /* GETNETBYNAME_R_PROTO:
4038 * This symbol encodes the prototype of getnetbyname_r.
4039 * It is zero if d_getnetbyname_r is undef, and one of the
4040 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getnetbyname_r
4043 /*#define HAS_GETNETBYNAME_R / **/
4044 #define GETNETBYNAME_R_PROTO 0 /**/
4047 * This symbol, if defined, indicates that the getnetent_r routine
4048 * is available to getnetent re-entrantly.
4050 /* GETNETENT_R_PROTO:
4051 * This symbol encodes the prototype of getnetent_r.
4052 * It is zero if d_getnetent_r is undef, and one of the
4053 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getnetent_r
4056 /*#define HAS_GETNETENT_R / **/
4057 #define GETNETENT_R_PROTO 0 /**/
4059 /* HAS_GETPROTOBYNAME_R:
4060 * This symbol, if defined, indicates that the getprotobyname_r routine
4061 * is available to getprotobyname re-entrantly.
4063 /* GETPROTOBYNAME_R_PROTO:
4064 * This symbol encodes the prototype of getprotobyname_r.
4065 * It is zero if d_getprotobyname_r is undef, and one of the
4066 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getprotobyname_r
4069 /*#define HAS_GETPROTOBYNAME_R / **/
4070 #define GETPROTOBYNAME_R_PROTO 0 /**/
4072 /* HAS_GETPROTOBYNUMBER_R:
4073 * This symbol, if defined, indicates that the getprotobynumber_r routine
4074 * is available to getprotobynumber re-entrantly.
4076 /* GETPROTOBYNUMBER_R_PROTO:
4077 * This symbol encodes the prototype of getprotobynumber_r.
4078 * It is zero if d_getprotobynumber_r is undef, and one of the
4079 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getprotobynumber_r
4082 /*#define HAS_GETPROTOBYNUMBER_R / **/
4083 #define GETPROTOBYNUMBER_R_PROTO 0 /**/
4085 /* HAS_GETPROTOENT_R:
4086 * This symbol, if defined, indicates that the getprotoent_r routine
4087 * is available to getprotoent re-entrantly.
4089 /* GETPROTOENT_R_PROTO:
4090 * This symbol encodes the prototype of getprotoent_r.
4091 * It is zero if d_getprotoent_r is undef, and one of the
4092 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getprotoent_r
4095 /*#define HAS_GETPROTOENT_R / **/
4096 #define GETPROTOENT_R_PROTO 0 /**/
4098 /* HAS_GETSERVBYNAME_R:
4099 * This symbol, if defined, indicates that the getservbyname_r routine
4100 * is available to getservbyname re-entrantly.
4102 /* GETSERVBYNAME_R_PROTO:
4103 * This symbol encodes the prototype of getservbyname_r.
4104 * It is zero if d_getservbyname_r is undef, and one of the
4105 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getservbyname_r
4108 /*#define HAS_GETSERVBYNAME_R / **/
4109 #define GETSERVBYNAME_R_PROTO 0 /**/
4111 /* HAS_GETSERVBYPORT_R:
4112 * This symbol, if defined, indicates that the getservbyport_r routine
4113 * is available to getservbyport re-entrantly.
4115 /* GETSERVBYPORT_R_PROTO:
4116 * This symbol encodes the prototype of getservbyport_r.
4117 * It is zero if d_getservbyport_r is undef, and one of the
4118 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getservbyport_r
4121 /*#define HAS_GETSERVBYPORT_R / **/
4122 #define GETSERVBYPORT_R_PROTO 0 /**/
4124 /* HAS_GETSERVENT_R:
4125 * This symbol, if defined, indicates that the getservent_r routine
4126 * is available to getservent re-entrantly.
4128 /* GETSERVENT_R_PROTO:
4129 * This symbol encodes the prototype of getservent_r.
4130 * It is zero if d_getservent_r is undef, and one of the
4131 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getservent_r
4134 /*#define HAS_GETSERVENT_R / **/
4135 #define GETSERVENT_R_PROTO 0 /**/
4137 /* HAS_PTHREAD_ATFORK:
4138 * This symbol, if defined, indicates that the pthread_atfork routine
4139 * is available setup fork handlers.
4141 /*#define HAS_PTHREAD_ATFORK / **/
4144 * This symbol, if defined, indicates that the readdir64_r routine
4145 * is available to readdir64 re-entrantly.
4147 /* READDIR64_R_PROTO:
4148 * This symbol encodes the prototype of readdir64_r.
4149 * It is zero if d_readdir64_r is undef, and one of the
4150 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_readdir64_r
4153 /*#define HAS_READDIR64_R / **/
4154 #define READDIR64_R_PROTO 0 /**/
4156 /* HAS_SETHOSTENT_R:
4157 * This symbol, if defined, indicates that the sethostent_r routine
4158 * is available to sethostent re-entrantly.
4160 /* SETHOSTENT_R_PROTO:
4161 * This symbol encodes the prototype of sethostent_r.
4162 * It is zero if d_sethostent_r is undef, and one of the
4163 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_sethostent_r
4166 /*#define HAS_SETHOSTENT_R / **/
4167 #define SETHOSTENT_R_PROTO 0 /**/
4170 * This symbol, if defined, indicates that the setlocale_r routine
4171 * is available to setlocale re-entrantly.
4173 /* SETLOCALE_R_PROTO:
4174 * This symbol encodes the prototype of setlocale_r.
4175 * It is zero if d_setlocale_r is undef, and one of the
4176 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setlocale_r
4179 /*#define HAS_SETLOCALE_R / **/
4180 #define SETLOCALE_R_PROTO 0 /**/
4183 * This symbol, if defined, indicates that the setnetent_r routine
4184 * is available to setnetent re-entrantly.
4186 /* SETNETENT_R_PROTO:
4187 * This symbol encodes the prototype of setnetent_r.
4188 * It is zero if d_setnetent_r is undef, and one of the
4189 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setnetent_r
4192 /*#define HAS_SETNETENT_R / **/
4193 #define SETNETENT_R_PROTO 0 /**/
4195 /* HAS_SETPROTOENT_R:
4196 * This symbol, if defined, indicates that the setprotoent_r routine
4197 * is available to setprotoent re-entrantly.
4199 /* SETPROTOENT_R_PROTO:
4200 * This symbol encodes the prototype of setprotoent_r.
4201 * It is zero if d_setprotoent_r is undef, and one of the
4202 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setprotoent_r
4205 /*#define HAS_SETPROTOENT_R / **/
4206 #define SETPROTOENT_R_PROTO 0 /**/
4208 /* HAS_SETSERVENT_R:
4209 * This symbol, if defined, indicates that the setservent_r routine
4210 * is available to setservent re-entrantly.
4212 /* SETSERVENT_R_PROTO:
4213 * This symbol encodes the prototype of setservent_r.
4214 * It is zero if d_setservent_r is undef, and one of the
4215 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setservent_r
4218 /*#define HAS_SETSERVENT_R / **/
4219 #define SETSERVENT_R_PROTO 0 /**/
4222 * This symbol, if defined, indicates that the ttyname_r routine
4223 * is available to ttyname re-entrantly.
4226 * This symbol encodes the prototype of ttyname_r.
4227 * It is zero if d_ttyname_r is undef, and one of the
4228 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_ttyname_r
4231 /*#define HAS_TTYNAME_R / **/
4232 #define TTYNAME_R_PROTO 0 /**/