NAME
Config - access Perl configuration information
SYNOPSIS
use Config; if ($Config{usethreads}) { print "has thread support\n" }
use Config qw(myconfig config_sh config_vars config_re);
print myconfig();
print config_sh();
print config_re();
config_vars(qw(osname archname));
DESCRIPTION
The Config module contains all the information that was available to
the Configure
program at Perl build time (over 900 values).
Shell variables from the config.sh file (written by Configure) are
stored in the readonly-variable %Config
, indexed by their names.
Values stored in config.sh as 'undef' are returned as undefined
values. The perl exists function can be used to check if a
named variable exists.
- myconfig()
Returns a textual summary of the major perl configuration values. See also
-Vin "Switches" in perlrun. - config_sh()
Returns the entire perl configuration information in the form of the original config.sh shell variable assignment script.
- config_re($regex)
Like config_sh() but returns, as a list, only the config entries who's names match the $regex.
- config_vars(@names)
Prints to STDOUT the values of the named configuration variable. Each is printed on a separate line in the form:
name='value';
Names which are unknown are output as
name='UNKNOWN';. See also-V:namein "Switches" in perlrun.
EXAMPLE
Here's a more sophisticated example of using %Config:
use Config; use strict;
my %sig_num; my @sig_name; unless($Config{sig_name} && $Config{sig_num}) { die "No sigs?"; } else { my @names = split ' ', $Config{sig_name}; @sig_num{@names} = split ' ', $Config{sig_num}; foreach (@names) { $sig_name[$sig_num{$_}] ||= $_; } }
print "signal #17 = $sig_name[17]\n"; if ($sig_num{ALRM}) { print "SIGALRM is $sig_num{ALRM}\n"; }
WARNING
Because this information is not stored within the perl executable itself it is possible (but unlikely) that the information does not relate to the actual perl binary which is being used to access it.
The Config module is installed into the architecture and version specific library directory ($Config{installarchlib}) and it checks the perl version number when loaded.
The values stored in config.sh may be either single-quoted or
double-quoted. Double-quoted strings are handy for those cases where you
need to include escape sequences in the strings. To avoid runtime variable
interpolation, any $
and @
characters are replaced by \$
and
\@
, respectively. This isn't foolproof, of course, so don't embed \$
or \@
in double-quoted strings unless you're willing to deal with the
consequences. (The slashes will end up escaped and the $
or @
will
trigger variable interpolation)
GLOSSARY
Most Config variables are determined by the Configure
script
on platforms supported by it (which is most UNIX platforms). Some
platforms have custom-made Config variables, and may thus not have
some of the variables described below, or may have extraneous variables
specific to that particular port. See the port specific documentation
in such cases.
_
_aFrom Unix.U:
This variable defines the extension used for ordinary library files. For unix, it is .a. The . is included. Other possible values include .lib.
_exeFrom Unix.U:
This variable defines the extension used for executable files.
DJGPP, Cygwin and OS/2 use .exe. StratusVOSuses .pm. On operating systems which do not require a specific extension for executable files, this variable is empty._oFrom Unix.U:
This variable defines the extension used for object files. For unix, it is .o. The . is included. Other possible values include .obj.
a
afsFrom afs.U:
This variable is set to
trueifAFS(Andrew File System) is used on the system,falseotherwise. It is possible to override this with a hint value or command line option, but you'd better know what you are doing.afsrootFrom afs.U:
This variable is by default set to /afs. In the unlikely case this is not the correct root, it is possible to override this with a hint value or command line option. This will be used in subsequent tests for AFSness in the Perl configure and test process.
alignbytesFrom alignbytes.U:
This variable holds the number of bytes required to align a double-- or a long double when applicable. Usual values are 2, 4 and 8. The default is eight, for safety.
ansi2knrFrom ansi2knr.U:
This variable is set if the user needs to run ansi2knr. Currently, this is not supported, so we just abort.
aphostnameFrom d_gethname.U:
This variable contains the command which can be used to compute the host name. The command is fully qualified by its absolute path, to make it safe when used by a process with super-user privileges.
api_revisionFrom patchlevel.U:
The three variables, api_revision, api_version, and api_subversion, specify the version of the oldest perl binary compatible with the present perl. In a full version string such as 5.6.1, api_revision is the
5. Prior to 5.5.640, the format was a floating point number, like 5.00563.perl.c:incpush() and lib/lib.pm will automatically search in $sitelib/.. for older directories back to the limit specified by these api_ variables. This is only useful if you have a perl library directory tree structured like the default one. See
INSTALLfor how this works. The versioned site_perl directory was introduced in 5.005, so that is the lowest possible value. The version list appropriate for the current system is determined in inc_version_list.U.XXXTo do: Since compatibility can depend on compile time options (such as bincompat, longlong, etc.) it should (perhaps) be set by Configure, but currently it isn't. Currently, we read a hard-wired value from patchlevel.h. Perhaps what we ought to do is take the hard-wired value from patchlevel.h but then modify it if the current Configure options warrant. patchlevel.h then would use an #ifdef guard.api_subversionFrom patchlevel.U:
The three variables, api_revision, api_version, and api_subversion, specify the version of the oldest perl binary compatible with the present perl. In a full version string such as 5.6.1, api_subversion is the
1. See api_revision for full details.api_versionFrom patchlevel.U:
The three variables, api_revision, api_version, and api_subversion, specify the version of the oldest perl binary compatible with the present perl. In a full version string such as 5.6.1, api_version is the
6. See api_revision for full details. As a special case, 5.5.0 is rendered in the old-style as 5.005. (In the 5.005_0x maintenance series, this was the only versioned directory in $sitelib.)api_versionstringFrom patchlevel.U:
This variable combines api_revision, api_version, and api_subversion in a format such as 5.6.1 (or 5_6_1) suitable for use as a directory name. This is filesystem dependent.
arFrom Loc.U:
This variable is used internally by Configure to determine the full pathname (if any) of the ar program. After Configure runs, the value is reset to a plain
arand is not useful.archlibFrom archlib.U:
This variable holds the name of the directory in which the user wants to put architecture-dependent public library files for $package. It is most often a local directory such as /usr/local/lib. Programs using this variable must be prepared to deal with filename expansion.
archlibexpFrom archlib.U:
This variable is the same as the archlib variable, but is filename expanded at configuration time, for convenient use.
archname64From use64bits.U:
This variable is used for the 64-bitness part of $archname.
archnameFrom archname.U:
This variable is a short name to characterize the current architecture. It is used mainly to construct the default archlib.
archobjsFrom Unix.U:
This variable defines any additional objects that must be linked in with the program on this architecture. On unix, it is usually empty. It is typically used to include emulations of unix calls or other facilities. For perl on OS/2, for example, this would include os2/os2.obj.
asctime_r_protoFrom d_asctime_r.U:
This variable encodes the prototype of asctime_r. It is zero if d_asctime_r is undef, and one of the
REENTRANT_PROTO_T_ABCmacros of reentr.h if d_asctime_r is defined.awkFrom Loc.U:
This variable is used internally by Configure to determine the full pathname (if any) of the awk program. After Configure runs, the value is reset to a plain
awkand is not useful.
b
baserevFrom baserev.U:
The base revision level of this package, from the .package file.
bashFrom Loc.U:
This variable is defined but not used by Configure. The value is a plain '' and is not useful.
binFrom bin.U:
This variable holds the name of the directory in which the user wants to put publicly executable images for the package in question. It is most often a local directory such as /usr/local/bin. Programs using this variable must be prepared to deal with ~name substitution.
binexpFrom bin.U:
This is the same as the bin variable, but is filename expanded at configuration time, for use in your makefiles.
bisonFrom Loc.U:
This variable is used internally by Configure to determine the full pathname (if any) of the bison program. After Configure runs, the value is reset to a plain
bisonand is not useful.byaccFrom Loc.U:
This variable is used internally by Configure to determine the full pathname (if any) of the byacc program. After Configure runs, the value is reset to a plain
byaccand is not useful.byteorderFrom byteorder.U:
This variable holds the byte order in a
UV. In the following, larger digits indicate more significance. The variable byteorder is either 4321 on a big-endian machine, or 1234 on a little-endian, or 87654321 on a Cray ... or 3412 with weird order !
c
cFrom n.U:
This variable contains the \c string if that is what causes the echo command to suppress newline. Otherwise it is null. Correct usage is $echo $n "prompt for a question: $c".
castflagsFrom d_castneg.U:
This variable contains a flag that precise difficulties the compiler has casting odd floating values to unsigned long: 0 = ok 1 = couldn't cast < 0 2 = couldn't cast >= 0x80000000 4 = couldn't cast in argument expression list
catFrom Loc.U:
This variable is used internally by Configure to determine the full pathname (if any) of the cat program. After Configure runs, the value is reset to a plain
catand is not useful.ccFrom cc.U:
This variable holds the name of a command to execute a C compiler which can resolve multiple global references that happen to have the same name. Usual values are
ccandgcc. FerventANSIcompilers may be calledc89.AIXhas xlc.cccdlflagsFrom dlsrc.U:
This variable contains any special flags that might need to be passed with
cc -cto compile modules to be used to create a shared library that will be used for dynamic loading. For hpux, this should be +z. It is up to the makefile to use it.ccdlflagsFrom dlsrc.U:
This variable contains any special flags that might need to be passed to cc to link with a shared library for dynamic loading. It is up to the makefile to use it. For sunos 4.1, it should be empty.
ccflagsFrom ccflags.U:
This variable contains any additional C compiler flags desired by the user. It is up to the Makefile to use this.
ccflags_uselargefilesFrom uselfs.U:
This variable contains the compiler flags needed by large file builds and added to ccflags by hints files.
ccnameFrom Checkcc.U:
This can set either by hints files or by Configure. If using gcc, this is gcc, and if not, usually equal to cc, unimpressive, no? Some platforms, however, make good use of this by storing the flavor of the C compiler being used here. For example if using the Sun WorkShop suite, ccname will be
workshop.ccsymbolsFrom Cppsym.U:
The variable contains the symbols defined by the C compiler alone. The symbols defined by cpp or by cc when it calls cpp are not in this list, see cppsymbols and cppccsymbols. The list is a space-separated list of symbol=value tokens.
ccversionFrom Checkcc.U:
This can set either by hints files or by Configure. If using a (non-gcc) vendor cc, this variable may contain a version for the compiler.
cf_byFrom cf_who.U:
Login name of the person who ran the Configure script and answered the questions. This is used to tag both config.sh and config_h.SH.
cf_emailFrom cf_email.U:
Electronic mail address of the person who ran Configure. This can be used by units that require the user's e-mail, like MailList.U.
cf_timeFrom cf_who.U:
Holds the output of the
datecommand when the configuration file was produced. This is used to tag both config.sh and config_h.SH.charsizeFrom charsize.U:
This variable contains the value of the
CHARSIZEsymbol, which indicates to the C program how many bytes there are in a character.chgrpFrom Loc.U:
This variable is defined but not used by Configure. The value is a plain '' and is not useful.
chmodFrom Loc.U:
This variable is used internally by Configure to determine the full pathname (if any) of the chmod program. After Configure runs, the value is reset to a plain
chmodand is not useful.chownFrom Loc.U:
This variable is defined but not used by Configure. The value is a plain '' and is not useful.
clocktypeFrom d_times.U:
This variable holds the type returned by times(). It can be long, or clock_t on
BSDsites (in which case <sys/types.h> should be included).commFrom Loc.U:
This variable is used internally by Configure to determine the full pathname (if any) of the comm program. After Configure runs, the value is reset to a plain
command is not useful.compressFrom Loc.U:
This variable is defined but not used by Configure. The value is a plain '' and is not useful.
containsFrom contains.U:
This variable holds the command to do a grep with a proper return status. On most sane systems it is simply
grep. On insane systems it is a grep followed by a cat followed by a test. This variable is primarily for the use of other Configure units.cpFrom Loc.U:
This variable is used internally by Configure to determine the full pathname (if any) of the cp program. After Configure runs, the value is reset to a plain
cpand is not useful.cpioFrom Loc.U:
This variable is defined but not used by Configure. The value is a plain '' and is not useful.
cppFrom Loc.U:
This variable is used internally by Configure to determine the full pathname (if any) of the cpp program. After Configure runs, the value is reset to a plain
cppand is not useful.cpp_stuffFrom cpp_stuff.U:
This variable contains an identification of the concatenation mechanism used by the C preprocessor.
cppccsymbolsFrom Cppsym.U:
The variable contains the symbols defined by the C compiler when it calls cpp. The symbols defined by the cc alone or cpp alone are not in this list, see ccsymbols and cppsymbols. The list is a space-separated list of symbol=value tokens.
cppflagsFrom ccflags.U:
This variable holds the flags that will be passed to the C pre- processor. It is up to the Makefile to use it.
cpplastFrom cppstdin.U:
This variable has the same functionality as cppminus, only it applies to cpprun and not cppstdin.
cppminusFrom cppstdin.U:
This variable contains the second part of the string which will invoke the C preprocessor on the standard input and produce to standard output. This variable will have the value
-if cppstdin needs a minus to specify standard input, otherwise the value is "".cpprunFrom cppstdin.U:
This variable contains the command which will invoke a C preprocessor on standard input and put the output to stdout. It is guaranteed not to be a wrapper and may be a null string if no preprocessor can be made directly available. This preprocessor might be different from the one used by the C compiler. Don't forget to append cpplast after the preprocessor options.
cppstdinFrom cppstdin.U:
This variable contains the command which will invoke the C preprocessor on standard input and put the output to stdout. It is primarily used by other Configure units that ask about preprocessor symbols.
cppsymbolsFrom Cppsym.U:
The variable contains the symbols defined by the C preprocessor alone. The symbols defined by cc or by cc when it calls cpp are not in this list, see ccsymbols and cppccsymbols. The list is a space-separated list of symbol=value tokens.
crypt_r_protoFrom d_crypt_r.U:
This variable encodes the prototype of crypt_r. It is zero if d_crypt_r is undef, and one of the
REENTRANT_PROTO_T_ABCmacros of reentr.h if d_crypt_r is defined.cryptlibFrom d_crypt.U:
This variable holds -lcrypt or the path to a libcrypt.a archive if the crypt() function is not defined in the standard C library. It is up to the Makefile to use this.
cshFrom Loc.U:
This variable is used internally by Configure to determine the full pathname (if any) of the csh program. After Configure runs, the value is reset to a plain
cshand is not useful.ctermid_r_protoFrom d_ctermid_r.U:
This variable encodes the prototype of ctermid_r. It is zero if d_ctermid_r is undef, and one of the
REENTRANT_PROTO_T_ABCmacros of reentr.h if d_ctermid_r is defined.ctime_r_protoFrom d_ctime_r.U:
This variable encodes the prototype of ctime_r. It is zero if d_ctime_r is undef, and one of the
REENTRANT_PROTO_T_ABCmacros of reentr.h if d_ctime_r is defined.
d
d__fwalkFrom d__fwalk.U:
This variable conditionally defines
HAS__FWALKif _fwalk() is available to apply a function to all the file handles.d_accessFrom d_access.U:
This variable conditionally defines
HAS_ACCESSif the access() system call is available to check for access permissions using real IDs.d_accessxFrom d_accessx.U:
This variable conditionally defines the
HAS_ACCESSXsymbol, which indicates to the C program that the accessx() routine is available.d_aintlFrom d_aintl.U:
This variable conditionally defines the
HAS_AINTLsymbol, which indicates to the C program that the aintl() routine is available. If copysignl is also present we can emulate modfl.d_alarmFrom d_alarm.U:
This variable conditionally defines the
HAS_ALARMsymbol, which indicates to the C program that the alarm() routine is available.d_archlibFrom archlib.U:
This variable conditionally defines
ARCHLIBto hold the pathname of architecture-dependent library files for $package. If $archlib is the same as $privlib, then this is set to undef.d_asctime_rFrom d_asctime_r.U:
This variable conditionally defines the
HAS_ASCTIME_Rsymbol, which indicates to the C program that the asctime_r() routine is available.d_atolfFrom atolf.U:
This variable conditionally defines the
HAS_ATOLFsymbol, which indicates to the C program that the atolf() routine is available.d_atollFrom atoll.U:
This variable conditionally defines the
HAS_ATOLLsymbol, which indicates to the C program that the atoll() routine is available.d_attributFrom d_attribut.U:
This variable conditionally defines
HASATTRIBUTE, which indicates the C compiler can check for function attributes, such as printf formats.d_bcmpFrom d_bcmp.U:
This variable conditionally defines the
HAS_BCMPsymbol if the bcmp() routine is available to compare strings.d_bcopyFrom d_bcopy.U:
This variable conditionally defines the
HAS_BCOPYsymbol if the bcopy() routine is available to copy strings.d_bsdFrom Guess.U:
This symbol conditionally defines the symbol
BSDwhen running on aBSDsystem.d_bsdgetpgrpFrom d_getpgrp.U:
This variable conditionally defines
USE_BSD_GETPGRPif getpgrp needs one arguments whereasUSGone needs none.d_bsdsetpgrpFrom d_setpgrp.U:
This variable conditionally defines
USE_BSD_SETPGRPif setpgrp needs two arguments whereasUSGone needs none. See also d_setpgid for aPOSIXinterface.d_bzeroFrom d_bzero.U:
This variable conditionally defines the
HAS_BZEROsymbol if the bzero() routine is available to set memory to 0.d_casti32From d_casti32.U:
This variable conditionally defines CASTI32, which indicates whether the C compiler can cast large floats to 32-bit ints.
d_castnegFrom d_castneg.U:
This variable conditionally defines
CASTNEG, which indicates wether the C compiler can cast negative float to unsigned.d_charvsprFrom d_vprintf.U:
This variable conditionally defines
CHARVSPRINTFif this system has vsprintf returning type (char*). The trend seems to be to declare it as "int vsprintf()".d_chownFrom d_chown.U:
This variable conditionally defines the
HAS_CHOWNsymbol, which indicates to the C program that the chown() routine is available.d_chrootFrom d_chroot.U:
This variable conditionally defines the
HAS_CHROOTsymbol, which indicates to the C program that the chroot() routine is available.d_chsizeFrom d_chsize.U:
This variable conditionally defines the
CHSIZEsymbol, which indicates to the C program that the chsize() routine is available to truncate files. You might need a -lx to get this routine.d_classFrom d_class.U:
This variable conditionally defines the
HAS_CLASSsymbol, which indicates to the C program that the class() routine is available.d_closedirFrom d_closedir.U:
This variable conditionally defines
HAS_CLOSEDIRif closedir() is available.d_cmsghdr_sFrom d_cmsghdr_s.U:
This variable conditionally defines the
HAS_STRUCT_CMSGHDRsymbol, which indicates that the struct cmsghdr is supported.d_constFrom d_const.U:
This variable conditionally defines the
HASCONSTsymbol, which indicates to the C program that this C compiler knows about the const type.d_copysignlFrom d_copysignl.U:
This variable conditionally defines the
HAS_COPYSIGNLsymbol, which indicates to the C program that the copysignl() routine is available. If aintl is also present we can emulate modfl.d_cryptFrom d_crypt.U:
This variable conditionally defines the
CRYPTsymbol, which indicates to the C program that the crypt() routine is available to encrypt passwords and the like.d_crypt_rFrom d_crypt_r.U:
This variable conditionally defines the
HAS_CRYPT_Rsymbol, which indicates to the C program that the crypt_r() routine is available.d_cshFrom d_csh.U:
This variable conditionally defines the
CSHsymbol, which indicates to the C program that the C-shell exists.d_ctermid_rFrom d_ctermid_r.U:
This variable conditionally defines the
HAS_CTERMID_Rsymbol, which indicates to the C program that the ctermid_r() routine is available.d_ctime_rFrom d_ctime_r.U:
This variable conditionally defines the
HAS_CTIME_Rsymbol, which indicates to the C program that the ctime_r() routine is available.d_cuseridFrom d_cuserid.U:
This variable conditionally defines the
HAS_CUSERIDsymbol, which indicates to the C program that the cuserid() routine is available to get character login names.d_dbl_digFrom d_dbl_dig.U:
This variable conditionally defines d_dbl_dig if this system's header files provide
DBL_DIG, which is the number of significant digits in a double precision number.d_dbminitprotoFrom d_dbminitproto.U:
This variable conditionally defines the
HAS_DBMINIT_PROTOsymbol, which indicates to the C program that the system provides a prototype for the dbminit() function. Otherwise, it is up to the program to supply one.d_difftimeFrom d_difftime.U:
This variable conditionally defines the
HAS_DIFFTIMEsymbol, which indicates to the C program that the difftime() routine is available.d_dirfdFrom d_dirfd.U:
This variable conditionally defines the
HAS_DIRFDconstant, which indicates to the C program that dirfd() is available to return the file descriptor of a directory stream.d_dirnamlenFrom i_dirent.U:
This variable conditionally defines
DIRNAMLEN, which indicates to the C program that the length of directory entry names is provided by a d_namelen field.d_dlerrorFrom d_dlerror.U:
This variable conditionally defines the
HAS_DLERRORsymbol, which indicates to the C program that the dlerror() routine is available.d_dlopenFrom d_dlopen.U:
This variable conditionally defines the
HAS_DLOPENsymbol, which indicates to the C program that the dlopen() routine is available.d_dlsymunFrom d_dlsymun.U:
This variable conditionally defines
DLSYM_NEEDS_UNDERSCORE, which indicates that we need to prepend an underscore to the symbol name before calling dlsym().d_dosuidFrom d_dosuid.U:
This variable conditionally defines the symbol
DOSUID, which tells the C program that it should insert setuid emulation code on hosts which have setuid #! scripts disabled.d_drand48_rFrom d_drand48_r.U:
This variable conditionally defines the HAS_DRAND48_R symbol, which indicates to the C program that the drand48_r() routine is available.
d_drand48protoFrom d_drand48proto.U:
This variable conditionally defines the HAS_DRAND48_PROTO symbol, which indicates to the C program that the system provides a prototype for the drand48() function. Otherwise, it is up to the program to supply one.
d_dup2From d_dup2.U:
This variable conditionally defines HAS_DUP2 if dup2() is available to duplicate file descriptors.
d_eaccessFrom d_eaccess.U:
This variable conditionally defines the
HAS_EACCESSsymbol, which indicates to the C program that the eaccess() routine is available.d_endgrentFrom d_endgrent.U:
This variable conditionally defines the
HAS_ENDGRENTsymbol, which indicates to the C program that the endgrent() routine is available for sequential access of the group database.d_endgrent_rFrom d_endgrent_r.U:
This variable conditionally defines the
HAS_ENDGRENT_Rsymbol, which indicates to the C program that the endgrent_r() routine is available.d_endhentFrom d_endhent.U:
This variable conditionally defines
HAS_ENDHOSTENTif endhostent() is available to close whatever was being used for host queries.d_endhostent_rFrom d_endhostent_r.U:
This variable conditionally defines the
HAS_ENDHOSTENT_Rsymbol, which indicates to the C program that the endhostent_r() routine is available.d_endnentFrom d_endnent.U:
This variable conditionally defines
HAS_ENDNETENTif endnetent() is available to close whatever was being used for network queries.d_endnetent_rFrom d_endnetent_r.U:
This variable conditionally defines the
HAS_ENDNETENT_Rsymbol, which indicates to the C program that the endnetent_r() routine is available.d_endpentFrom d_endpent.U:
This variable conditionally defines
HAS_ENDPROTOENTif endprotoent() is available to close whatever was being used for protocol queries.d_endprotoent_rFrom d_endprotoent_r.U:
This variable conditionally defines the
HAS_ENDPROTOENT_Rsymbol, which indicates to the C program that the endprotoent_r() routine is available.d_endpwentFrom d_endpwent.U:
This variable conditionally defines the
HAS_ENDPWENTsymbol, which indicates to the C program that the endpwent() routine is available for sequential access of the passwd database.d_endpwent_rFrom d_endpwent_r.U:
This variable conditionally defines the
HAS_ENDPWENT_Rsymbol, which indicates to the C program that the endpwent_r() routine is available.d_endsentFrom d_endsent.U:
This variable conditionally defines
HAS_ENDSERVENTif endservent() is available to close whatever was being used for service queries.d_endservent_rFrom d_endservent_r.U:
This variable conditionally defines the
HAS_ENDSERVENT_Rsymbol, which indicates to the C program that the endservent_r() routine is available.d_eofnblkFrom nblock_io.U:
This variable conditionally defines
EOF_NONBLOCKifEOFcan be seen when reading from a non-blocking I/O source.d_euniceFrom Guess.U:
This variable conditionally defines the symbols
EUNICEandVAX, which alerts the C program that it must deal with ideosyncracies ofVMS.d_faststdioFrom d_faststdio.U:
This variable conditionally defines the
HAS_FAST_STDIOsymbol, which indicates to the C program that the "fast stdio" is available to manipulate the stdio buffers directly.d_fchdirFrom d_fchdir.U:
This variable conditionally defines the
HAS_FCHDIRsymbol, which indicates to the C program that the fchdir() routine is available.d_fchmodFrom d_fchmod.U:
This variable conditionally defines the
HAS_FCHMODsymbol, which indicates to the C program that the fchmod() routine is available to change mode of opened files.d_fchownFrom d_fchown.U:
This variable conditionally defines the
HAS_FCHOWNsymbol, which indicates to the C program that the fchown() routine is available to change ownership of opened files.d_fcntlFrom d_fcntl.U:
This variable conditionally defines the
HAS_FCNTLsymbol, and indicates whether the fcntl() function existsd_fcntl_can_lockFrom d_fcntl_can_lock.U:
This variable conditionally defines the
FCNTL_CAN_LOCKsymbol and indicates whether file locking with fcntl() works.d_fd_macrosFrom d_fd_set.U:
This variable contains the eventual value of the
HAS_FD_MACROSsymbol, which indicates if your C compiler knows about the macros which manipulate an fd_set.d_fd_setFrom d_fd_set.U:
This variable contains the eventual value of the
HAS_FD_SETsymbol, which indicates if your C compiler knows about the fd_set typedef.d_fds_bitsFrom d_fd_set.U:
This variable contains the eventual value of the
HAS_FDS_BITSsymbol, which indicates if your fd_set typedef contains the fds_bits member. If you have an fd_set typedef, but the dweebs who installed it did a half-fast job and neglected to provide the macros to manipulate an fd_set,HAS_FDS_BITSwill let us know how to fix the gaffe.d_fgetposFrom d_fgetpos.U:
This variable conditionally defines
HAS_FGETPOSif fgetpos() is available to get the file position indicator.d_finiteFrom d_finite.U:
This variable conditionally defines the
HAS_FINITEsymbol, which indicates to the C program that the finite() routine is available.d_finitelFrom d_finitel.U:
This variable conditionally defines the
HAS_FINITELsymbol, which indicates to the C program that the finitel() routine is available.d_flexfnamFrom d_flexfnam.U:
This variable conditionally defines the
FLEXFILENAMESsymbol, which indicates that the system supports filenames longer than 14 characters.d_flockFrom d_flock.U:
This variable conditionally defines
HAS_FLOCKif flock() is available to do file locking.d_flockprotoFrom d_flockproto.U:
This variable conditionally defines the
HAS_FLOCK_PROTOsymbol, which indicates to the C program that the system provides a prototype for the flock() function. Otherwise, it is up to the program to supply one.d_forkFrom d_fork.U:
This variable conditionally defines the
HAS_FORKsymbol, which indicates to the C program that the fork() routine is available.d_fp_classFrom d_fp_class.U:
This variable conditionally defines the
HAS_FP_CLASSsymbol, which indicates to the C program that the fp_class() routine is available.d_fpathconfFrom d_pathconf.U:
This variable conditionally defines the
HAS_FPATHCONFsymbol, which indicates to the C program that the pathconf() routine is available to determine file-system related limits and options associated with a given open file descriptor.d_fpclassFrom d_fpclass.U:
This variable conditionally defines the
HAS_FPCLASSsymbol, which indicates to the C program that the fpclass() routine is available.d_fpclassifyFrom d_fpclassify.U:
This variable conditionally defines the
HAS_FPCLASSIFYsymbol, which indicates to the C program that the fpclassify() routine is available.d_fpclasslFrom d_fpclassl.U:
This variable conditionally defines the
HAS_FPCLASSLsymbol, which indicates to the C program that the fpclassl() routine is available.d_fpos64_tFrom d_fpos64_t.U:
This symbol will be defined if the C compiler supports fpos64_t.
d_frexplFrom d_frexpl.U:
This variable conditionally defines the
HAS_FREXPLsymbol, which indicates to the C program that the frexpl() routine is available.d_fs_data_sFrom d_fs_data_s.U:
This variable conditionally defines the
HAS_STRUCT_FS_DATAsymbol, which indicates that the struct fs_data is supported.d_fseekoFrom d_fseeko.U:
This variable conditionally defines the
HAS_FSEEKOsymbol, which indicates to the C program that the fseeko() routine is available.d_fsetposFrom d_fsetpos.U:
This variable conditionally defines
HAS_FSETPOSif fsetpos() is available to set the file position indicator.d_fstatfsFrom d_fstatfs.U:
This variable conditionally defines the
HAS_FSTATFSsymbol, which indicates to the C program that the fstatfs() routine is available.d_fstatvfsFrom d_statvfs.U:
This variable conditionally defines the
HAS_FSTATVFSsymbol, which indicates to the C program that the fstatvfs() routine is available.d_fsyncFrom d_fsync.U:
This variable conditionally defines the
HAS_FSYNCsymbol, which indicates to the C program that the fsync() routine is available.d_ftelloFrom d_ftello.U:
This variable conditionally defines the
HAS_FTELLOsymbol, which indicates to the C program that the ftello() routine is available.d_ftimeFrom d_ftime.U:
This variable conditionally defines the
HAS_FTIMEsymbol, which indicates that the ftime() routine exists. The ftime() routine is basically a sub-second accuracy clock.d_GconvertFrom d_gconvert.U:
This variable holds what Gconvert is defined as to convert floating point numbers into strings. By default, Configure sets
thismacro to use the first of gconvert, gcvt, or sprintf that pass sprintf-%g-like behaviour tests. If perl is using long doubles, the macro uses the first of the following functions that pass Configure's tests: qgcvt, sprintf (if Configure knows how to make sprintf format long doubles--see sPRIgldbl), gconvert, gcvt, and sprintf (casting to double). The gconvert_preference and gconvert_ld_preference variables can be used to alter Configure's preferences, for doubles and long doubles, respectively. If present, they contain a space-separated list of one or more of the above function names in the order they should be tried.d_Gconvert may be set to override Configure with a platform- specific function. If this function expects a double, a different value may need to be set by the uselongdouble.cbu call-back unit so that long doubles can be formatted without loss of precision.
d_getcwdFrom d_getcwd.U:
This variable conditionally defines the
HAS_GETCWDsymbol, which indicates to the C program that the getcwd() routine is available to get the current working directory.d_getespwnamFrom d_getespwnam.U:
This variable conditionally defines
HAS_GETESPWNAMif getespwnam() is available to retrieve enchanced (shadow) password entries by name.d_getfsstatFrom d_getfsstat.U:
This variable conditionally defines the
HAS_GETFSSTATsymbol, which indicates to the C program that the getfsstat() routine is available.d_getgrentFrom d_getgrent.U:
This variable conditionally defines the
HAS_GETGRENTsymbol, which indicates to the C program that the getgrent() routine is available for sequential access of the group database.d_getgrent_rFrom d_getgrent_r.U:
This variable conditionally defines the
HAS_GETGRENT_Rsymbol, which indicates to the C program that the getgrent_r() routine is available.d_getgrgid_rFrom d_getgrgid_r.U:
This variable conditionally defines the
HAS_GETGRGID_Rsymbol, which indicates to the C program that the getgrgid_r() routine is available.d_getgrnam_rFrom d_getgrnam_r.U:
This variable conditionally defines the
HAS_GETGRNAM_Rsymbol, which indicates to the C program that the getgrnam_r() routine is available.d_getgrpsFrom d_getgrps.U:
This variable conditionally defines the
HAS_GETGROUPSsymbol, which indicates to the C program that the getgroups() routine is available to get the list of process groups.d_gethbyaddrFrom d_gethbyad.U:
This variable conditionally defines the
HAS_GETHOSTBYADDRsymbol, which indicates to the C program that the gethostbyaddr() routine is available to look up hosts by theirIPaddresses.d_gethbynameFrom d_gethbynm.U:
This variable conditionally defines the
HAS_GETHOSTBYNAMEsymbol, which indicates to the C program that the gethostbyname() routine is available to look up host names in some data base or other.d_gethentFrom d_gethent.U:
This variable conditionally defines
HAS_GETHOSTENTif gethostent() is available to look up host names in some data base or another.d_gethnameFrom d_gethname.U:
This variable conditionally defines the
HAS_GETHOSTNAMEsymbol, which indicates to the C program that the gethostname() routine may be used to derive the host name.d_gethostbyaddr_rFrom d_gethostbyaddr_r.U:
This variable conditionally defines the
HAS_GETHOSTBYADDR_Rsymbol, which indicates to the C program that the gethostbyaddr_r() routine is available.d_gethostbyname_rFrom d_gethostbyname_r.U:
This variable conditionally defines the
HAS_GETHOSTBYNAME_Rsymbol, which indicates to the C program that the gethostbyname_r() routine is available.d_gethostent_rFrom d_gethostent_r.U:
This variable conditionally defines the
HAS_GETHOSTENT_Rsymbol, which indicates to the C program that the gethostent_r() routine is available.d_gethostprotosFrom d_gethostprotos.U:
This variable conditionally defines the
HAS_GETHOST_PROTOSsymbol, which indicates to the C program that <netdb.h> supplies prototypes for the various gethost*() functions. See also netdbtype.U for probing for various netdb types.d_getitimerFrom d_getitimer.U:
This variable conditionally defines the
HAS_GETITIMERsymbol, which indicates to the C program that the getitimer() routine is available.d_getloginFrom d_getlogin.U:
This variable conditionally defines the
HAS_GETLOGINsymbol, which indicates to the C program that the getlogin() routine is available to get the login name.d_getlogin_rFrom d_getlogin_r.U:
This variable conditionally defines the
HAS_GETLOGIN_Rsymbol, which indicates to the C program that the getlogin_r() routine is available.d_getmntFrom d_getmnt.U:
This variable conditionally defines the
HAS_GETMNTsymbol, which indicates to the C program that the getmnt() routine is available to retrieve one or more mount info blocks by filename.d_getmntentFrom d_getmntent.U:
This variable conditionally defines the
HAS_GETMNTENTsymbol, which indicates to the C program that the getmntent() routine is available to iterate through mounted files to get their mount info.d_getnbyaddrFrom d_getnbyad.U:
This variable conditionally defines the
HAS_GETNETBYADDRsymbol, which indicates to the C program that the getnetbyaddr() routine is available to look up networks by theirIPaddresses.d_getnbynameFrom d_getnbynm.U:
This variable conditionally defines the
HAS_GETNETBYNAMEsymbol, which indicates to the C program that the getnetbyname() routine is available to look up networks by their names.d_getnentFrom d_getnent.U:
This variable conditionally defines
HAS_GETNETENTif getnetent() is available to look up network names in some data base or another.d_getnetbyaddr_rFrom d_getnetbyaddr_r.U:
This variable conditionally defines the
HAS_GETNETBYADDR_Rsymbol, which indicates to the C program that the getnetbyaddr_r() routine is available.d_getnetbyname_rFrom d_getnetbyname_r.U:
This variable conditionally defines the
HAS_GETNETBYNAME_Rsymbol, which indicates to the C program that the getnetbyname_r() routine is available.d_getnetent_rFrom d_getnetent_r.U:
This variable conditionally defines the
HAS_GETNETENT_Rsymbol, which indicates to the C program that the getnetent_r() routine is available.d_getnetprotosFrom d_getnetprotos.U:
This variable conditionally defines the
HAS_GETNET_PROTOSsymbol, which indicates to the C program that <netdb.h> supplies prototypes for the various getnet*() functions. See also netdbtype.U for probing for various netdb types.d_getpagszFrom d_getpagsz.U:
This variable conditionally defines
HAS_GETPAGESIZEif getpagesize() is available to get the system page size.d_getpbynameFrom d_getprotby.U:
This variable conditionally defines the
HAS_GETPROTOBYNAMEsymbol, which indicates to the C program that the getprotobyname() routine is available to look up protocols by their name.d_getpbynumberFrom d_getprotby.U:
This variable conditionally defines the
HAS_GETPROTOBYNUMBERsymbol, which indicates to the C program that the getprotobynumber() routine is available to look up protocols by their number.d_getpentFrom d_getpent.U:
This variable conditionally defines
HAS_GETPROTOENTif getprotoent() is available to look up protocols in some data base or another.d_getpgidFrom d_getpgid.U:
This variable conditionally defines the
HAS_GETPGIDsymbol, which indicates to the C program that the getpgid(pid) function is available to get the process group id.d_getpgrp2From d_getpgrp2.U:
This variable conditionally defines the HAS_GETPGRP2 symbol, which indicates to the C program that the getpgrp2() (as in DG/
UX) routine is available to get the current process group.d_getpgrpFrom d_getpgrp.U:
This variable conditionally defines
HAS_GETPGRPif getpgrp() is available to get the current process group.d_getppidFrom d_getppid.U:
This variable conditionally defines the
HAS_GETPPIDsymbol, which indicates to the C program that the getppid() routine is available to get the parent processID.d_getpriorFrom d_getprior.U:
This variable conditionally defines
HAS_GETPRIORITYif getpriority() is available to get a process's priority.d_getprotobyname_rFrom d_getprotobyname_r.U:
This variable conditionally defines the
HAS_GETPROTOBYNAME_Rsymbol, which indicates to the C program that the getprotobyname_r() routine is available.d_getprotobynumber_rFrom d_getprotobynumber_r.U:
This variable conditionally defines the
HAS_GETPROTOBYNUMBER_Rsymbol, which indicates to the C program that the getprotobynumber_r() routine is available.d_getprotoent_rFrom d_getprotoent_r.U:
This variable conditionally defines the
HAS_GETPROTOENT_Rsymbol, which indicates to the C program that the getprotoent_r() routine is available.d_getprotoprotosFrom d_getprotoprotos.U:
This variable conditionally defines the
HAS_GETPROTO_PROTOSsymbol, which indicates to the C program that <netdb.h> supplies prototypes for the various getproto*() functions. See also netdbtype.U for probing for various netdb types.d_getprpwnamFrom d_getprpwnam.U:
This variable conditionally defines
HAS_GETPRPWNAMif getprpwnam() is available to retrieve protected (shadow) password entries by name.d_getpwentFrom d_getpwent.U:
This variable conditionally defines the
HAS_GETPWENTsymbol, which indicates to the C program that the getpwent() routine is available for sequential access of the passwd database.d_getpwent_rFrom d_getpwent_r.U:
This variable conditionally defines the
HAS_GETPWENT_Rsymbol, which indicates to the C program that the getpwent_r() routine is available.d_getpwnam_rFrom d_getpwnam_r.U:
This variable conditionally defines the
HAS_GETPWNAM_Rsymbol, which indicates to the C program that the getpwnam_r() routine is available.d_getpwuid_rFrom d_getpwuid_r.U:
This variable conditionally defines the
HAS_GETPWUID_Rsymbol, which indicates to the C program that the getpwuid_r() routine is available.d_getsbynameFrom d_getsrvby.U:
This variable conditionally defines the
HAS_GETSERVBYNAMEsymbol, which indicates to the C program that the getservbyname() routine is available to look up services by their name.d_getsbyportFrom d_getsrvby.U:
This variable conditionally defines the
HAS_GETSERVBYPORTsymbol, which indicates to the C program that the getservbyport() routine is available to look up services by their port.d_getsentFrom d_getsent.U:
This variable conditionally defines
HAS_GETSERVENTif getservent() is available to look up network services in some data base or another.d_getservbyname_rFrom d_getservbyname_r.U:
This variable conditionally defines the
HAS_GETSERVBYNAME_Rsymbol, which indicates to the C program that the getservbyname_r() routine is available.d_getservbyport_rFrom d_getservbyport_r.U:
This variable conditionally defines the
HAS_GETSERVBYPORT_Rsymbol, which indicates to the C program that the getservbyport_r() routine is available.d_getservent_rFrom d_getservent_r.U:
This variable conditionally defines the
HAS_GETSERVENT_Rsymbol, which indicates to the C program that the getservent_r() routine is available.d_getservprotosFrom d_getservprotos.U:
This variable conditionally defines the
HAS_GETSERV_PROTOSsymbol, which indicates to the C program that <netdb.h> supplies prototypes for the various getserv*() functions. See also netdbtype.U for probing for various netdb types.d_getspnamFrom d_getspnam.U:
This variable conditionally defines
HAS_GETSPNAMif getspnam() is available to retrieve SysV shadow password entries by name.d_getspnam_rFrom d_getspnam_r.U:
This variable conditionally defines the
HAS_GETSPNAM_Rsymbol, which indicates to the C program that the getspnam_r() routine is available.d_gettimeodFrom d_ftime.U:
This variable conditionally defines the
HAS_GETTIMEOFDAYsymbol, which indicates that the gettimeofday() system call exists (to obtain a sub-second accuracy clock). You should probably include <sys/resource.h>.d_gmtime_rFrom d_gmtime_r.U:
This variable conditionally defines the
HAS_GMTIME_Rsymbol, which indicates to the C program that the gmtime_r() routine is available.d_gnulibcFrom d_gnulibc.U:
Defined if we're dealing with the
GNUC Library.d_grpasswdFrom i_grp.U:
This variable conditionally defines
GRPASSWD, which indicates that struct group in <grp.h> contains gr_passwd.d_hasmntoptFrom d_hasmntopt.U:
This variable conditionally defines the
HAS_HASMNTOPTsymbol, which indicates to the C program that the hasmntopt() routine is available to query the mount options of file systems.d_htonlFrom d_htonl.U:
This variable conditionally defines
HAS_HTONLif htonl() and its friends are available to do network order byte swapping.d_ilogblFrom d_ilogbl.U:
This variable conditionally defines the
HAS_ILOGBLsymbol, which indicates to the C program that the ilogbl() routine is available. If scalbnl is also present we can emulate frexpl.d_indexFrom d_strchr.U:
This variable conditionally defines
HAS_INDEXif index() and rindex() are available for string searching.d_inetatonFrom d_inetaton.U:
This variable conditionally defines the
HAS_INET_ATONsymbol, which indicates to the C program that the inet_aton() function is available to parseIPaddressdotted-quadstrings.d_int64_tFrom d_int64_t.U:
This symbol will be defined if the C compiler supports int64_t.
d_isasciiFrom d_isascii.U:
This variable conditionally defines the
HAS_ISASCIIconstant, which indicates to the C program that isascii() is available.d_isfiniteFrom d_isfinite.U:
This variable conditionally defines the
HAS_ISFINITEsymbol, which indicates to the C program that the isfinite() routine is available.d_isinfFrom d_isinf.U:
This variable conditionally defines the
HAS_ISINFsymbol, which indicates to the C program that the isinf() routine is available.d_isnanFrom d_isnan.U:
This variable conditionally defines the
HAS_ISNANsymbol, which indicates to the C program that the isnan() routine is available.d_isnanlFrom d_isnanl.U:
This variable conditionally defines the
HAS_ISNANLsymbol, which indicates to the C program that the isnanl() routine is available.d_killpgFrom d_killpg.U:
This variable conditionally defines the
HAS_KILLPGsymbol, which indicates to the C program that the killpg() routine is available to kill process groups.d_lchownFrom d_lchown.U:
This variable conditionally defines the
HAS_LCHOWNsymbol, which indicates to the C program that the lchown() routine is available to operate on a symbolic link (instead of following the link).d_ldbl_digFrom d_ldbl_dig.U:
This variable conditionally defines d_ldbl_dig if this system's header files provide
LDBL_DIG, which is the number of significant digits in a long double precision number.d_linkFrom d_link.U:
This variable conditionally defines
HAS_LINKif link() is available to create hard links.d_localtime_rFrom d_localtime_r.U:
This variable conditionally defines the
HAS_LOCALTIME_Rsymbol, which indicates to the C program that the localtime_r() routine is available.d_locconvFrom d_locconv.U:
This variable conditionally defines
HAS_LOCALECONVif localeconv() is available for numeric and monetary formatting conventions.d_lockfFrom d_lockf.U:
This variable conditionally defines
HAS_LOCKFif lockf() is available to do file locking.d_longdblFrom d_longdbl.U:
This variable conditionally defines
HAS_LONG_DOUBLEif the long double type is supported.d_longlongFrom d_longlong.U:
This variable conditionally defines
HAS_LONG_LONGif the long long type is supported.d_lseekprotoFrom d_lseekproto.U:
This variable conditionally defines the
HAS_LSEEK_PROTOsymbol, which indicates to the C program that the system provides a prototype for the lseek() function. Otherwise, it is up to the program to supply one.d_lstatFrom d_lstat.U:
This variable conditionally defines
HAS_LSTATif lstat() is available to do file stats on symbolic links.d_madviseFrom d_madvise.U:
This variable conditionally defines
HAS_MADVISEif madvise() is available to map a file into memory.d_mblenFrom d_mblen.U:
This variable conditionally defines the
HAS_MBLENsymbol, which indicates to the C program that the mblen() routine is available to find the number of bytes in a multibye character.d_mbstowcsFrom d_mbstowcs.U:
This variable conditionally defines the
HAS_MBSTOWCSsymbol, which indicates to the C program that the mbstowcs() routine is available to convert a multibyte string into a wide character string.d_mbtowcFrom d_mbtowc.U:
This variable conditionally defines the
HAS_MBTOWCsymbol, which indicates to the C program that the mbtowc() routine is available to convert multibyte to a wide character.d_memchrFrom d_memchr.U:
This variable conditionally defines the
HAS_MEMCHRsymbol, which indicates to the C program that the memchr() routine is available to locate characters within a C string.d_memcmpFrom d_memcmp.U:
This variable conditionally defines the
HAS_MEMCMPsymbol, which indicates to the C program that the memcmp() routine is available to compare blocks of memory.d_memcpyFrom d_memcpy.U:
This variable conditionally defines the
HAS_MEMCPYsymbol, which indicates to the C program that the memcpy() routine is available to copy blocks of memory.d_memmoveFrom d_memmove.U:
This variable conditionally defines the
HAS_MEMMOVEsymbol, which indicates to the C program that the memmove() routine is available to copy potentatially overlapping blocks of memory.d_memsetFrom d_memset.U:
This variable conditionally defines the
HAS_MEMSETsymbol, which indicates to the C program that the memset() routine is available to set blocks of memory.d_mkdirFrom d_mkdir.U:
This variable conditionally defines the
HAS_MKDIRsymbol, which indicates to the C program that the mkdir() routine is available to create directories..d_mkdtempFrom d_mkdtemp.U:
This variable conditionally defines the
HAS_MKDTEMPsymbol, which indicates to the C program that the mkdtemp() routine is available to exclusively create a uniquely named temporary directory.d_mkfifoFrom d_mkfifo.U:
This variable conditionally defines the
HAS_MKFIFOsymbol, which indicates to the C program that the mkfifo() routine is available.d_mkstempFrom d_mkstemp.U:
This variable conditionally defines the
HAS_MKSTEMPsymbol, which indicates to the C program that the mkstemp() routine is available to exclusively create and open a uniquely named temporary file.d_mkstempsFrom d_mkstemps.U:
This variable conditionally defines the
HAS_MKSTEMPSsymbol, which indicates to the C program that the mkstemps() routine is available to exclusively create and open a uniquely named (with a suffix) temporary file.d_mktimeFrom d_mktime.U:
This variable conditionally defines the
HAS_MKTIMEsymbol, which indicates to the C program that the mktime() routine is available.d_mmapFrom d_mmap.U:
This variable conditionally defines
HAS_MMAPif mmap() is available to map a file into memory.d_modflFrom d_modfl.U:
This variable conditionally defines the
HAS_MODFLsymbol, which indicates to the C program that the modfl() routine is available.d_modfl_pow32_bugFrom d_modfl.U:
This variable conditionally defines the HAS_MODFL_POW32_BUG symbol, which indicates that modfl() is broken for long doubles >= pow(2, 32). For example from 4294967303.150000 one would get 4294967302.000000 and 1.150000. The bug has been seen in certain versions of glibc, release 2.2.2 is known to be okay.
d_modflprotoFrom d_modfl.U:
This symbol, if defined, indicates that the system provides a prototype for the modfl() function. Otherwise, it is up to the program to supply one. C99 says it should be long double modfl(long double, long double *);
d_mprotectFrom d_mprotect.U:
This variable conditionally defines
HAS_MPROTECTif mprotect() is available to modify the access protection of a memory mapped file.d_msgFrom d_msg.U:
This variable conditionally defines the
HAS_MSGsymbol, which indicates that the entire msg*(2) library is present.d_msg_ctruncFrom d_socket.U:
This variable conditionally defines the
HAS_MSG_CTRUNCsymbol, which indicates that theMSG_CTRUNCis available. #ifdef is not enough because it may be an enum, glibc has been known to do this.d_msg_dontrouteFrom d_socket.U:
This variable conditionally defines the
HAS_MSG_DONTROUTEsymbol, which indicates that theMSG_DONTROUTEis available. #ifdef is not enough because it may be an enum, glibc has been known to do this.d_msg_oobFrom d_socket.U:
This variable conditionally defines the
HAS_MSG_OOBsymbol, which indicates that theMSG_OOBis available. #ifdef is not enough because it may be an enum, glibc has been known to do this.d_msg_peekFrom d_socket.U:
This variable conditionally defines the
HAS_MSG_PEEKsymbol, which indicates that theMSG_PEEKis available. #ifdef is not enough because it may be an enum, glibc has been known to do this.d_msg_proxyFrom d_socket.U:
This variable conditionally defines the
HAS_MSG_PROXYsymbol, which indicates that theMSG_PROXYis available. #ifdef is not enough because it may be an enum, glibc has been known to do this.d_msgctlFrom d_msgctl.U:
This variable conditionally defines the
HAS_MSGCTLsymbol, which indicates to the C program that the msgctl() routine is available.d_msggetFrom d_msgget.U:
This variable conditionally defines the
HAS_MSGGETsymbol, which indicates to the C program that the msgget() routine is available.d_msghdr_sFrom d_msghdr_s.U:
This variable conditionally defines the
HAS_STRUCT_MSGHDRsymbol, which indicates that the struct msghdr is supported.d_msgrcvFrom d_msgrcv.U:
This variable conditionally defines the
HAS_MSGRCVsymbol, which indicates to the C program that the msgrcv() routine is available.d_msgsndFrom d_msgsnd.U:
This variable conditionally defines the
HAS_MSGSNDsymbol, which indicates to the C program that the msgsnd() routine is available.d_msyncFrom d_msync.U:
This variable conditionally defines
HAS_MSYNCif msync() is available to synchronize a mapped file.d_munmapFrom d_munmap.U:
This variable conditionally defines
HAS_MUNMAPif munmap() is available to unmap a region mapped by mmap().d_mymallocFrom mallocsrc.U:
This variable conditionally defines
MYMALLOCin case other parts of the source want to take special action ifMYMALLOCis used. This may include different sorts of profiling or error detection.d_nanosleepFrom d_nanosleep.U:
This variable conditionally defines
HAS_NANOSLEEPif nanosleep() is available to sleep with 1E-9 sec accuracy.d_niceFrom d_nice.U:
This variable conditionally defines the
HAS_NICEsymbol, which indicates to the C program that the nice() routine is available.d_nl_langinfoFrom d_nl_langinfo.U:
This variable conditionally defines the
HAS_NL_LANGINFOsymbol, which indicates to the C program that the nl_langinfo() routine is available.d_nv_preserves_uvFrom perlxv.U:
This variable indicates whether a variable of type nvtype can preserve all the bits a variable of type uvtype.
d_off64_tFrom d_off64_t.U:
This symbol will be defined if the C compiler supports off64_t.
d_old_pthread_create_joinableFrom d_pthrattrj.U:
This variable conditionally defines pthread_create_joinable. undef if pthread.h defines
PTHREAD_CREATE_JOINABLE.d_oldpthreadsFrom usethreads.U:
This variable conditionally defines the
OLD_PTHREADS_APIsymbol, and indicates that Perl should be built to use the old draftPOSIXthreadsAPI. This is only potentially meaningful if usethreads is set.d_oldsockFrom d_socket.U:
This variable conditionally defines the
OLDSOCKETsymbol, which indicates that theBSDsocket interface is based on 4.1c and not 4.2.d_open3From d_open3.U:
This variable conditionally defines the HAS_OPEN3 manifest constant, which indicates to the C program that the 3 argument version of the open(2) function is available.
d_pathconfFrom d_pathconf.U:
This variable conditionally defines the
HAS_PATHCONFsymbol, which indicates to the C program that the pathconf() routine is available to determine file-system related limits and options associated with a given filename.d_pauseFrom d_pause.U:
This variable conditionally defines the
HAS_PAUSEsymbol, which indicates to the C program that the pause() routine is available to suspend a process until a signal is received.d_perl_otherlibdirsFrom otherlibdirs.U:
This variable conditionally defines
PERL_OTHERLIBDIRS, which contains a colon-separated set of paths for the perl binary to include in @INC. See also otherlibdirs.d_phostnameFrom d_gethname.U:
This variable conditionally defines the
HAS_PHOSTNAMEsymbol, which contains the shell command which, when fed to popen(), may be used to derive the host name.d_pipeFrom d_pipe.U:
This variable conditionally defines the
HAS_PIPEsymbol, which indicates to the C program that the pipe() routine is available to create an inter-process channel.d_pollFrom d_poll.U:
This variable conditionally defines the
HAS_POLLsymbol, which indicates to the C program that the poll() routine is available to poll active file descriptors.d_portableFrom d_portable.U:
This variable conditionally defines the
PORTABLEsymbol, which indicates to the C program that it should not assume that it is running on the machine it was compiled on.d_PRId64From quadfio.U:
This variable conditionally defines the PERL_PRId64 symbol, which indiciates that stdio has a symbol to print 64-bit decimal numbers.
d_PRIeldblFrom longdblfio.U:
This variable conditionally defines the PERL_PRIfldbl symbol, which indiciates that stdio has a symbol to print long doubles.
d_PRIEUldblFrom longdblfio.U:
This variable conditionally defines the PERL_PRIfldbl symbol, which indiciates that stdio has a symbol to print long doubles. The
Uin the name is to separate this from d_PRIeldbl so that even case-blind systems can see the difference.d_PRIfldblFrom longdblfio.U:
This variable conditionally defines the PERL_PRIfldbl symbol, which indiciates that stdio has a symbol to print long doubles.
d_PRIFUldblFrom longdblfio.U:
This variable conditionally defines the PERL_PRIfldbl symbol, which indiciates that stdio has a symbol to print long doubles. The
Uin the name is to separate this from d_PRIfldbl so that even case-blind systems can see the difference.d_PRIgldblFrom longdblfio.U:
This variable conditionally defines the PERL_PRIfldbl symbol, which indiciates that stdio has a symbol to print long doubles.
d_PRIGUldblFrom longdblfio.U:
This variable conditionally defines the PERL_PRIfldbl symbol, which indiciates that stdio has a symbol to print long doubles. The
Uin the name is to separate this from d_PRIgldbl so that even case-blind systems can see the difference.d_PRIi64From quadfio.U:
This variable conditionally defines the PERL_PRIi64 symbol, which indiciates that stdio has a symbol to print 64-bit decimal numbers.
d_PRIo64From quadfio.U:
This variable conditionally defines the PERL_PRIo64 symbol, which indiciates that stdio has a symbol to print 64-bit octal numbers.
d_PRIu64From quadfio.U:
This variable conditionally defines the PERL_PRIu64 symbol, which indiciates that stdio has a symbol to print 64-bit unsigned decimal numbers.
d_PRIx64From quadfio.U:
This variable conditionally defines the PERL_PRIx64 symbol, which indiciates that stdio has a symbol to print 64-bit hexadecimal numbers.
d_PRIXU64From quadfio.U:
This variable conditionally defines the PERL_PRIXU64 symbol, which indiciates that stdio has a symbol to print 64-bit hExADECimAl numbers. The
Uin the name is to separate this from d_PRIx64 so that even case-blind systems can see the difference.d_procselfexeFrom d_procselfexe.U:
Defined if $procselfexe is symlink to the absolute pathname of the executing program.
d_pthread_atforkFrom d_pthread_atfork.U:
This variable conditionally defines the
HAS_PTHREAD_ATFORKsymbol, which indicates to the C program that the pthread_atfork() routine is available.d_pthread_attr_setscopeFrom d_pthread_attr_ss.U:
This variable conditionally defines
HAS_PTHREAD_ATTR_SETSCOPEif pthread_attr_setscope() is available to set the contention scope attribute of a thread attribute object.d_pthread_yieldFrom d_pthread_y.U:
This variable conditionally defines the
HAS_PTHREAD_YIELDsymbol if the pthread_yield routine is available to yield the execution of the current thread.d_pwageFrom i_pwd.U:
This variable conditionally defines
PWAGE, which indicates that struct passwd contains pw_age.d_pwchangeFrom i_pwd.U:
This variable conditionally defines
PWCHANGE, which indicates that struct passwd contains pw_change.d_pwclassFrom i_pwd.U:
This variable conditionally defines
PWCLASS, which indicates that struct passwd contains pw_class.d_pwcommentFrom i_pwd.U:
This variable conditionally defines
PWCOMMENT, which indicates that struct passwd contains pw_comment.d_pwexpireFrom i_pwd.U:
This variable conditionally defines
PWEXPIRE, which indicates that struct passwd contains pw_expire.d_pwgecosFrom i_pwd.U:
This variable conditionally defines
PWGECOS, which indicates that struct passwd contains pw_gecos.d_pwpasswdFrom i_pwd.U:
This variable conditionally defines
PWPASSWD, which indicates that struct passwd contains pw_passwd.d_pwquotaFrom i_pwd.U:
This variable conditionally defines
PWQUOTA, which indicates that struct passwd contains pw_quota.d_qgcvtFrom d_qgcvt.U:
This variable conditionally defines the
HAS_QGCVTsymbol, which indicates to the C program that the qgcvt() routine is available.d_quadFrom quadtype.U:
This variable, if defined, tells that there's a 64-bit integer type, quadtype.
d_random_rFrom d_random_r.U:
This variable conditionally defines the
HAS_RANDOM_Rsymbol, which indicates to the C program that the random_r() routine is available.d_readdir64_rFrom d_readdir64_r.U:
This variable conditionally defines the HAS_READDIR64_R symbol, which indicates to the C program that the readdir64_r() routine is available.
d_readdirFrom d_readdir.U:
This variable conditionally defines
HAS_READDIRif readdir() is available to read directory entries.d_readdir_rFrom d_readdir_r.U:
This variable conditionally defines the
HAS_READDIR_Rsymbol, which indicates to the C program that the readdir_r() routine is available.d_readlinkFrom d_readlink.U:
This variable conditionally defines the
HAS_READLINKsymbol, which indicates to the C program that the readlink() routine is available to read the value of a symbolic link.d_readvFrom d_readv.U:
This variable conditionally defines the
HAS_READVsymbol, which indicates to the C program that the readv() routine is available.d_recvmsgFrom d_recvmsg.U:
This variable conditionally defines the
HAS_RECVMSGsymbol, which indicates to the C program that the recvmsg() routine is available.d_renameFrom d_rename.U:
This variable conditionally defines the
HAS_RENAMEsymbol, which indicates to the C program that the rename() routine is available to rename files.d_rewinddirFrom d_readdir.U:
This variable conditionally defines
HAS_REWINDDIRif rewinddir() is available.d_rmdirFrom d_rmdir.U:
This variable conditionally defines
HAS_RMDIRif rmdir() is available to remove directories.d_safebcpyFrom d_safebcpy.U:
This variable conditionally defines the
HAS_SAFE_BCOPYsymbol if the bcopy() routine can do overlapping copies. Normally, you should probably use memmove().d_safemcpyFrom d_safemcpy.U:
This variable conditionally defines the
HAS_SAFE_MEMCPYsymbol if the memcpy() routine can do overlapping copies. For overlapping copies, memmove() should be used, if available.d_sanemcmpFrom d_sanemcmp.U:
This variable conditionally defines the
HAS_SANE_MEMCMPsymbol if the memcpy() routine is available and can be used to compare relative magnitudes of chars with their high bits set.d_sbrkprotoFrom d_sbrkproto.U:
This variable conditionally defines the
HAS_SBRK_PROTOsymbol, which indicates to the C program that the system provides a prototype for the sbrk() function. Otherwise, it is up to the program to supply one.d_scalbnlFrom d_scalbnl.U:
This variable conditionally defines the
HAS_SCALBNLsymbol, which indicates to the C program that the scalbnl() routine is available. If ilogbl is also present we can emulate frexpl.d_sched_yieldFrom d_pthread_y.U:
This variable conditionally defines the
HAS_SCHED_YIELDsymbol if the sched_yield routine is available to yield the execution of the current thread.d_scm_rightsFrom d_socket.U:
This variable conditionally defines the
HAS_SCM_RIGHTSsymbol, which indicates that theSCM_RIGHTSis available. #ifdef is not enough because it may be an enum, glibc has been known to do this.d_SCNfldblFrom longdblfio.U:
This variable conditionally defines the PERL_PRIfldbl symbol, which indiciates that stdio has a symbol to scan long doubles.
d_seekdirFrom d_readdir.U:
This variable conditionally defines
HAS_SEEKDIRif seekdir() is available.d_selectFrom d_select.U:
This variable conditionally defines
HAS_SELECTif select() is available to select active file descriptors. A <sys/time.h> inclusion may be necessary for the timeout field.d_semFrom d_sem.U:
This variable conditionally defines the
HAS_SEMsymbol, which indicates that the entire sem*(2) library is present.d_semctlFrom d_semctl.U:
This variable conditionally defines the
HAS_SEMCTLsymbol, which indicates to the C program that the semctl() routine is available.d_semctl_semid_dsFrom d_union_semun.U:
This variable conditionally defines
USE_SEMCTL_SEMID_DS, which indicates that struct semid_ds * is to be used for semctlIPC_STAT.d_semctl_semunFrom d_union_semun.U:
This variable conditionally defines
USE_SEMCTL_SEMUN, which indicates that union semun is to be used for semctlIPC_STAT.d_semgetFrom d_semget.U:
This variable conditionally defines the
HAS_SEMGETsymbol, which indicates to the C program that the semget() routine is available.d_semopFrom d_semop.U:
This variable conditionally defines the
HAS_SEMOPsymbol, which indicates to the C program that the semop() routine is available.d_sendmsgFrom d_sendmsg.U:
This variable conditionally defines the
HAS_SENDMSGsymbol, which indicates to the C program that the sendmsg() routine is available.d_setegidFrom d_setegid.U:
This variable conditionally defines the
HAS_SETEGIDsymbol, which indicates to the C program that the setegid() routine is available to change the effective gid of the current program.d_seteuidFrom d_seteuid.U:
This variable conditionally defines the
HAS_SETEUIDsymbol, which indicates to the C program that the seteuid() routine is available to change the effective uid of the current program.d_setgrentFrom d_setgrent.U:
This variable conditionally defines the
HAS_SETGRENTsymbol, which indicates to the C program that the setgrent() routine is available for initializing sequential access to the group database.d_setgrent_rFrom d_setgrent_r.U:
This variable conditionally defines the
HAS_SETGRENT_Rsymbol, which indicates to the C program that the setgrent_r() routine is available.d_setgrpsFrom d_setgrps.U:
This variable conditionally defines the
HAS_SETGROUPSsymbol, which indicates to the C program that the setgroups() routine is available to set the list of process groups.d_sethentFrom d_sethent.U:
This variable conditionally defines
HAS_SETHOSTENTif sethostent() is available.d_sethostent_rFrom d_sethostent_r.U:
This variable conditionally defines the
HAS_SETHOSTENT_Rsymbol, which indicates to the C program that the sethostent_r() routine is available.d_setitimerFrom d_setitimer.U:
This variable conditionally defines the
HAS_SETITIMERsymbol, which indicates to the C program that the setitimer() routine is available.d_setlinebufFrom d_setlnbuf.U:
This variable conditionally defines the
HAS_SETLINEBUFsymbol, which indicates to the C program that the setlinebuf() routine is available to change stderr or stdout from block-buffered or unbuffered to a line-buffered mode.d_setlocaleFrom d_setlocale.U:
This variable conditionally defines
HAS_SETLOCALEif setlocale() is available to handle locale-specific ctype implementations.d_setlocale_rFrom d_setlocale_r.U:
This variable conditionally defines the
HAS_SETLOCALE_Rsymbol, which indicates to the C program that the setlocale_r() routine is available.d_setnentFrom d_setnent.U:
This variable conditionally defines
HAS_SETNETENTif setnetent() is available.d_setnetent_rFrom d_setnetent_r.U:
This variable conditionally defines the
HAS_SETNETENT_Rsymbol, which indicates to the C program that the setnetent_r() routine is available.d_setpentFrom d_setpent.U:
This variable conditionally defines
HAS_SETPROTOENTif setprotoent() is available.d_setpgidFrom d_setpgid.U:
This variable conditionally defines the
HAS_SETPGIDsymbol if the setpgid(pid, gpid) function is available to set process groupID.d_setpgrp2From d_setpgrp2.U:
This variable conditionally defines the HAS_SETPGRP2 symbol, which indicates to the C program that the setpgrp2() (as in DG/
UX) routine is available to set the current process group.d_setpgrpFrom d_setpgrp.U:
This variable conditionally defines
HAS_SETPGRPif setpgrp() is available to set the current process group.d_setpriorFrom d_setprior.U:
This variable conditionally defines
HAS_SETPRIORITYif setpriority() is available to set a process's priority.d_setproctitleFrom d_setproctitle.U:
This variable conditionally defines the
HAS_SETPROCTITLEsymbol, which indicates to the C program that the setproctitle() routine is available.d_setprotoent_rFrom d_setprotoent_r.U:
This variable conditionally defines the
HAS_SETPROTOENT_Rsymbol, which indicates to the C program that the setprotoent_r() routine is available.d_setpwentFrom d_setpwent.U:
This variable conditionally defines the
HAS_SETPWENTsymbol, which indicates to the C program that the setpwent() routine is available for initializing sequential access to the passwd database.d_setpwent_rFrom d_setpwent_r.U:
This variable conditionally defines the
HAS_SETPWENT_Rsymbol, which indicates to the C program that the setpwent_r() routine is available.d_setregidFrom d_setregid.U:
This variable conditionally defines
HAS_SETREGIDif setregid() is available to change the real and effective gid of the current process.d_setresgidFrom d_setregid.U:
This variable conditionally defines
HAS_SETRESGIDif setresgid() is available to change the real, effective and saved gid of the current process.d_setresuidFrom d_setreuid.U:
This variable conditionally defines
HAS_SETREUIDif setresuid() is available to change the real, effective and saved uid of the current process.d_setreuidFrom d_setreuid.U:
This variable conditionally defines
HAS_SETREUIDif setreuid() is available to change the real and effective uid of the current process.d_setrgidFrom d_setrgid.U:
This variable conditionally defines the
HAS_SETRGIDsymbol, which indicates to the C program that the setrgid() routine is available to change the real gid of the current program.d_setruidFrom d_setruid.U:
This variable conditionally defines the
HAS_SETRUIDsymbol, which indicates to the C program that the setruid() routine is available to change the real uid of the current program.d_setsentFrom d_setsent.U:
This variable conditionally defines
HAS_SETSERVENTif setservent() is available.d_setservent_rFrom d_setservent_r.U:
This variable conditionally defines the
HAS_SETSERVENT_Rsymbol, which indicates to the C program that the setservent_r() routine is available.d_setsidFrom d_setsid.U:
This variable conditionally defines
HAS_SETSIDif setsid() is available to set the process groupID.d_setvbufFrom d_setvbuf.U:
This variable conditionally defines the
HAS_SETVBUFsymbol, which indicates to the C program that the setvbuf() routine is available to change buffering on an open stdio stream.d_sfioFrom d_sfio.U:
This variable conditionally defines the
USE_SFIOsymbol, and indicates whether sfio is available (and should be used).d_shmFrom d_shm.U:
This variable conditionally defines the
HAS_SHMsymbol, which indicates that the entire shm*(2) library is present.d_shmatFrom d_shmat.U:
This variable conditionally defines the
HAS_SHMATsymbol, which indicates to the C program that the shmat() routine is available.d_shmatprototypeFrom d_shmat.U:
This variable conditionally defines the
HAS_SHMAT_PROTOTYPEsymbol, which indicates that sys/shm.h has a prototype for shmat.d_shmctlFrom d_shmctl.U:
This variable conditionally defines the
HAS_SHMCTLsymbol, which indicates to the C program that the shmctl() routine is available.d_shmdtFrom d_shmdt.U:
This variable conditionally defines the
HAS_SHMDTsymbol, which indicates to the C program that the shmdt() routine is available.d_shmgetFrom d_shmget.U:
This variable conditionally defines the
HAS_SHMGETsymbol, which indicates to the C program that the shmget() routine is available.d_sigactionFrom d_sigaction.U:
This variable conditionally defines the
HAS_SIGACTIONsymbol, which indicates that the Vr4 sigaction() routine is available.d_sigprocmaskFrom d_sigprocmask.U:
This variable conditionally defines
HAS_SIGPROCMASKif sigprocmask() is available to examine or change the signal mask of the calling process.d_sigsetjmpFrom d_sigsetjmp.U:
This variable conditionally defines the
HAS_SIGSETJMPsymbol, which indicates that the sigsetjmp() routine is available to call setjmp() and optionally save the process's signal mask.d_sockatmarkFrom d_sockatmark.U:
This variable conditionally defines the
HAS_SOCKATMARKsymbol, which indicates to the C program that the sockatmark() routine is available.d_sockatmarkprotoFrom d_sockatmarkproto.U:
This variable conditionally defines the
HAS_SOCKATMARK_PROTOsymbol, which indicates to the C program that the system provides a prototype for the sockatmark() function. Otherwise, it is up to the program to supply one.d_socketFrom d_socket.U:
This variable conditionally defines
HAS_SOCKET, which indicates that theBSDsocket interface is supported.d_socklen_tFrom d_socklen_t.U:
This symbol will be defined if the C compiler supports socklen_t.
d_sockpairFrom d_socket.U:
This variable conditionally defines the
HAS_SOCKETPAIRsymbol, which indicates that theBSDsocketpair() is supported.d_socks5_initFrom d_socks5_init.U:
This variable conditionally defines the HAS_SOCKS5_INIT symbol, which indicates to the C program that the socks5_init() routine is available.
d_sqrtlFrom d_sqrtl.U:
This variable conditionally defines the
HAS_SQRTLsymbol, which indicates to the C program that the sqrtl() routine is available.d_srand48_rFrom d_srand48_r.U:
This variable conditionally defines the HAS_SRAND48_R symbol, which indicates to the C program that the srand48_r() routine is available.
d_srandom_rFrom d_srandom_r.U:
This variable conditionally defines the
HAS_SRANDOM_Rsymbol, which indicates to the C program that the srandom_r() routine is available.d_sresgprotoFrom d_sresgproto.U:
This variable conditionally defines the
HAS_SETRESGID_PROTOsymbol, which indicates to the C program that the system provides a prototype for the setresgid() function. Otherwise, it is up to the program to supply one.d_sresuprotoFrom d_sresuproto.U:
This variable conditionally defines the
HAS_SETRESUID_PROTOsymbol, which indicates to the C program that the system provides a prototype for the setresuid() function. Otherwise, it is up to the program to supply one.d_statblksFrom d_statblks.U:
This va
