1 /* This is config.h for Stratus VOS. It was created by hand
2 from the distribution copy of config_h.SH. */
4 /* Configuration time: September 4, 1998
5 * Configured by: Paul Green
6 * Target system: Stratus VOS
13 * This symbol holds the complete pathname to the sed program.
15 #define LOC_SED "/system/ported/command_library/sed.pm" /**/
18 * This symbol holds the path of the bin directory where the package will
19 * be installed. Program must be prepared to deal with ~name substitution.
22 * This symbol is the filename expanded version of the BIN symbol, for
23 * programs that do not want to deal with that at run-time.
25 #define BIN "/system/ported/command_library" /**/
26 #define BIN_EXP "/system/ported/command_library" /**/
29 * This symbol contains the first part of the string which will invoke
30 * the C preprocessor on the standard input and produce to standard
31 * output. Typical value of "cc -E" or "/lib/cpp", but it can also
32 * call a wrapper. See CPPRUN.
35 * This symbol contains the second part of the string which will invoke
36 * the C preprocessor on the standard input and produce to standard
37 * output. This symbol will have the value "-" if CPPSTDIN needs a minus
38 * to specify standard input, otherwise the value is "".
40 #define CPPSTDIN "cc -E"
44 * This symbol, if defined, indicates that the alarm routine is
47 #define HAS_ALARM /**/
50 * This symbol indicates the C compiler can check for function attributes,
51 * such as printf formats. This is normally only supported by GNU cc.
53 /*#define HASATTRIBUTE / **/
55 #define __attribute__(_arg_)
59 * This symbol is defined if the bcmp() routine is available to
60 * compare blocks of memory.
62 /*#define HAS_BCMP /**/
65 * This symbol is defined if the bcopy() routine is available to
66 * copy blocks of memory.
68 /*#define HAS_BCOPY /**/
71 * This symbol is defined if the bzero() routine is available to
72 * set a memory block to 0.
74 /*#define HAS_BZERO /**/
77 * This symbol, if defined, indicates that the chown routine is
80 /*#define HAS_CHOWN /**/
83 * This symbol, if defined, indicates that the chroot routine is
86 /*#define HAS_CHROOT /**/
89 * This symbol, if defined, indicates that the chsize routine is available
90 * to truncate files. You might need a -lx to get this routine.
92 /*#define HAS_CHSIZE / **/
95 * This symbol, if defined, indicates that this C compiler knows about
96 * the const type. There is no need to actually test for that symbol
97 * within your programs. The mere use of the "const" keyword will
98 * trigger the necessary tests.
100 #define HASCONST /**/
106 * This symbol, if defined, indicates that the crypt routine is available
107 * to encrypt passwords and the like.
109 /*#define HAS_CRYPT /**/
112 * This symbol, if defined, indicates that the cuserid routine is
113 * available to get character login names.
115 /*#define HAS_CUSERID /**/
118 * This symbol, if defined, indicates that this system's <float.h>
119 * or <limits.h> defines the symbol DBL_DIG, which is the number
120 * of significant digits in a double precision number. If this
121 * symbol is not defined, a guess of 15 is usually pretty good.
123 #define HAS_DBL_DIG /* */
126 * This symbol, if defined, indicates that the difftime routine is
129 #define HAS_DIFFTIME /**/
132 * This symbol, if defined, indicates that the dlerror routine is
133 * available to return a string describing the last error that
134 * occurred from a call to dlopen(), dlclose() or dlsym().
136 /*#define HAS_DLERROR /**/
138 /* SETUID_SCRIPTS_ARE_SECURE_NOW:
139 * This symbol, if defined, indicates that the bug that prevents
140 * setuid scripts from being secure is not present in this kernel.
143 * This symbol, if defined, indicates that the C program should
144 * check the script that it is executing for setuid/setgid bits, and
145 * attempt to emulate setuid/setgid on systems that have disabled
146 * setuid #! scripts because the kernel can't do it securely.
147 * It is up to the package designer to make sure that this emulation
148 * is done securely. Among other things, it should do an fstat on
149 * the script it just opened to make sure it really is a setuid/setgid
150 * script, it should make sure the arguments passed correspond exactly
151 * to the argument on the #! line, and it should not trust any
152 * subprocesses to which it must pass the filename rather than the
153 * file descriptor of the script to be executed.
155 #define SETUID_SCRIPTS_ARE_SECURE_NOW /**/ /* PG: ASSUME THESE ARE NO-OPS W/O SETUID */
156 /*#define DOSUID / **/
159 * This symbol, if defined, indicates that the dup2 routine is
160 * available to duplicate file descriptors.
162 /*#define HAS_DUP2 /**/
165 * This symbol, if defined, indicates that the fchmod routine is available
166 * to change mode of opened files. If unavailable, use chmod().
168 #define HAS_FCHMOD /**/
171 * This symbol, if defined, indicates that the fchown routine is available
172 * to change ownership of opened files. If unavailable, use chown().
174 /*#define HAS_FCHOWN /**/
177 * This symbol, if defined, indicates to the C program that
178 * the fcntl() function exists.
180 #define HAS_FCNTL /**/
183 * This symbol, if defined, indicates that the fgetpos routine is
184 * available to get the file position indicator, similar to ftell().
186 #define HAS_FGETPOS /**/
189 * This symbol, if defined, indicates that the system supports filenames
190 * longer than 14 characters.
192 #define FLEXFILENAMES /**/
195 * This symbol, if defined, indicates that the flock routine is
196 * available to do file locking.
198 /*#define HAS_FLOCK / **/
201 * This symbol, if defined, indicates that the fork routine is
204 /*#define HAS_FORK /**/
207 * This symbol, if defined, indicates that the fsetpos routine is
208 * available to set the file position indicator, similar to fseek().
210 #define HAS_FSETPOS /**/
213 * This symbol, if defined, indicates that the gettimeofday() system
214 * call is available for a sub-second accuracy clock. Usually, the file
215 * <sys/resource.h> needs to be included (see I_SYS_RESOURCE).
216 * The type "Timeval" should be used to refer to "struct timeval".
218 /*#define HAS_GETTIMEOFDAY / **/
219 #ifdef HAS_GETTIMEOFDAY
220 #define Timeval struct timeval /* Structure used by gettimeofday() */
224 * This symbol, if defined, indicates that the getgroups() routine is
225 * available to get the list of process groups. If unavailable, multiple
226 * groups are probably not supported.
228 /*#define HAS_GETGROUPS /**/
231 * This symbol, if defined, indicates that the C program may use the
232 * uname() routine to derive the host name. See also HAS_GETHOSTNAME
235 #define HAS_UNAME /**/
238 * This symbol, if defined, indicates that the getlogin routine is
239 * available to get the login name.
241 #define HAS_GETLOGIN /**/
244 * This symbol, if defined, indicates to the C program that
245 * the getpgid(pid) function is available to get the
248 /*#define HAS_GETPGID /**/
251 * This symbol, if defined, indicates that the getpgrp routine is
252 * available to get the current process group.
255 * This symbol, if defined, indicates that getpgrp needs one
256 * arguments whereas USG one needs none.
258 /*#define HAS_GETPGRP /**/
259 /*#define USE_BSD_GETPGRP / **/
262 * This symbol, if defined, indicates that the getpgrp2() (as in DG/UX)
263 * routine is available to get the current process group.
265 /*#define HAS_GETPGRP2 / **/
268 * This symbol, if defined, indicates that the getppid routine is
269 * available to get the parent process ID.
271 #define HAS_GETPPID /**/
274 * This symbol, if defined, indicates that the getpriority routine is
275 * available to get a process's priority.
277 /*#define HAS_GETPRIORITY /**/
280 * This symbol, if defined, indicates that the htonl() routine (and
281 * friends htons() ntohl() ntohs()) are available to do network
282 * order byte swapping.
285 * This symbol, if defined, indicates that the htons() routine (and
286 * friends htonl() ntohl() ntohs()) are available to do network
287 * order byte swapping.
290 * This symbol, if defined, indicates that the ntohl() routine (and
291 * friends htonl() htons() ntohs()) are available to do network
292 * order byte swapping.
295 * This symbol, if defined, indicates that the ntohs() routine (and
296 * friends htonl() htons() ntohl()) are available to do network
297 * order byte swapping.
299 #define HAS_HTONL /**/
300 #define HAS_HTONS /**/
301 #define HAS_NTOHL /**/
302 #define HAS_NTOHS /**/
305 * This symbol, if defined, indicates to the C program that the
306 * inet_aton() function is available to parse IP address "dotted-quad"
309 /*#define HAS_INET_ATON /**/ /* PG: WE HAVE OTHERS, NOT THIS ONE. */
312 * This symbol, if defined, indicates that the killpg routine is available
313 * to kill process groups. If unavailable, you probably should use kill
314 * with a negative process number.
316 /*#define HAS_KILLPG /**/
319 * This symbol, if defined, indicates that the link routine is
320 * available to create hard links.
322 /*#define HAS_LINK /**/
325 * This symbol, if defined, indicates that the localeconv routine is
326 * available for numeric and monetary formatting conventions.
328 #define HAS_LOCALECONV /**/
331 * This symbol, if defined, indicates that the lockf routine is
332 * available to do file locking.
334 #define HAS_LOCKF /**/
337 * This symbol, if defined, indicates that the lstat routine is
338 * available to do file stats on symbolic links.
340 #define HAS_LSTAT /**/
343 * This symbol, if defined, indicates that the mblen routine is available
344 * to find the number of bytes in a multibye character.
346 #define HAS_MBLEN /**/
349 * This symbol, if defined, indicates that the mbstowcs routine is
350 * available to covert a multibyte string into a wide character string.
352 #define HAS_MBSTOWCS /**/
355 * This symbol, if defined, indicates that the mbtowc routine is available
356 * to covert a multibyte to a wide character.
358 #define HAS_MBTOWC /**/
361 * This symbol, if defined, indicates that the memcmp routine is available
362 * to compare blocks of memory.
364 #define HAS_MEMCMP /**/
367 * This symbol, if defined, indicates that the memcpy routine is available
368 * to copy blocks of memory.
370 #define HAS_MEMCPY /**/
373 * This symbol, if defined, indicates that the memmove routine is available
374 * to copy potentially overlapping blocks of memory. This should be used
375 * only when HAS_SAFE_BCOPY is not defined. If neither is there, roll your
378 #define HAS_MEMMOVE /**/
381 * This symbol, if defined, indicates that the memset routine is available
382 * to set blocks of memory.
384 #define HAS_MEMSET /**/
387 * This symbol, if defined, indicates that the mkdir routine is available
388 * to create directories. Otherwise you should fork off a new process to
391 #define HAS_MKDIR /**/
394 * This symbol, if defined, indicates that the mkfifo routine is
395 * available to create FIFOs. Otherwise, mknod should be able to
396 * do it for you. However, if mkfifo is there, mknod might require
397 * super-user privileges which mkfifo will not.
399 #define HAS_MKFIFO /**/
402 * This symbol, if defined, indicates that the mktime routine is
405 #define HAS_MKTIME /**/
408 * This symbol, if defined, indicates that the entire msg*(2) library is
409 * supported (IPC mechanism based on message queues).
411 /*#define HAS_MSG /**/
414 * This symbol, if defined, indicates that the nice routine is
417 /*#define HAS_NICE /**/
420 * This symbol, if defined, indicates that pathconf() is available
421 * to determine file-system related limits and options associated
422 * with a given filename.
425 * This symbol, if defined, indicates that pathconf() is available
426 * to determine file-system related limits and options associated
427 * with a given open file descriptor.
429 #define HAS_PATHCONF /**/
430 #define HAS_FPATHCONF /**/
433 * This symbol, if defined, indicates that the pause routine is
434 * available to suspend a process until a signal is received.
436 /*#define HAS_PAUSE /**/
439 * This symbol, if defined, indicates that the pipe routine is
440 * available to create an inter-process channel.
442 #define HAS_PIPE /**/
445 * This symbol, if defined, indicates that the poll routine is
446 * available to poll active file descriptors. You may safely
447 * include <poll.h> when this symbol is defined.
449 #define HAS_POLL /**/
452 * This symbol, if defined, indicates that the readdir routine is
453 * available to read directory entries. You may have to include
454 * <dirent.h>. See I_DIRENT.
456 #define HAS_READDIR /**/
459 * This symbol, if defined, indicates that the seekdir routine is
460 * available. You may have to include <dirent.h>. See I_DIRENT.
462 /*#define HAS_SEEKDIR /**/
465 * This symbol, if defined, indicates that the telldir routine is
466 * available. You may have to include <dirent.h>. See I_DIRENT.
468 /*#define HAS_TELLDIR /**/
471 * This symbol, if defined, indicates that the rewinddir routine is
472 * available. You may have to include <dirent.h>. See I_DIRENT.
474 #define HAS_REWINDDIR /**/
477 * This symbol, if defined, indicates that the readlink routine is
478 * available to read the value of a symbolic link.
480 #define HAS_READLINK /**/
483 * This symbol, if defined, indicates that the rename routine is available
484 * to rename files. Otherwise you should do the unlink(), link(), unlink()
487 #define HAS_RENAME /**/
490 * This symbol, if defined, indicates that the rmdir routine is
491 * available to remove directories. Otherwise you should fork off a
492 * new process to exec /bin/rmdir.
494 #define HAS_RMDIR /**/
497 * This symbol, if defined, indicates that the select routine is
498 * available to select active file descriptors. If the timeout field
499 * is used, <sys/time.h> may need to be included.
501 #define HAS_SELECT /**/
504 * This symbol, if defined, indicates that the entire sem*(2) library is
507 /*#define HAS_SEM /**/
510 * This symbol, if defined, indicates that the setegid routine is available
511 * to change the effective gid of the current program.
513 /*#define HAS_SETEGID /**/
516 * This symbol, if defined, indicates that the seteuid routine is available
517 * to change the effective uid of the current program.
519 /*#define HAS_SETEUID /**/
522 * This symbol, if defined, indicates that the setlinebuf routine is
523 * available to change stderr or stdout from block-buffered or unbuffered
524 * to a line-buffered mode.
526 /*#define HAS_SETLINEBUF /**/
529 * This symbol, if defined, indicates that the setlocale routine is
530 * available to handle locale-specific ctype implementations.
532 #define HAS_SETLOCALE /**/
535 * This symbol, if defined, indicates that the setpgid(pid, gpid)
536 * routine is available to set process group ID.
538 /*#define HAS_SETPGID /**/
541 * This symbol, if defined, indicates that the setpgrp routine is
542 * available to set the current process group.
545 * This symbol, if defined, indicates that setpgrp needs two
546 * arguments whereas USG one needs none. See also HAS_SETPGID
547 * for a POSIX interface.
549 /*#define HAS_SETPGRP /**/
550 /*#define USE_BSD_SETPGRP / **/
553 * This symbol, if defined, indicates that the setpgrp2() (as in DG/UX)
554 * routine is available to set the current process group.
556 /*#define HAS_SETPGRP2 / **/
559 * This symbol, if defined, indicates that the setpriority routine is
560 * available to set a process's priority.
562 /*#define HAS_SETPRIORITY /**/
565 * This symbol, if defined, indicates that the setregid routine is
566 * available to change the real and effective gid of the current
570 * This symbol, if defined, indicates that the setresgid routine is
571 * available to change the real, effective and saved gid of the current
574 /*#define HAS_SETREGID /**/
575 /*#define HAS_SETRESGID / **/
578 * This symbol, if defined, indicates that the setreuid routine is
579 * available to change the real and effective uid of the current
583 * This symbol, if defined, indicates that the setresuid routine is
584 * available to change the real, effective and saved uid of the current
587 /*#define HAS_SETREUID /**/
588 /*#define HAS_SETRESUID / **/
591 * This symbol, if defined, indicates that the setrgid routine is available
592 * to change the real gid of the current program.
594 /*#define HAS_SETRGID / **/
597 * This symbol, if defined, indicates that the setruid routine is available
598 * to change the real uid of the current program.
600 /*#define HAS_SETRUID / **/
603 * This symbol, if defined, indicates that the setsid routine is
604 * available to set the process group ID.
606 /*#define HAS_SETSID /**/
609 * This symbol, if defined, indicates that the entire shm*(2) library is
612 /*#define HAS_SHM /**/
615 * This symbol holds the return type of the shmat() system call.
616 * Usually set to 'void *' or 'char *'.
618 /* HAS_SHMAT_PROTOTYPE:
619 * This symbol, if defined, indicates that the sys/shm.h includes
620 * a prototype for shmat(). Otherwise, it is up to the program to
621 * guess one. Shmat_t shmat _((int, Shmat_t, int)) is a good guess,
622 * but not always right so it should be emitted by the program only
623 * when HAS_SHMAT_PROTOTYPE is not defined to avoid conflicting defs.
625 #define Shmat_t void * /**/
626 #define HAS_SHMAT_PROTOTYPE /**/
629 * This symbol is defined if this system has a stat structure declaring
630 * st_blksize and st_blocks.
632 /*#define USE_STAT_BLOCKS /**/
635 * This symbol is defined to indicate that the strchr()/strrchr()
636 * functions are available for string searching. If not, try the
637 * index()/rindex() pair.
640 * This symbol is defined to indicate that the index()/rindex()
641 * functions are available for string searching.
643 #define HAS_STRCHR /**/
644 /*#define HAS_INDEX / **/
647 * This symbol, if defined, indicates that the strcoll routine is
648 * available to compare strings using collating information.
650 #define HAS_STRCOLL /**/
653 * This symbol, if defined, indicates that this C compiler knows how
654 * to copy structures. If undefined, you'll need to use a block copy
655 * routine of some sort instead.
657 #define USE_STRUCT_COPY /**/
660 * This symbol, if defined, indicates that the strerror routine is
661 * available to translate error numbers to strings. See the writeup
662 * of Strerror() in this file before you try to define your own.
665 * This symbol, if defined, indicates that the sys_errlist array is
666 * available to translate error numbers to strings. The extern int
667 * sys_nerr gives the size of that table.
670 * This preprocessor symbol is defined as a macro if strerror() is
671 * not available to translate error numbers to strings but sys_errlist[]
674 #define HAS_STRERROR /**/
675 #define HAS_SYS_ERRLIST /**/
676 #define Strerror(e) strerror(e)
679 * This symbol, if defined, indicates that the strtod routine is
680 * available to provide better numeric string conversion than atof().
682 #define HAS_STRTOD /**/
685 * This symbol, if defined, indicates that the strtol routine is available
686 * to provide better numeric string conversion than atoi() and friends.
688 #define HAS_STRTOL /**/
691 * This symbol, if defined, indicates that the strtoul routine is
692 * available to provide conversion of strings to unsigned long.
694 #define HAS_STRTOUL /**/
697 * This symbol, if defined, indicates that the strxfrm() routine is
698 * available to transform strings.
700 #define HAS_STRXFRM /**/
703 * This symbol, if defined, indicates that the symlink routine is available
704 * to create symbolic links.
706 #define HAS_SYMLINK /**/
709 * This symbol, if defined, indicates that the syscall routine is
710 * available to call arbitrary system calls. If undefined, that's tough.
712 /*#define HAS_SYSCALL /**/
715 * This symbol, if defined, indicates that sysconf() is available
716 * to determine system related limits and options.
718 #define HAS_SYSCONF /**/
721 * This symbol, if defined, indicates that the system routine is
722 * available to issue a shell command.
724 #define HAS_SYSTEM /**/
727 * This symbol, if defined, indicates that the tcgetpgrp routine is
728 * available to get foreground process group ID.
730 /*#define HAS_TCGETPGRP /**/
733 * This symbol, if defined, indicates that the tcsetpgrp routine is
734 * available to set foreground process group ID.
736 /*#define HAS_TCSETPGRP /**/
739 * This symbol, if defined, indicates that the truncate routine is
740 * available to truncate files.
742 /*#define HAS_TRUNCATE /**/
745 * This symbol, if defined, indicates that the tzname[] array is
746 * available to access timezone names.
748 /*#define HAS_TZNAME /**/
751 * This symbol, if defined, indicates that the umask routine is
752 * available to set and get the value of the file creation mask.
754 #define HAS_UMASK /**/
757 * This symbol, if defined, indicates that vfork() exists.
759 /*#define HAS_VFORK / **/
762 * This symbol, if defined, indicates that this C compiler knows about
763 * the volatile declaration.
765 #define HASVOLATILE /**/
771 * This symbol, if defined, indicates that wait4() exists.
773 /*#define HAS_WAIT4 /**/
776 * This symbol, if defined, indicates that the waitpid routine is
777 * available to wait for child process.
779 #define HAS_WAITPID /**/
782 * This symbol, if defined, indicates that the wcstombs routine is
783 * available to convert wide character strings to multibyte strings.
785 #define HAS_WCSTOMBS /**/
788 * This symbol, if defined, indicates that the wctomb routine is available
789 * to covert a wide character to a multibyte.
791 #define HAS_WCTOMB /**/
794 * This symbol, if defined, indicates that this system uses
797 /*#define EBCDIC /**/
800 * This symbol, if defined, indicates that <arpa/inet.h> exists and should
803 /*#define I_ARPA_INET /**/
806 * This symbol, if defined, indicates that <dbm.h> exists and should
810 * This symbol, if defined, indicates that <rpcsvc/dbm.h> exists and
811 * should be included.
814 /*#define I_RPCSVC_DBM /**/
817 * This symbol, if defined, indicates to the C program that it should
818 * include <dirent.h>. Using this symbol also triggers the definition
819 * of the Direntry_t define which ends up being 'struct dirent' or
820 * 'struct direct' depending on the availability of <dirent.h>.
823 * This symbol, if defined, indicates to the C program that the length
824 * of directory entry names is provided by a d_namlen field. Otherwise
825 * you need to do strlen() on the d_name field.
828 * This symbol is set to 'struct direct' or 'struct dirent' depending on
829 * whether dirent is available or not. You should use this pseudo type to
830 * portably declare your directory entries.
832 #define I_DIRENT /**/
833 /*#define DIRNAMLEN / **/
834 #define Direntry_t struct dirent
837 * This symbol, if defined, indicates that <dlfcn.h> exists and should
840 /*#define I_DLFCN /**/
843 * This manifest constant tells the C program to include <fcntl.h>.
848 * This symbol, if defined, indicates to the C program that it should
849 * include <float.h> to get definition of symbols like DBL_MAX or
850 * DBL_MIN, i.e. machine dependent floating point values.
855 * This symbol, if defined, indicates to the C program that it should
859 * This symbol, if defined, indicates to the C program that struct group
860 * contains gr_passwd.
863 * This symbol, if defined, indicates that the getgrent routine is
864 * available for initializing sequential access of the group database.
867 * This symbol, if defined, indicates that the getgrent routine is
868 * available for sequential access of the group database.
871 * This symbol, if defined, indicates that the getgrent routine is
872 * available for finalizing sequential access of the group database.
875 /*#define GRPASSWD /**/
876 /*#define HAS_SETGRENT /**/
877 /*#define HAS_GETGRENT /**/
878 /*#define HAS_ENDGRENT /**/
881 * This symbol, if defined, indicates to the C program that it should
882 * include <limits.h> to get definition of symbols like WORD_BIT or
883 * LONG_MAX, i.e. machine dependant limitations.
885 #define I_LIMITS /**/
888 * This symbol, if defined, indicates to the C program that it should
889 * include <locale.h>.
891 #define I_LOCALE /**/
894 * This symbol, if defined, indicates to the C program that it should
900 * This symbol, if defined, indicates to the C program that it should
901 * include <memory.h>.
903 /*#define I_MEMORY / **/
906 * This symbol, if defined, indicates that <ndbm.h> exists and should
909 /*#define I_NDBM /**/
912 * This symbol, if defined, indicates that <net/errno.h> exists and
913 * should be included.
915 /*#define I_NET_ERRNO / **/
918 * This symbol, if defined, indicates to the C program that it should
919 * include <netinet/in.h>. Otherwise, you may try <sys/in.h>.
921 /*#define I_NETINET_IN /**/ /* PG: just "in.h" on VOS */
924 * This symbol, if defined, indicates to the C program that it should
927 /*#define I_SFIO / **/
930 * This symbol, if defined, indicates that <stddef.h> exists and should
933 #define I_STDDEF /**/
936 * This symbol, if defined, indicates that <stdlib.h> exists and should
939 #define I_STDLIB /**/
942 * This symbol, if defined, indicates to the C program that it should
943 * include <string.h> (USG systems) instead of <strings.h> (BSD systems).
945 #define I_STRING /**/
948 * This symbol, if defined, indicates to the C program that it should
949 * include <sys/dir.h>.
951 /*#define I_SYS_DIR / **/
954 * This symbol, if defined, indicates to the C program that it should
955 * include <sys/file.h> to get definition of R_OK and friends.
957 /*#define I_SYS_FILE / **/
960 * This symbol, if defined, indicates that <sys/ioctl.h> exists and should
961 * be included. Otherwise, include <sgtty.h> or <termio.h>.
963 #define I_SYS_IOCTL /**/ /* PG: just ioctl.h */
966 * This symbol, if defined, indicates to the C program that it should
967 * include <sys/ndir.h>.
969 /*#define I_SYS_NDIR / **/
972 * This symbol, if defined, indicates to the C program that it should
973 * include <sys/param.h>.
975 /*#define I_SYS_PARAM /**/
978 * This symbol, if defined, indicates to the C program that it should
979 * include <sys/resource.h>.
981 /*#define I_SYS_RESOURCE /**/
984 * This symbol, if defined, indicates to the C program that it should
985 * include <sys/select.h> in order to get definition of struct timeval.
987 /*#define I_SYS_SELECT /**/
990 * This symbol, if defined, indicates to the C program that it should
991 * include <sys/stat.h>.
993 #define I_SYS_STAT /**/
996 * This symbol, if defined, indicates to the C program that it should
997 * include <sys/times.h>.
999 #define I_SYS_TIMES /**/
1002 * This symbol, if defined, indicates to the C program that it should
1003 * include <sys/types.h>.
1005 #define I_SYS_TYPES /**/
1008 * This symbol, if defined, indicates to the C program that it should
1009 * include <sys/un.h> to get UNIX domain socket definitions.
1011 /*#define I_SYS_UN /**/
1014 * This symbol, if defined, indicates to the C program that it should
1015 * include <sys/wait.h>.
1017 #define I_SYS_WAIT /**/
1020 * This symbol, if defined, indicates that the program should include
1021 * <termio.h> rather than <sgtty.h>. There are also differences in
1022 * the ioctl() calls that depend on the value of this symbol.
1025 * This symbol, if defined, indicates that the program should include
1026 * the POSIX termios.h rather than sgtty.h or termio.h.
1027 * There are also differences in the ioctl() calls that depend on the
1028 * value of this symbol.
1031 * This symbol, if defined, indicates that the program should include
1032 * <sgtty.h> rather than <termio.h>. There are also differences in
1033 * the ioctl() calls that depend on the value of this symbol.
1035 /*#define I_TERMIO / **/
1036 /*#define I_TERMIOS /**/ /* PG: PREFERED, NOT THERE YET */
1037 /*#define I_SGTTY / **/
1040 * This symbol, if defined, indicates to the C program that it should
1041 * include <unistd.h>.
1043 #define I_UNISTD /**/
1046 * This symbol, if defined, indicates to the C program that it should
1047 * include <utime.h>.
1049 #define I_UTIME /**/
1052 * This symbol, if defined, indicates to the C program that it should
1053 * include <values.h> to get definition of symbols like MINFLOAT or
1054 * MAXLONG, i.e. machine dependant limitations. Probably, you
1055 * should use <limits.h> instead, if it is available.
1057 #define I_VALUES /**/
1060 * This symbol, if defined, indicates that <stdarg.h> exists and should
1064 * This symbol, if defined, indicates to the C program that it should
1065 * include <varargs.h>.
1067 #define I_STDARG /**/
1068 /*#define I_VARARGS / **/
1071 * This symbol, if defined, indicates to the C program that it should
1074 /*#define I_VFORK / **/
1077 * If defined, this macro indicates that the C compiler can handle
1078 * function prototypes.
1081 * This macro is used to declare function parameters for folks who want
1082 * to make declarations with prototypes using a different style than
1083 * the above macros. Use double parentheses. For example:
1085 * int main _((int argc, char *argv[]));
1087 #define CAN_PROTOTYPE /**/
1088 #ifdef CAN_PROTOTYPE
1089 #define _(args) args
1095 * This symbol contains the full pathname to the shell used on this
1096 * on this system to execute Bourne shell scripts. Usually, this will be
1097 * /bin/sh, though it's possible that some systems will have /bin/ksh,
1098 * /bin/pdksh, /bin/ash, /bin/bash, or even something such as
1101 #define SH_PATH "/bin/sh" /**/
1104 * This symbol is defined to be the type of char used in stdio.h.
1105 * It has the values "unsigned char" or "char".
1107 #define STDCHAR unsigned char /**/
1110 * This symbol contains the number of bytes required to align a
1111 * double. Usual values are 2, 4 and 8.
1112 * On NeXT starting with 3.2, you can build "Fat" Multiple Architecture
1113 * Binaries (MAB) for targets with varying alignment. This only matters
1114 * for perl, where the config.h can be generated and installed on one
1115 * system, and used by a different architecture to build an extension.
1116 * The default is eight, for safety.
1118 #define MEM_ALIGNBYTES 8 /**/
1121 * This symbol holds the hexadecimal constant defined in byteorder,
1122 * i.e. 0x1234 or 0x4321, etc...
1123 * On NeXT 3.2 (and greater), you can build "Fat" Multiple Architecture
1124 * Binaries (MAB) on either big endian or little endian machines.
1125 * The endian-ness is available at compile-time. This only matters
1126 * for perl, where the config.h can be generated and installed on
1127 * one system, and used by a different architecture to build an
1128 * extension. Older versions of NeXT that might not have
1129 * defined either *_ENDIAN__ were all on Motorola 680x0 series,
1130 * so the default case (for NeXT) is big endian to catch them.
1131 * This might matter for NeXT 3.0.
1134 #define BYTEORDER 0x1234 /* large digits for MSB */
1136 #ifdef __LITTLE_ENDIAN__
1137 #define BYTEORDER 0x1234
1138 #else /* __BIG_ENDIAN__ */
1139 #define BYTEORDER 0x4321
1140 #endif /* ENDIAN CHECK */
1144 * This symbol is defined if the C compiler can cast negative
1145 * or large floating point numbers to 32-bit ints.
1147 #define CASTI32 /**/
1150 * This symbol is defined if the C compiler can cast negative
1151 * numbers to unsigned longs, ints and shorts.
1154 * This symbol contains flags that say what difficulties the compiler
1155 * has casting odd floating values to unsigned long:
1157 * 1 = couldn't cast < 0
1158 * 2 = couldn't cast >= 0x80000000
1159 * 4 = couldn't cast in argument expression list
1161 #define CASTNEGFLOAT /**/
1162 #define CASTFLAGS 0 /**/
1165 * This symbol, if defined, indicates that the closedir() routine
1166 * does not return a value.
1168 /*#define VOID_CLOSEDIR / **/
1171 * This preprocessor macro is defined to convert a floating point
1172 * number to a string without a trailing decimal point. This
1173 * emulates the behavior of sprintf("%g"), but is sometimes much more
1174 * efficient. If gconvert() is not available, but gcvt() drops the
1175 * trailing decimal point, then gcvt() is used. If all else fails,
1176 * a macro using sprintf("%g") is used. Arguments for the Gconvert
1177 * macro are: value, number of digits, whether trailing zeros should
1178 * be retained, and the output buffer.
1179 * Possible values are:
1180 * d_Gconvert='gconvert((x),(n),(t),(b))'
1181 * d_Gconvert='gcvt((x),(n),(b))'
1182 * d_Gconvert='sprintf((b),"%.*g",(n),(x))'
1183 * The last two assume trailing zeros should not be kept.
1185 #define Gconvert(x,n,t,b) sprintf((b),"%.*g",(n),(x))
1188 * This symbol, if defined, indicates to the C program that
1189 * the GNU C library is being used.
1191 /*#define HAS_GNULIBC /**/
1193 * This manifest constant lets the C program know that isascii
1196 #define HAS_ISASCII /**/
1199 * This symbol, if defined, indicates that the lchown routine is
1200 * available to operate on a symbolic link (instead of following the
1203 /*#define HAS_LCHOWN /**/
1206 * This manifest constant lets the C program know that the three
1207 * argument form of open(2) is available.
1209 #define HAS_OPEN3 /**/
1212 * This symbol, if defined, indicates that the bcopy routine is available
1213 * to copy potentially overlapping memory blocks. Otherwise you should
1214 * probably use memmove() or memcpy(). If neither is defined, roll your
1217 /*#define HAS_SAFE_BCOPY /**/ /* PG: VOS has bcopy; do not know if it is safe. */
1220 * This symbol, if defined, indicates that the memcpy routine is available
1221 * to copy potentially overlapping memory blocks. Otherwise you should
1222 * probably use memmove() or memcpy(). If neither is defined, roll your
1225 /*#define HAS_SAFE_MEMCPY / **/
1228 * This symbol, if defined, indicates that the memcmp routine is available
1229 * and can be used to compare relative magnitudes of chars with their high
1230 * bits set. If it is not defined, roll your own version.
1232 #define HAS_SANE_MEMCMP / **/ /* PG: VOS GUESS */
1235 * This symbol, if defined, indicates that Vr4's sigaction() routine
1238 /*#define HAS_SIGACTION /**/
1241 * This is the buffer type to be used with Sigsetjmp and Siglongjmp.
1244 * This macro is used in the same way as sigsetjmp(), but will invoke
1245 * traditional setjmp() if sigsetjmp isn't available.
1246 * See HAS_SIGSETJMP.
1249 * This macro is used in the same way as siglongjmp(), but will invoke
1250 * traditional longjmp() if siglongjmp isn't available.
1251 * See HAS_SIGSETJMP.
1253 /*#define HAS_SIGSETJMP /**/
1254 #ifdef HAS_SIGSETJMP
1255 #define Sigjmp_buf sigjmp_buf
1256 #define Sigsetjmp(buf,save_mask) sigsetjmp((buf),(save_mask))
1257 #define Siglongjmp(buf,retval) siglongjmp((buf),(retval))
1259 #define Sigjmp_buf jmp_buf
1260 #define Sigsetjmp(buf,save_mask) setjmp((buf))
1261 #define Siglongjmp(buf,retval) longjmp((buf),(retval))
1265 * This symbol is defined if the _ptr and _cnt fields (or similar)
1266 * of the stdio FILE structure can be used to access the stdio buffer
1267 * for a file handle. If this is defined, then the FILE_ptr(fp)
1268 * and FILE_cnt(fp) macros will also be defined and should be used
1269 * to access these fields.
1272 * This macro is used to access the _ptr field (or equivalent) of the
1273 * FILE structure pointed to by its argument. This macro will always be
1274 * defined if USE_STDIO_PTR is defined.
1276 /* STDIO_PTR_LVALUE:
1277 * This symbol is defined if the FILE_ptr macro can be used as an
1281 * This macro is used to access the _cnt field (or equivalent) of the
1282 * FILE structure pointed to by its argument. This macro will always be
1283 * defined if USE_STDIO_PTR is defined.
1285 /* STDIO_CNT_LVALUE:
1286 * This symbol is defined if the FILE_cnt macro can be used as an
1289 #define USE_STDIO_PTR /**/
1290 #ifdef USE_STDIO_PTR
1291 #define FILE_ptr(fp) ((fp)->_ptr)
1292 #define STDIO_PTR_LVALUE /**/
1293 #define FILE_cnt(fp) ((fp)->_cnt)
1294 #define STDIO_CNT_LVALUE /**/
1298 * This symbol is defined if the _base field (or similar) of the
1299 * stdio FILE structure can be used to access the stdio buffer for
1300 * a file handle. If this is defined, then the FILE_base(fp) macro
1301 * will also be defined and should be used to access this field.
1302 * Also, the FILE_bufsiz(fp) macro will be defined and should be used
1303 * to determine the number of bytes in the buffer. USE_STDIO_BASE
1304 * will never be defined unless USE_STDIO_PTR is.
1307 * This macro is used to access the _base field (or equivalent) of the
1308 * FILE structure pointed to by its argument. This macro will always be
1309 * defined if USE_STDIO_BASE is defined.
1312 * This macro is used to determine the number of bytes in the I/O
1313 * buffer pointed to by _base field (or equivalent) of the FILE
1314 * structure pointed to its argument. This macro will always be defined
1315 * if USE_STDIO_BASE is defined.
1317 #define USE_STDIO_BASE /**/
1318 #ifdef USE_STDIO_BASE
1319 #define FILE_base(fp) ((fp)->_base)
1320 #define FILE_bufsiz(fp) ((fp)->_cnt + (fp)->_ptr - (fp)->_base)
1324 * This symbol, if defined, indicates that the vprintf routine is available
1325 * to printf with a pointer to an argument list. If unavailable, you
1326 * may need to write your own, probably in terms of _doprnt().
1328 /* USE_CHAR_VSPRINTF:
1329 * This symbol is defined if this system has vsprintf() returning type
1330 * (char*). The trend seems to be to declare it as "int vsprintf()". It
1331 * is up to the package author to declare vsprintf correctly based on the
1334 #define HAS_VPRINTF /**/
1335 /*#define USE_CHAR_VSPRINTF / **/
1338 * This symbol contains the size of a double, so that the C preprocessor
1339 * can make decisions based on it.
1341 #define DOUBLESIZE 8 /**/
1344 * This symbol, if defined, indicates to the C program that it should
1348 * This symbol, if defined, indicates to the C program that it should
1349 * include <sys/time.h>.
1351 /* I_SYS_TIME_KERNEL:
1352 * This symbol, if defined, indicates to the C program that it should
1353 * include <sys/time.h> with KERNEL defined.
1355 /*#define I_TIME / **/
1356 #define I_SYS_TIME /**/
1357 /*#define I_SYS_TIME_KERNEL / **/
1360 * This symbol contains the value of sizeof(int) so that the C
1361 * preprocessor can make decisions based on it.
1364 * This symbol contains the value of sizeof(long) so that the C
1365 * preprocessor can make decisions based on it.
1368 * This symbol contains the value of sizeof(short) so that the C
1369 * preprocessor can make decisions based on it.
1371 #define INTSIZE 4 /**/
1372 #define LONGSIZE 4 /**/
1373 #define SHORTSIZE 2 /**/
1376 * This symbol is to be used during open() or fcntl(F_SETFL) to turn on
1377 * non-blocking I/O for the file descriptor. Note that there is no way
1378 * back, i.e. you cannot turn it blocking again this way. If you wish to
1379 * alternatively switch between blocking and non-blocking, use the
1380 * ioctl(FIOSNBIO) call instead, but that is not supported by all devices.
1383 * This symbol holds the errno error code set by read() when no data was
1384 * present on the non-blocking file descriptor.
1387 * This symbol holds the return code from read() when no data is present
1388 * on the non-blocking file descriptor. Be careful! If EOF_NONBLOCK is
1389 * not defined, then you can't distinguish between no data and EOF by
1390 * issuing a read(). You'll have to find another way to tell for sure!
1393 * This symbol, if defined, indicates to the C program that a read() on
1394 * a non-blocking file descriptor will return 0 on EOF, and not the value
1395 * held in RD_NODATA (-1 usually, in that case!).
1397 #define VAL_O_NONBLOCK O_NONBLOCK
1398 #define VAL_EAGAIN EAGAIN
1399 #define RD_NODATA -1
1400 #define EOF_NONBLOCK
1403 * This symbol contains the size of a pointer, so that the C preprocessor
1404 * can make decisions based on it. It will be sizeof(void *) if
1405 * the compiler supports (void *); otherwise it will be
1408 #define PTRSIZE 4 /**/
1411 * This symbol contains the number of bits of random number the rand()
1412 * function produces. Usual values are 15, 16, and 31.
1414 #define RANDBITS 15 /**/
1417 * This symbol holds the type used by functions that return
1418 * a count of bytes or an error condition. It must be a signed type.
1419 * It is usually ssize_t, but may be long or int, etc.
1420 * It may be necessary to include <sys/types.h> or <unistd.h>
1421 * to get any typedef'ed information.
1422 * We will pick a type such that sizeof(SSize_t) == sizeof(Size_t).
1424 #define SSize_t ssize_t /* signed count of bytes */
1427 * This symbol contains the name of the operating system, as determined
1428 * by Configure. You shouldn't rely on it too much; the specific
1429 * feature tests from Configure are generally more reliable.
1431 #define OSNAME "VOS" /**/
1434 * This macro catenates 2 tokens together.
1437 * This macro surrounds its token with double quotes.
1440 #define CAT2(a,b)a/**/b
1441 #define STRINGIFY(a)"a"
1442 /* If you can get stringification with catify, tell me how! */
1445 #define CAT2(a,b)a ## b
1446 #define StGiFy(a)# a
1447 #define STRINGIFY(a)StGiFy(a)
1449 #if 42 != 1 && 42 != 42
1450 #include "Bletch: How does this C preprocessor catenate tokens?"
1454 * This symbol, if defined, contains the full pathname of csh.
1456 /*#define HAS_CSH /**/
1458 /*#define CSH "/bin/csh" /**/
1462 * This symbol, if defined, indicates that the endhostent() routine is
1463 * available to close whatever was being used for host queries.
1465 /*#define HAS_ENDHOSTENT /**/
1468 * This symbol, if defined, indicates that the endnetent() routine is
1469 * available to close whatever was being used for network queries.
1471 /*#define HAS_ENDNETENT /**/
1474 * This symbol, if defined, indicates that the endprotoent() routine is
1475 * available to close whatever was being used for protocol queries.
1477 /*#define HAS_ENDPROTOENT /**/
1480 * This symbol, if defined, indicates that the endservent() routine is
1481 * available to close whatever was being used for service queries.
1483 /*#define HAS_ENDSERVENT /**/
1485 /* HAS_GETHOSTBYADDR:
1486 * This symbol, if defined, indicates that the gethostbyaddr() routine is
1487 * available to look up hosts by their IP addresses.
1489 #define HAS_GETHOSTBYADDR /**/
1491 /* HAS_GETHOSTBYNAME:
1492 * This symbol, if defined, indicates that the gethostbyname() routine is
1493 * available to look up host names in some data base or other.
1495 #define HAS_GETHOSTBYNAME /**/
1498 * This symbol, if defined, indicates that the gethostent() routine is
1499 * available to look up host names in some data base or another.
1501 #define HAS_GETHOSTENT /**/
1503 /* HAS_GETNETBYADDR:
1504 * This symbol, if defined, indicates that the getnetbyaddr() routine is
1505 * available to look up networks by their IP addresses.
1507 #define HAS_GETNETBYADDR /**/
1509 /* HAS_GETNETBYNAME:
1510 * This symbol, if defined, indicates that the getnetbyname() routine is
1511 * available to look up networks by their names.
1513 #define HAS_GETNETBYNAME /**/
1516 * This symbol, if defined, indicates that the getnetent() routine is
1517 * available to look up network names in some data base or another.
1519 #define HAS_GETNETENT /**/
1522 * This symbol, if defined, indicates that the getprotoent() routine is
1523 * available to look up protocols in some data base or another.
1525 #define HAS_GETPROTOENT /**/
1527 /* HAS_GETPROTOBYNAME:
1528 * This symbol, if defined, indicates that the getprotobyname()
1529 * routine is available to look up protocols by their name.
1531 /* HAS_GETPROTOBYNUMBER:
1532 * This symbol, if defined, indicates that the getprotobynumber()
1533 * routine is available to look up protocols by their number.
1535 #define HAS_GETPROTOBYNAME /**/
1536 #define HAS_GETPROTOBYNUMBER /**/
1539 * This symbol, if defined, indicates that the getservent() routine is
1540 * available to look up network services in some data base or another.
1542 #define HAS_GETSERVENT /**/
1544 /* HAS_GETSERVBYNAME:
1545 * This symbol, if defined, indicates that the getservbyname()
1546 * routine is available to look up services by their name.
1548 /* HAS_GETSERVBYPORT:
1549 * This symbol, if defined, indicates that the getservbyport()
1550 * routine is available to look up services by their port.
1552 #define HAS_GETSERVBYNAME /**/
1553 #define HAS_GETSERVBYPORT /**/
1556 * This symbol will be defined if the C compiler supports long
1560 * This symbol contains the size of a long double, so that the
1561 * C preprocessor can make decisions based on it. It is only
1562 * defined if the system supports long doubles.
1564 #define HAS_LONG_DOUBLE /**/
1565 #ifdef HAS_LONG_DOUBLE
1566 #define LONG_DOUBLESIZE 8 /**/
1570 * This symbol will be defined if the C compiler supports
1574 * This symbol contains the size of a long long, so that the
1575 * C preprocessor can make decisions based on it. It is only
1576 * defined if the system supports long long.
1578 /*#define HAS_LONG_LONG /**/
1579 #ifdef HAS_LONG_LONG
1580 /*#define LONGLONGSIZE $longlongsize /**/
1584 * This symbol, if defined, indicates that the setgroups() routine is
1585 * available to set the list of process groups. If unavailable, multiple
1586 * groups are probably not supported.
1588 /*#define HAS_SETGROUPS /**/
1591 * This symbol, if defined, indicates that the sethostent() routine is
1594 #define HAS_SETHOSTENT /**/
1597 * This symbol, if defined, indicates that the setnetent() routine is
1600 #define HAS_SETNETENT /**/
1603 * This symbol, if defined, indicates that the setprotoent() routine is
1606 #define HAS_SETPROTOENT /**/
1609 * This symbol, if defined, indicates that the setservent() routine is
1612 #define HAS_SETSERVENT /**/
1615 * This symbol, if defined, indicates that the setvbuf routine is
1616 * available to change buffering on an open stdio stream.
1617 * to a line-buffered mode.
1619 #define HAS_SETVBUF /**/
1622 * This symbol, if defined, indicates that the BSD socket interface is
1626 * This symbol, if defined, indicates that the BSD socketpair() call is
1629 #define HAS_SOCKET /**/
1630 /*#define HAS_SOCKETPAIR / **/
1633 * This symbol, if defined, indicates that the union semun is
1634 * defined by including <sys/sem.h>. If not, the user code
1635 * probably needs to define it as:
1638 * struct semid_ds *buf;
1639 * unsigned short *array;
1642 /* USE_SEMCTL_SEMUN:
1643 * This symbol, if defined, indicates that union semun is
1644 * used for semctl IPC_STAT.
1646 /* USE_SEMCTL_SEMID_DS:
1647 * This symbol, if defined, indicates that struct semid_ds * is
1648 * used for semctl IPC_STAT.
1650 /*#define HAS_UNION_SEMUN /**/
1651 /*#define USE_SEMCTL_SEMUN /**/
1652 /*#define USE_SEMCTL_SEMID_DS /**/
1655 * This symbol's value is either "void" or "int", corresponding to the
1656 * appropriate return type of a signal handler. Thus, you can declare
1657 * a signal handler using "Signal_t (*handler)()", and define the
1658 * handler using "Signal_t handler(sig)".
1660 #define Signal_t void /* Signal handler's return type */
1663 * This symbol holds the type used for the second argument to
1664 * getgroups() and setgropus(). Usually, this is the same as
1665 * gidtype (gid_t) , but sometimes it isn't.
1666 * It can be int, ushort, uid_t, etc...
1667 * It may be necessary to include <sys/types.h> to get any
1668 * typedef'ed information. This is only required if you have
1669 * getgroups() or setgropus()..
1671 #if defined(HAS_GETGROUPS) || defined(HAS_SETGROUPS)
1672 #define Groups_t gid_t /* Type for 2nd arg to [gs]etgroups() */
1676 * This symbol, if defined, indicates that <netdb.h> exists and
1677 * should be included.
1679 #define I_NETDB /**/
1682 * This symbol, if defined, indicates to the C program that it should
1686 * This symbol, if defined, indicates to the C program that struct passwd
1687 * contains pw_quota.
1690 * This symbol, if defined, indicates to the C program that struct passwd
1694 * This symbol, if defined, indicates to the C program that struct passwd
1695 * contains pw_change.
1698 * This symbol, if defined, indicates to the C program that struct passwd
1699 * contains pw_class.
1702 * This symbol, if defined, indicates to the C program that struct passwd
1703 * contains pw_expire.
1706 * This symbol, if defined, indicates to the C program that struct passwd
1707 * contains pw_comment.
1710 * This symbol, if defined, indicates to the C program that struct passwd
1711 * contains pw_gecos.
1714 * This symbol, if defined, indicates to the C program that struct passwd
1715 * contains pw_passwd.
1718 * This symbol, if defined, indicates that the getpwrent routine is
1719 * available for initializing sequential access of the passwd database.
1722 * This symbol, if defined, indicates that the getpwent routine is
1723 * available for sequential access of the password database.
1726 * This symbol, if defined, indicates that the getpwent routine is
1727 * available for finalizing sequential access of the passwd database.
1729 /*#define I_PWD /**/
1730 /*#define PWQUOTA / **/
1731 /*#define PWAGE /**/
1732 /*#define PWCHANGE / **/
1733 /*#define PWCLASS / **/
1734 /*#define PWEXPIRE / **/
1735 /*#define PWCOMMENT /**/
1736 /*#define PWGECOS /**/
1737 /*#define PWPASSWD /**/
1738 /*#define HAS_SETPWENT /**/
1739 /*#define HAS_GETPWENT /**/
1740 /*#define HAS_ENDPWENT /**/
1743 * This variable contains the return type of free(). It is usually
1744 * void, but occasionally int.
1747 * This symbol is the type of pointer returned by malloc and realloc.
1749 #define Malloc_t void * /**/
1750 #define Free_t void /**/
1753 * This symbol, if defined, indicates that we're using our own malloc.
1755 /*#define MYMALLOC /**/
1758 * This symbol contains a list of signal names in order of
1759 * signal number. This is intended
1760 * to be used as a static array initialization, like this:
1761 * char *sig_name[] = { SIG_NAME };
1762 * The signals in the list are separated with commas, and each signal
1763 * is surrounded by double quotes. There is no leading SIG in the signal
1764 * name, i.e. SIGQUIT is known as "QUIT".
1765 * Gaps in the signal numbers (up to NSIG) are filled in with NUMnn,
1766 * etc., where nn is the actual signal number (e.g. NUM37).
1767 * The signal number for sig_name[i] is stored in sig_num[i].
1768 * The last element is 0 to terminate the list with a NULL. This
1769 * corresponds to the 0 at the end of the sig_num list.
1772 * This symbol contains a list of signal numbers, in the same order as the
1773 * SIG_NAME list. It is suitable for static array initialization, as in:
1774 * int sig_num[] = { SIG_NUM };
1775 * The signals in the list are separated with commas, and the indices
1776 * within that list and the SIG_NAME list match, so it's easy to compute
1777 * the signal name from a number or vice versa at the price of a small
1778 * dynamic linear lookup.
1779 * Duplicates are allowed, but are moved to the end of the list.
1780 * The signal number corresponding to sig_name[i] is sig_number[i].
1781 * if (i < NSIG) then sig_number[i] == i.
1782 * The last element is 0, corresponding to the 0 at the end of
1783 * the sig_name list.
1785 /*#define SIG_NAME "ZERO","HUP","INT","QUIT","ILL","TRAP","ABRT","EMT","FPE","KILL","BUS","SEGV","SYS","PIPE","ALRM","TERM","USR1","USR2","CHLD","PWR","WINCH","URG","IO","STOP","TSTP","CONT","TTIN","TTOU","VTALRM","PROF","XCPU","XFSZ","WAITING","LWP","FREEZE","THAW","CANCEL","RTMIN","NUM38","NUM39","NUM40","NUM41","NUM42","NUM43","RTMAX","IOT","CLD","POLL",0 /**/
1786 /*#define SIG_NUM 0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,6,18,22,0 /**/
1788 #define SIG_NAME "ZERO","ABRT","FPE","ILL","INT","SEGV","TERM","USR1","USR2","IO","POLL","HUP","URG","ALRM","KILL","PIPE","QUIT","CHLD","CONT","STOP","TSTP","TTIN","TTOU","BUS","RT1","RT2","RT3","RT4","RT5","RT6","RT7","RT8",0
1789 #define SIG_NUM 0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,0
1792 * This symbol indicates how much support of the void type is given by this
1793 * compiler. What various bits mean:
1795 * 1 = supports declaration of void
1796 * 2 = supports arrays of pointers to functions returning void
1797 * 4 = supports comparisons between pointers to void functions and
1798 * addresses of void functions
1799 * 8 = suports declaration of generic void pointers
1801 * The package designer should define VOIDUSED to indicate the requirements
1802 * of the package. This can be done either by #defining VOIDUSED before
1803 * including config.h, or by defining defvoidused in Myinit.U. If the
1804 * latter approach is taken, only those flags will be tested. If the
1805 * level of void support necessary is not present, defines void to int.
1810 #define VOIDFLAGS 15
1811 #if (VOIDFLAGS & VOIDUSED) != VOIDUSED
1812 #define void int /* is void to be avoided? */
1813 #define M_VOID /* Xenix strikes again */
1817 * This variable, if defined, holds the name of the directory in
1818 * which the user wants to put architecture-dependent public
1819 * library files for perl5. It is most often a local directory
1820 * such as /usr/local/lib. Programs using this variable must be
1821 * prepared to deal with filename expansion. If ARCHLIB is the
1822 * same as PRIVLIB, it is not defined, since presumably the
1823 * program already searches PRIVLIB.
1826 * This symbol contains the ~name expanded version of ARCHLIB, to be used
1827 * in programs that are not prepared to deal with ~ expansion at run-time.
1829 /*#define ARCHLIB "/opt/perl/lib/i86pc-solaris/5.00305" /**/
1830 /*#define ARCHLIB_EXP "/opt/perl/lib/i86pc-solaris/5.00305" /**/
1832 /* DLSYM_NEEDS_UNDERSCORE:
1833 * This symbol, if defined, indicates that we need to prepend an
1834 * underscore to the symbol name before calling dlsym(). This only
1835 * makes sense if you *have* dlsym, which we will presume is the
1836 * case if you're using dl_dlopen.xs.
1838 /*#define DLSYM_NEEDS_UNDERSCORE /**/
1841 * This symbol, if defined, indicates that sfio should
1844 /*#define USE_SFIO /**/
1846 /* USE_DYNAMIC_LOADING:
1847 * This symbol, if defined, indicates that dynamic loading of
1848 * some sort is available.
1850 /*#define USE_DYNAMIC_LOADING /**/
1853 * This symbol contains the type of the prefix structure element
1854 * in the <db.h> header file. In older versions of DB, it was
1855 * int, while in newer ones it is u_int32_t.
1858 * This symbol contains the type of the prefix structure element
1859 * in the <db.h> header file. In older versions of DB, it was
1860 * int, while in newer ones it is size_t.
1862 /*#define DB_Hash_t int /**/
1863 /*#define DB_Prefix_t int /**/
1866 * This symbol contains the name of the private library for this package.
1867 * The library is private in the sense that it needn't be in anyone's
1868 * execution path, but it should be accessible by the world. The program
1869 * should be prepared to do ~ expansion.
1872 * This symbol contains the ~name expanded version of PRIVLIB, to be used
1873 * in programs that are not prepared to deal with ~ expansion at run-time.
1875 #define PRIVLIB "/system/ported/perl" /**/
1876 #define PRIVLIB_EXP "/system/ported/perl" /**/
1879 * This symbol contains the name of the private library for this package.
1880 * The library is private in the sense that it needn't be in anyone's
1881 * execution path, but it should be accessible by the world. The program
1882 * should be prepared to do ~ expansion.
1883 * The standard distribution will put nothing in this directory.
1884 * Individual sites may place their own extensions and modules in
1888 * This symbol contains the ~name expanded version of SITEARCH, to be used
1889 * in programs that are not prepared to deal with ~ expansion at run-time.
1891 #define SITEARCH "/system/ported/site_command_library" /**/
1892 #define SITEARCH_EXP "/system/ported/site_command_library" /**/
1895 * This symbol contains the name of the private library for this package.
1896 * The library is private in the sense that it needn't be in anyone's
1897 * execution path, but it should be accessible by the world. The program
1898 * should be prepared to do ~ expansion.
1899 * The standard distribution will put nothing in this directory.
1900 * Individual sites may place their own extensions and modules in
1904 * This symbol contains the ~name expanded version of SITELIB, to be used
1905 * in programs that are not prepared to deal with ~ expansion at run-time.
1907 #define SITELIB "/system/ported/site_command_library" /**/
1908 #define SITELIB_EXP "/system/ported/site_command_library" /**/
1911 * This variable contains the string to put in front of a perl
1912 * script to make sure (one hopes) that it runs with perl and not
1915 #define STARTPERL "!perl.pm" /**/
1918 * This symbol, if defined, indicates that the PerlIO abstraction should
1919 * be used throughout. If not defined, stdio should be
1920 * used in a fully backward compatible manner.
1922 /*#define USE_PERLIO / **/
1924 /* HAS_GETHOST_PROTOS:
1925 * This symbol, if defined, indicates that <netdb.h> includes
1926 * prototypes for gethostent(), gethostbyname(), and
1927 * gethostbyaddr(). Otherwise, it is up to the program to guess
1928 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
1930 #define HAS_GETHOST_PROTOS /**/
1932 /* HAS_GETNET_PROTOS:
1933 * This symbol, if defined, indicates that <netdb.h> includes
1934 * prototypes for getnetent(), getnetbyname(), and
1935 * getnetbyaddr(). Otherwise, it is up to the program to guess
1936 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
1938 #define HAS_GETNET_PROTOS /**/
1940 /* HAS_GETPROTO_PROTOS:
1941 * This symbol, if defined, indicates that <netdb.h> includes
1942 * prototypes for getprotoent(), getprotobyname(), and
1943 * getprotobyaddr(). Otherwise, it is up to the program to guess
1944 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
1946 #define HAS_GETPROTO_PROTOS /**/
1948 /* HAS_GETSERV_PROTOS:
1949 * This symbol, if defined, indicates that <netdb.h> includes
1950 * prototypes for getservent(), getservbyname(), and
1951 * getservbyaddr(). Otherwise, it is up to the program to guess
1952 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
1954 #define HAS_GETSERV_PROTOS /**/
1957 * This symbol holds the type used for the 1st argument
1958 * to gethostbyaddr().
1961 * This symbol holds the type used for the 2nd argument
1962 * to gethostbyaddr().
1965 * This symbol holds the type used for the argument to
1969 * This symbol holds the type used for the 1st argument to
1972 #define Netdb_host_t char * /**/
1973 #define Netdb_hlen_t int /**/
1974 #define Netdb_name_t char * /**/
1975 #define Netdb_net_t long /**/
1978 * This symbol holds the type used for the 2nd, 3rd, and 4th
1979 * arguments to select. Usually, this is 'fd_set *', if HAS_FD_SET
1980 * is defined, and 'int *' otherwise. This is only useful if you
1981 * have select(), of course.
1983 #define Select_fd_set_t fd_set * /**/
1986 * This symbol holds a string representing the architecture name.
1987 * It may be used to construct an architecture-dependant pathname
1988 * where library files may be held under a private library, for
1991 #define ARCHNAME "vos" /**/
1993 /* HAS_PTHREAD_YIELD:
1994 * This symbol, if defined, indicates that the pthread_yield
1995 * routine is available to yield the execution of the current
1999 * This symbol, if defined, indicates that the sched_yield
2000 * routine is available to yield the execution of the current
2003 /*#define HAS_PTHREAD_YIELD /**/
2004 /*#define HAS_SCHED_YIELD /**/
2007 * This symbol, if defined, indicates that Perl should
2008 * be built to use threads.
2010 /* OLD_PTHREADS_API:
2011 * This symbol, if defined, indicates that Perl should
2012 * be built to use the old draft POSIX threads API.
2014 /*#define USE_THREADS /**/
2015 /*#define OLD_PTHREADS_API /**/
2018 * This symbol holds the type returned by time(). It can be long,
2019 * or time_t on BSD sites (in which case <sys/types.h> should be
2022 #define Time_t time_t /* Time type */
2025 * This symbol, if defined, indicates that the times() routine exists.
2026 * Note that this became obsolete on some systems (SUNOS), which now
2027 * use getrusage(). It may be necessary to include <sys/times.h>.
2029 #define HAS_TIMES /**/
2032 * This symbol holds the type used to declare file positions in libc.
2033 * It can be fpos_t, long, uint, etc... It may be necessary to include
2034 * <sys/types.h> to get any typedef'ed information.
2036 #define Fpos_t fpos_t /* File position type */
2039 * This symbol holds the return type of getgid() and the type of
2040 * argument to setrgid() and related functions. Typically,
2041 * it is the type of group ids in the kernel. It can be int, ushort,
2042 * uid_t, etc... It may be necessary to include <sys/types.h> to get
2043 * any typedef'ed information.
2045 #define Gid_t gid_t /* Type for getgid(), etc... */
2048 * This symbol holds the type used to declare offsets in the kernel.
2049 * It can be int, long, off_t, etc... It may be necessary to include
2050 * <sys/types.h> to get any typedef'ed information.
2052 #define Off_t off_t /* <offset> type */
2055 * This symbol holds the type used to declare file modes
2056 * for systems calls. It is usually mode_t, but may be
2057 * int or unsigned short. It may be necessary to include <sys/types.h>
2058 * to get any typedef'ed information.
2060 #define Mode_t mode_t /* file mode parameter for system calls */
2063 * This symbol holds the type used to declare process ids in the kernel.
2064 * It can be int, uint, pid_t, etc... It may be necessary to include
2065 * <sys/types.h> to get any typedef'ed information.
2067 #define Pid_t pid_t /* PID type */
2070 * This symbol holds the type used to declare length parameters
2071 * for string functions. It is usually size_t, but may be
2072 * unsigned long, int, etc. It may be necessary to include
2073 * <sys/types.h> to get any typedef'ed information.
2075 #define Size_t size_t /* length paramater for string functions */
2078 * This symbol holds the type used to declare user ids in the kernel.
2079 * It can be int, ushort, uid_t, etc... It may be necessary to include
2080 * <sys/types.h> to get any typedef'ed information.
2082 #define Uid_t uid_t /* UID type */
2085 * VOS must have this symbol defined before we include any of the
2086 * standard headers (e.g., sys/types.h).
2088 #ifndef _POSIX_C_SOURCE
2089 #define _POSIX_C_SOURCE