Configure update. Remove last trace of PTHREADS_CREATED_JOINABLE
[p5sagit/p5-mst-13.2.git] / vos / config.h
1 /* This is config.h for Stratus VOS.  It was created by hand
2    from the distribution copy of config_h.SH.  */
3
4 /* Configuration time: September 4, 1998
5  * Configured by: Paul Green
6  * Target system: Stratus VOS
7  */
8
9 #ifndef _config_h_
10 #define _config_h_
11
12 /* LOC_SED:
13  *      This symbol holds the complete pathname to the sed program.
14  */
15 #define LOC_SED         "/system/ported/command_library/sed.pm" /**/
16
17 /* BIN:
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.
20  */
21 /* BIN_EXP:
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.
24  */
25 #define BIN "/system/ported/command_library"    /**/
26 #define BIN_EXP "/system/ported/command_library"        /**/
27
28 /* CPPSTDIN:
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.
33  */
34 /* CPPMINUS:
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 "".
39  */
40 #define CPPSTDIN "cc -E"
41 #define CPPMINUS "-"
42
43 /* HAS_ALARM:
44  *      This symbol, if defined, indicates that the alarm routine is
45  *      available.
46  */
47 #define HAS_ALARM               /**/
48
49 /* HASATTRIBUTE:
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.
52  */
53 /*#define HASATTRIBUTE  / **/
54 #ifndef HASATTRIBUTE
55 #define __attribute__(_arg_)
56 #endif
57
58 /* HAS_BCMP:
59  *      This symbol is defined if the bcmp() routine is available to
60  *      compare blocks of memory.
61  */
62 /*#define HAS_BCMP      /**/
63
64 /* HAS_BCOPY:
65  *      This symbol is defined if the bcopy() routine is available to
66  *      copy blocks of memory.
67  */
68 /*#define HAS_BCOPY     /**/
69
70 /* HAS_BZERO:
71  *      This symbol is defined if the bzero() routine is available to
72  *      set a memory block to 0.
73  */
74 /*#define HAS_BZERO     /**/
75
76 /* HAS_CHOWN:
77  *      This symbol, if defined, indicates that the chown routine is
78  *      available.
79  */
80 /*#define HAS_CHOWN             /**/
81
82 /* HAS_CHROOT:
83  *      This symbol, if defined, indicates that the chroot routine is
84  *      available.
85  */
86 /*#define HAS_CHROOT            /**/
87
88 /* HAS_CHSIZE:
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.
91  */
92 /*#define       HAS_CHSIZE              / **/
93
94 /* HASCONST:
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.
99  */
100 #define HASCONST        /**/
101 #ifndef HASCONST
102 #define const
103 #endif
104
105 /* HAS_CRYPT:
106  *      This symbol, if defined, indicates that the crypt routine is available
107  *      to encrypt passwords and the like.
108  */
109 /*#define HAS_CRYPT             /**/
110
111 /* HAS_CUSERID:
112  *      This symbol, if defined, indicates that the cuserid routine is
113  *      available to get character login names.
114  */
115 /*#define HAS_CUSERID           /**/
116
117 /* HAS_DBL_DIG:
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.
122  */
123 #define HAS_DBL_DIG     /* */
124
125 /* HAS_DIFFTIME:
126  *      This symbol, if defined, indicates that the difftime routine is
127  *      available.
128  */
129 #define HAS_DIFFTIME            /**/
130
131 /* HAS_DLERROR:
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().
135  */
136 /*#define HAS_DLERROR   /**/
137
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.
141  */
142 /* DOSUID:
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.
154  */
155 #define SETUID_SCRIPTS_ARE_SECURE_NOW   /**/      /* PG: ASSUME THESE ARE NO-OPS W/O SETUID */
156 /*#define DOSUID                / **/
157
158 /* HAS_DUP2:
159  *      This symbol, if defined, indicates that the dup2 routine is
160  *      available to duplicate file descriptors.
161  */
162 /*#define HAS_DUP2      /**/
163
164 /* HAS_FCHMOD:
165  *      This symbol, if defined, indicates that the fchmod routine is available
166  *      to change mode of opened files.  If unavailable, use chmod().
167  */
168 #define HAS_FCHMOD              /**/
169
170 /* HAS_FCHOWN:
171  *      This symbol, if defined, indicates that the fchown routine is available
172  *      to change ownership of opened files.  If unavailable, use chown().
173  */
174 /*#define HAS_FCHOWN            /**/
175
176 /* HAS_FCNTL:
177  *      This symbol, if defined, indicates to the C program that
178  *      the fcntl() function exists.
179  */
180 #define HAS_FCNTL               /**/
181
182 /* HAS_FGETPOS:
183  *      This symbol, if defined, indicates that the fgetpos routine is
184  *      available to get the file position indicator, similar to ftell().
185  */
186 #define HAS_FGETPOS     /**/
187
188 /* FLEXFILENAMES:
189  *      This symbol, if defined, indicates that the system supports filenames
190  *      longer than 14 characters.
191  */
192 #define FLEXFILENAMES           /**/
193
194 /* HAS_FLOCK:
195  *      This symbol, if defined, indicates that the flock routine is
196  *      available to do file locking.
197  */
198 /*#define HAS_FLOCK             / **/
199
200 /* HAS_FORK:
201  *      This symbol, if defined, indicates that the fork routine is
202  *      available.
203  */
204 /*#define HAS_FORK              /**/
205
206 /* HAS_FSETPOS:
207  *      This symbol, if defined, indicates that the fsetpos routine is
208  *      available to set the file position indicator, similar to fseek().
209  */
210 #define HAS_FSETPOS     /**/
211
212 /* HAS_GETTIMEOFDAY:
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".
217  */
218 /*#define HAS_GETTIMEOFDAY      / **/
219 #ifdef HAS_GETTIMEOFDAY
220 #define Timeval struct timeval  /* Structure used by gettimeofday() */
221 #endif
222
223 /* HAS_GETGROUPS:
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.
227  */
228 /*#define HAS_GETGROUPS         /**/
229
230 /* HAS_UNAME:
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
233  *      and PHOSTNAME.
234  */
235 #define HAS_UNAME               /**/
236
237 /* HAS_GETLOGIN:
238  *      This symbol, if defined, indicates that the getlogin routine is
239  *      available to get the login name.
240  */
241 #define HAS_GETLOGIN            /**/
242
243 /* HAS_GETPGID:
244  *      This symbol, if defined, indicates to the C program that 
245  *      the getpgid(pid) function is available to get the
246  *      process group id.
247  */
248 /*#define HAS_GETPGID           /**/
249
250 /* HAS_GETPGRP:
251  *      This symbol, if defined, indicates that the getpgrp routine is
252  *      available to get the current process group.
253  */
254 /* USE_BSD_GETPGRP:
255  *      This symbol, if defined, indicates that getpgrp needs one
256  *      arguments whereas USG one needs none.
257  */
258 /*#define HAS_GETPGRP           /**/
259 /*#define USE_BSD_GETPGRP       / **/
260
261 /* HAS_GETPGRP2:
262  *      This symbol, if defined, indicates that the getpgrp2() (as in DG/UX)
263  *      routine is available to get the current process group.
264  */
265 /*#define HAS_GETPGRP2          / **/
266
267 /* HAS_GETPPID:
268  *      This symbol, if defined, indicates that the getppid routine is
269  *      available to get the parent process ID.
270  */
271 #define HAS_GETPPID             /**/
272
273 /* HAS_GETPRIORITY:
274  *      This symbol, if defined, indicates that the getpriority routine is
275  *      available to get a process's priority.
276  */
277 /*#define HAS_GETPRIORITY               /**/
278
279 /* HAS_HTONL:
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.
283  */
284 /* HAS_HTONS:
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.
288  */
289 /* HAS_NTOHL:
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.
293  */
294 /* HAS_NTOHS:
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.
298  */
299 #define HAS_HTONL               /**/
300 #define HAS_HTONS               /**/
301 #define HAS_NTOHL               /**/
302 #define HAS_NTOHS               /**/
303
304 /* HAS_INET_ATON:
305  *      This symbol, if defined, indicates to the C program that the
306  *      inet_aton() function is available to parse IP address "dotted-quad"
307  *      strings.
308  */
309 /*#define HAS_INET_ATON         /**/ /* PG: WE HAVE OTHERS, NOT THIS ONE. */
310
311 /* HAS_KILLPG:
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.
315  */
316 /*#define HAS_KILLPG    /**/
317
318 /* HAS_LINK:
319  *      This symbol, if defined, indicates that the link routine is
320  *      available to create hard links.
321  */
322 /*#define HAS_LINK      /**/
323
324 /* HAS_LOCALECONV:
325  *      This symbol, if defined, indicates that the localeconv routine is
326  *      available for numeric and monetary formatting conventions.
327  */
328 #define HAS_LOCALECONV  /**/
329
330 /* HAS_LOCKF:
331  *      This symbol, if defined, indicates that the lockf routine is
332  *      available to do file locking.
333  */
334 #define HAS_LOCKF               /**/
335
336 /* HAS_LSTAT:
337  *      This symbol, if defined, indicates that the lstat routine is
338  *      available to do file stats on symbolic links.
339  */
340 #define HAS_LSTAT               /**/
341
342 /* HAS_MBLEN:
343  *      This symbol, if defined, indicates that the mblen routine is available
344  *      to find the number of bytes in a multibye character.
345  */
346 #define HAS_MBLEN               /**/
347
348 /* HAS_MBSTOWCS:
349  *      This symbol, if defined, indicates that the mbstowcs routine is
350  *      available to covert a multibyte string into a wide character string.
351  */
352 #define HAS_MBSTOWCS            /**/
353
354 /* HAS_MBTOWC:
355  *      This symbol, if defined, indicates that the mbtowc routine is available
356  *      to covert a multibyte to a wide character.
357  */
358 #define HAS_MBTOWC              /**/
359
360 /* HAS_MEMCMP:
361  *      This symbol, if defined, indicates that the memcmp routine is available
362  *      to compare blocks of memory.
363  */
364 #define HAS_MEMCMP      /**/
365
366 /* HAS_MEMCPY:
367  *      This symbol, if defined, indicates that the memcpy routine is available
368  *      to copy blocks of memory.
369  */
370 #define HAS_MEMCPY      /**/
371
372 /* HAS_MEMMOVE:
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
376  *      own version.
377  */
378 #define HAS_MEMMOVE     /**/
379
380 /* HAS_MEMSET:
381  *      This symbol, if defined, indicates that the memset routine is available
382  *      to set blocks of memory.
383  */
384 #define HAS_MEMSET      /**/
385
386 /* HAS_MKDIR:
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
389  *      exec /bin/mkdir.
390  */
391 #define HAS_MKDIR               /**/
392
393 /* HAS_MKFIFO:
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.
398  */
399 #define HAS_MKFIFO              /**/
400
401 /* HAS_MKTIME:
402  *      This symbol, if defined, indicates that the mktime routine is
403  *      available.
404  */
405 #define HAS_MKTIME              /**/
406
407 /* HAS_MSG:
408  *      This symbol, if defined, indicates that the entire msg*(2) library is
409  *      supported (IPC mechanism based on message queues).
410  */
411 /*#define HAS_MSG               /**/
412
413 /* HAS_NICE:
414  *      This symbol, if defined, indicates that the nice routine is
415  *      available.
416  */
417 /*#define HAS_NICE              /**/
418
419 /* HAS_PATHCONF:
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.
423  */
424 /* HAS_FPATHCONF:
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.
428  */
429 #define HAS_PATHCONF            /**/
430 #define HAS_FPATHCONF           /**/
431
432 /* HAS_PAUSE:
433  *      This symbol, if defined, indicates that the pause routine is
434  *      available to suspend a process until a signal is received.
435  */
436 /*#define HAS_PAUSE             /**/
437
438 /* HAS_PIPE:
439  *      This symbol, if defined, indicates that the pipe routine is
440  *      available to create an inter-process channel.
441  */
442 #define HAS_PIPE                /**/
443
444 /* HAS_POLL:
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.
448  */
449 #define HAS_POLL                /**/
450
451 /* HAS_READDIR:
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.
455  */
456 #define HAS_READDIR             /**/
457
458 /* HAS_SEEKDIR:
459  *      This symbol, if defined, indicates that the seekdir routine is
460  *      available. You may have to include <dirent.h>. See I_DIRENT.
461  */
462 /*#define HAS_SEEKDIR           /**/
463
464 /* HAS_TELLDIR:
465  *      This symbol, if defined, indicates that the telldir routine is
466  *      available. You may have to include <dirent.h>. See I_DIRENT.
467  */
468 /*#define HAS_TELLDIR           /**/
469
470 /* HAS_REWINDDIR:
471  *      This symbol, if defined, indicates that the rewinddir routine is
472  *      available. You may have to include <dirent.h>. See I_DIRENT.
473  */
474 #define HAS_REWINDDIR           /**/
475
476 /* HAS_READLINK:
477  *      This symbol, if defined, indicates that the readlink routine is
478  *      available to read the value of a symbolic link.
479  */
480 #define HAS_READLINK            /**/
481
482 /* HAS_RENAME:
483  *      This symbol, if defined, indicates that the rename routine is available
484  *      to rename files.  Otherwise you should do the unlink(), link(), unlink()
485  *      trick.
486  */
487 #define HAS_RENAME      /**/
488
489 /* HAS_RMDIR:
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.
493  */
494 #define HAS_RMDIR               /**/
495
496 /* HAS_SELECT:
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.
500  */
501 #define HAS_SELECT      /**/
502
503 /* HAS_SEM:
504  *      This symbol, if defined, indicates that the entire sem*(2) library is
505  *      supported.
506  */
507 /*#define HAS_SEM               /**/
508
509 /* HAS_SETEGID:
510  *      This symbol, if defined, indicates that the setegid routine is available
511  *      to change the effective gid of the current program.
512  */
513 /*#define HAS_SETEGID           /**/
514
515 /* HAS_SETEUID:
516  *      This symbol, if defined, indicates that the seteuid routine is available
517  *      to change the effective uid of the current program.
518  */
519 /*#define HAS_SETEUID           /**/
520
521 /* HAS_SETLINEBUF:
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.
525  */
526 /*#define HAS_SETLINEBUF                /**/
527
528 /* HAS_SETLOCALE:
529  *      This symbol, if defined, indicates that the setlocale routine is
530  *      available to handle locale-specific ctype implementations.
531  */
532 #define HAS_SETLOCALE   /**/
533
534 /* HAS_SETPGID:
535  *      This symbol, if defined, indicates that the setpgid(pid, gpid)
536  *      routine is available to set process group ID.
537  */
538 /*#define HAS_SETPGID           /**/
539
540 /* HAS_SETPGRP:
541  *      This symbol, if defined, indicates that the setpgrp routine is
542  *      available to set the current process group.
543  */
544 /* USE_BSD_SETPGRP:
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.
548  */
549 /*#define HAS_SETPGRP           /**/
550 /*#define USE_BSD_SETPGRP       / **/
551
552 /* HAS_SETPGRP2:
553  *      This symbol, if defined, indicates that the setpgrp2() (as in DG/UX)
554  *      routine is available to set the current process group.
555  */
556 /*#define HAS_SETPGRP2          / **/
557
558 /* HAS_SETPRIORITY:
559  *      This symbol, if defined, indicates that the setpriority routine is
560  *      available to set a process's priority.
561  */
562 /*#define HAS_SETPRIORITY               /**/
563
564 /* HAS_SETREGID:
565  *      This symbol, if defined, indicates that the setregid routine is
566  *      available to change the real and effective gid of the current
567  *      process.
568  */
569 /* HAS_SETRESGID:
570  *      This symbol, if defined, indicates that the setresgid routine is
571  *      available to change the real, effective and saved gid of the current
572  *      process.
573  */
574 /*#define HAS_SETREGID          /**/
575 /*#define HAS_SETRESGID         / **/
576
577 /* HAS_SETREUID:
578  *      This symbol, if defined, indicates that the setreuid routine is
579  *      available to change the real and effective uid of the current
580  *      process.
581  */
582 /* HAS_SETRESUID:
583  *      This symbol, if defined, indicates that the setresuid routine is
584  *      available to change the real, effective and saved uid of the current
585  *      process.
586  */
587 /*#define HAS_SETREUID          /**/
588 /*#define HAS_SETRESUID         / **/
589
590 /* HAS_SETRGID:
591  *      This symbol, if defined, indicates that the setrgid routine is available
592  *      to change the real gid of the current program.
593  */
594 /*#define HAS_SETRGID           / **/
595
596 /* HAS_SETRUID:
597  *      This symbol, if defined, indicates that the setruid routine is available
598  *      to change the real uid of the current program.
599  */
600 /*#define HAS_SETRUID           / **/
601
602 /* HAS_SETSID:
603  *      This symbol, if defined, indicates that the setsid routine is
604  *      available to set the process group ID.
605  */
606 /*#define HAS_SETSID    /**/
607
608 /* HAS_SHM:
609  *      This symbol, if defined, indicates that the entire shm*(2) library is
610  *      supported.
611  */
612 /*#define HAS_SHM               /**/
613
614 /* Shmat_t:
615  *      This symbol holds the return type of the shmat() system call.
616  *      Usually set to 'void *' or 'char *'.
617  */
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.
624  */
625 #define Shmat_t void *  /**/
626 #define HAS_SHMAT_PROTOTYPE     /**/
627
628 /* USE_STAT_BLOCKS:
629  *      This symbol is defined if this system has a stat structure declaring
630  *      st_blksize and st_blocks.
631  */
632 /*#define USE_STAT_BLOCKS       /**/
633
634 /* HAS_STRCHR:
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.
638  */
639 /* HAS_INDEX:
640  *      This symbol is defined to indicate that the index()/rindex()
641  *      functions are available for string searching.
642  */
643 #define HAS_STRCHR      /**/
644 /*#define HAS_INDEX     / **/
645
646 /* HAS_STRCOLL:
647  *      This symbol, if defined, indicates that the strcoll routine is
648  *      available to compare strings using collating information.
649  */
650 #define HAS_STRCOLL     /**/
651
652 /* USE_STRUCT_COPY:
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.
656  */
657 #define USE_STRUCT_COPY /**/
658
659 /* HAS_STRERROR:
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.
663  */
664 /* HAS_SYS_ERRLIST:
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.
668  */
669 /* Strerror:
670  *      This preprocessor symbol is defined as a macro if strerror() is
671  *      not available to translate error numbers to strings but sys_errlist[]
672  *      array is there.
673  */
674 #define HAS_STRERROR            /**/
675 #define HAS_SYS_ERRLIST /**/
676 #define Strerror(e) strerror(e)
677
678 /* HAS_STRTOD:
679  *      This symbol, if defined, indicates that the strtod routine is
680  *      available to provide better numeric string conversion than atof().
681  */
682 #define HAS_STRTOD      /**/
683
684 /* HAS_STRTOL:
685  *      This symbol, if defined, indicates that the strtol routine is available
686  *      to provide better numeric string conversion than atoi() and friends.
687  */
688 #define HAS_STRTOL      /**/
689
690 /* HAS_STRTOUL:
691  *      This symbol, if defined, indicates that the strtoul routine is
692  *      available to provide conversion of strings to unsigned long.
693  */
694 #define HAS_STRTOUL     /**/
695
696 /* HAS_STRXFRM:
697  *      This symbol, if defined, indicates that the strxfrm() routine is
698  *      available to transform strings.
699  */
700 #define HAS_STRXFRM     /**/
701
702 /* HAS_SYMLINK:
703  *      This symbol, if defined, indicates that the symlink routine is available
704  *      to create symbolic links.
705  */
706 #define HAS_SYMLINK     /**/
707
708 /* HAS_SYSCALL:
709  *      This symbol, if defined, indicates that the syscall routine is
710  *      available to call arbitrary system calls. If undefined, that's tough.
711  */
712 /*#define HAS_SYSCALL   /**/
713
714 /* HAS_SYSCONF:
715  *      This symbol, if defined, indicates that sysconf() is available
716  *      to determine system related limits and options.
717  */
718 #define HAS_SYSCONF     /**/
719
720 /* HAS_SYSTEM:
721  *      This symbol, if defined, indicates that the system routine is
722  *      available to issue a shell command.
723  */
724 #define HAS_SYSTEM      /**/
725
726 /* HAS_TCGETPGRP:
727  *      This symbol, if defined, indicates that the tcgetpgrp routine is
728  *      available to get foreground process group ID.
729  */
730 /*#define HAS_TCGETPGRP         /**/
731
732 /* HAS_TCSETPGRP:
733  *      This symbol, if defined, indicates that the tcsetpgrp routine is
734  *      available to set foreground process group ID.
735  */
736 /*#define HAS_TCSETPGRP         /**/
737
738 /* HAS_TRUNCATE:
739  *      This symbol, if defined, indicates that the truncate routine is
740  *      available to truncate files.
741  */
742 /*#define HAS_TRUNCATE  /**/
743
744 /* HAS_TZNAME:
745  *      This symbol, if defined, indicates that the tzname[] array is
746  *      available to access timezone names.
747  */
748 /*#define HAS_TZNAME            /**/
749
750 /* HAS_UMASK:
751  *      This symbol, if defined, indicates that the umask routine is
752  *      available to set and get the value of the file creation mask.
753  */
754 #define HAS_UMASK               /**/
755
756 /* HAS_VFORK:
757  *      This symbol, if defined, indicates that vfork() exists.
758  */
759 /*#define HAS_VFORK     / **/
760
761 /* HASVOLATILE:
762  *      This symbol, if defined, indicates that this C compiler knows about
763  *      the volatile declaration.
764  */
765 #define HASVOLATILE     /**/
766 #ifndef HASVOLATILE
767 #define volatile
768 #endif
769
770 /* HAS_WAIT4:
771  *      This symbol, if defined, indicates that wait4() exists.
772  */
773 /*#define HAS_WAIT4     /**/
774
775 /* HAS_WAITPID:
776  *      This symbol, if defined, indicates that the waitpid routine is
777  *      available to wait for child process.
778  */
779 #define HAS_WAITPID     /**/
780
781 /* HAS_WCSTOMBS:
782  *      This symbol, if defined, indicates that the wcstombs routine is
783  *      available to convert wide character strings to multibyte strings.
784  */
785 #define HAS_WCSTOMBS    /**/
786
787 /* HAS_WCTOMB:
788  *      This symbol, if defined, indicates that the wctomb routine is available
789  *      to covert a wide character to a multibyte.
790  */
791 #define HAS_WCTOMB              /**/
792
793 /* EBCDIC:
794  *      This symbol, if defined, indicates that this system uses
795  *      EBCDIC encoding.
796  */
797 /*#define       EBCDIC          /**/
798
799 /* I_ARPA_INET:
800  *      This symbol, if defined, indicates that <arpa/inet.h> exists and should
801  *      be included.
802  */
803 /*#define I_ARPA_INET   /**/
804
805 /* I_DBM:
806  *      This symbol, if defined, indicates that <dbm.h> exists and should
807  *      be included.
808  */
809 /* I_RPCSVC_DBM:
810  *      This symbol, if defined, indicates that <rpcsvc/dbm.h> exists and
811  *      should be included.
812  */
813 /*#define I_DBM /**/
814 /*#define I_RPCSVC_DBM  /**/
815
816 /* I_DIRENT:
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>.
821  */
822 /* DIRNAMLEN:
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.
826  */
827 /* Direntry_t:
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.
831  */
832 #define I_DIRENT                /**/
833 /*#define DIRNAMLEN     / **/
834 #define Direntry_t struct dirent
835
836 /* I_DLFCN:
837  *      This symbol, if defined, indicates that <dlfcn.h> exists and should
838  *      be included.
839  */
840 /*#define I_DLFCN               /**/
841
842 /* I_FCNTL:
843  *      This manifest constant tells the C program to include <fcntl.h>.
844  */
845 #define I_FCNTL /**/
846
847 /* I_FLOAT:
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.
851  */
852 #define I_FLOAT         /**/
853
854 /* I_GRP:
855  *      This symbol, if defined, indicates to the C program that it should
856  *      include <grp.h>.
857  */
858 /* GRPASSWD:
859  *      This symbol, if defined, indicates to the C program that struct group
860  *      contains gr_passwd.
861  */
862 /* HAS_SETGRENT:
863  *      This symbol, if defined, indicates that the getgrent routine is
864  *      available for initializing sequential access of the group database.
865  */
866 /* HAS_GETGRENT:
867  *      This symbol, if defined, indicates that the getgrent routine is
868  *      available for sequential access of the group database.
869  */
870 /* HAS_ENDGRENT:
871  *      This symbol, if defined, indicates that the getgrent routine is
872  *      available for finalizing sequential access of the group database.
873  */
874 /*#define I_GRP         /**/
875 /*#define GRPASSWD      /**/
876 /*#define HAS_SETGRENT  /**/
877 /*#define HAS_GETGRENT  /**/
878 /*#define HAS_ENDGRENT  /**/
879
880 /* I_LIMITS:
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.
884  */
885 #define I_LIMITS                /**/
886
887 /* I_LOCALE:
888  *      This symbol, if defined, indicates to the C program that it should
889  *      include <locale.h>.
890  */
891 #define I_LOCALE                /**/
892
893 /* I_MATH:
894  *      This symbol, if defined, indicates to the C program that it should
895  *      include <math.h>.
896  */
897 #define I_MATH          /**/
898
899 /* I_MEMORY:
900  *      This symbol, if defined, indicates to the C program that it should
901  *      include <memory.h>.
902  */
903 /*#define I_MEMORY              / **/
904
905 /* I_NDBM:
906  *      This symbol, if defined, indicates that <ndbm.h> exists and should
907  *      be included.
908  */
909 /*#define I_NDBM        /**/
910
911 /* I_NET_ERRNO:
912  *      This symbol, if defined, indicates that <net/errno.h> exists and 
913  *      should be included.
914  */
915 /*#define I_NET_ERRNO           / **/
916
917 /* I_NETINET_IN:
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>.
920  */
921 /*#define I_NETINET_IN  /**/ /* PG: just "in.h" on VOS */
922
923 /* I_SFIO:
924  *      This symbol, if defined, indicates to the C program that it should
925  *      include <sfio.h>.
926  */
927 /*#define       I_SFIO          / **/
928
929 /* I_STDDEF:
930  *      This symbol, if defined, indicates that <stddef.h> exists and should
931  *      be included.
932  */
933 #define I_STDDEF        /**/
934
935 /* I_STDLIB:
936  *      This symbol, if defined, indicates that <stdlib.h> exists and should
937  *      be included.
938  */
939 #define I_STDLIB                /**/
940
941 /* I_STRING:
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).
944  */
945 #define I_STRING                /**/
946
947 /* I_SYS_DIR:
948  *      This symbol, if defined, indicates to the C program that it should
949  *      include <sys/dir.h>.
950  */
951 /*#define I_SYS_DIR             / **/
952
953 /* I_SYS_FILE:
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.
956  */
957 /*#define I_SYS_FILE            / **/
958
959 /* I_SYS_IOCTL:
960  *      This symbol, if defined, indicates that <sys/ioctl.h> exists and should
961  *      be included. Otherwise, include <sgtty.h> or <termio.h>.
962  */
963 #define I_SYS_IOCTL             /**/      /* PG: just ioctl.h */
964
965 /* I_SYS_NDIR:
966  *      This symbol, if defined, indicates to the C program that it should
967  *      include <sys/ndir.h>.
968  */
969 /*#define I_SYS_NDIR    / **/
970
971 /* I_SYS_PARAM:
972  *      This symbol, if defined, indicates to the C program that it should
973  *      include <sys/param.h>.
974  */
975 /*#define I_SYS_PARAM           /**/
976
977 /* I_SYS_RESOURCE:
978  *      This symbol, if defined, indicates to the C program that it should
979  *      include <sys/resource.h>.
980  */
981 /*#define I_SYS_RESOURCE                /**/
982
983 /* I_SYS_SELECT:
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.
986  */
987 /*#define I_SYS_SELECT  /**/
988
989 /* I_SYS_STAT:
990  *      This symbol, if defined, indicates to the C program that it should
991  *      include <sys/stat.h>.
992  */
993 #define I_SYS_STAT              /**/
994
995 /* I_SYS_TIMES:
996  *      This symbol, if defined, indicates to the C program that it should
997  *      include <sys/times.h>.
998  */
999 #define I_SYS_TIMES             /**/
1000
1001 /* I_SYS_TYPES:
1002  *      This symbol, if defined, indicates to the C program that it should
1003  *      include <sys/types.h>.
1004  */
1005 #define I_SYS_TYPES             /**/
1006
1007 /* I_SYS_UN:
1008  *      This symbol, if defined, indicates to the C program that it should
1009  *      include <sys/un.h> to get UNIX domain socket definitions.
1010  */
1011 /*#define I_SYS_UN              /**/
1012
1013 /* I_SYS_WAIT:
1014  *      This symbol, if defined, indicates to the C program that it should
1015  *      include <sys/wait.h>.
1016  */
1017 #define I_SYS_WAIT      /**/
1018
1019 /* I_TERMIO:
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.
1023  */
1024 /* I_TERMIOS:
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.
1029  */
1030 /* I_SGTTY:
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.
1034  */
1035 /*#define I_TERMIO              / **/
1036 /*#define I_TERMIOS             /**/      /* PG: PREFERED, NOT THERE YET */
1037 /*#define I_SGTTY               / **/
1038
1039 /* I_UNISTD:
1040  *      This symbol, if defined, indicates to the C program that it should
1041  *      include <unistd.h>.
1042  */
1043 #define I_UNISTD                /**/
1044
1045 /* I_UTIME:
1046  *      This symbol, if defined, indicates to the C program that it should
1047  *      include <utime.h>.
1048  */
1049 #define I_UTIME         /**/
1050
1051 /* I_VALUES:
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.
1056  */
1057 #define I_VALUES                /**/
1058
1059 /* I_STDARG:
1060  *      This symbol, if defined, indicates that <stdarg.h> exists and should
1061  *      be included.
1062  */
1063 /* I_VARARGS:
1064  *      This symbol, if defined, indicates to the C program that it should
1065  *      include <varargs.h>.
1066  */
1067 #define I_STDARG                /**/
1068 /*#define I_VARARGS     / **/
1069
1070 /* I_VFORK:
1071  *      This symbol, if defined, indicates to the C program that it should
1072  *      include vfork.h.
1073  */
1074 /*#define I_VFORK       / **/
1075
1076 /* CAN_PROTOTYPE:
1077  *      If defined, this macro indicates that the C compiler can handle
1078  *      function prototypes.
1079  */
1080 /* _:
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:
1084  *
1085  *              int main _((int argc, char *argv[]));
1086  */
1087 #define CAN_PROTOTYPE   /**/
1088 #ifdef CAN_PROTOTYPE
1089 #define _(args) args
1090 #else
1091 #define _(args) ()
1092 #endif
1093
1094 /* SH_PATH:
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
1099  *      D:/bin/sh.exe.
1100  */
1101 #define SH_PATH "/bin/sh"  /**/
1102
1103 /* STDCHAR:
1104  *      This symbol is defined to be the type of char used in stdio.h.
1105  *      It has the values "unsigned char" or "char".
1106  */
1107 #define STDCHAR unsigned char   /**/
1108
1109 /* MEM_ALIGNBYTES:
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.
1117  */
1118 #define MEM_ALIGNBYTES 8        /**/
1119
1120 /* BYTEORDER:
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.
1132  */
1133 #ifndef NeXT
1134 #define BYTEORDER 0x1234        /* large digits for MSB */
1135 #else  /* NeXT */
1136 #ifdef __LITTLE_ENDIAN__
1137 #define BYTEORDER 0x1234
1138 #else /* __BIG_ENDIAN__ */
1139 #define BYTEORDER 0x4321
1140 #endif /* ENDIAN CHECK */
1141 #endif /* NeXT */
1142
1143 /* CASTI32:
1144  *      This symbol is defined if the C compiler can cast negative
1145  *      or large floating point numbers to 32-bit ints.
1146  */
1147 #define CASTI32         /**/
1148
1149 /* CASTNEGFLOAT:
1150  *      This symbol is defined if the C compiler can cast negative
1151  *      numbers to unsigned longs, ints and shorts.
1152  */
1153 /* CASTFLAGS:
1154  *      This symbol contains flags that say what difficulties the compiler
1155  *      has casting odd floating values to unsigned long:
1156  *              0 = ok
1157  *              1 = couldn't cast < 0
1158  *              2 = couldn't cast >= 0x80000000
1159  *              4 = couldn't cast in argument expression list
1160  */
1161 #define CASTNEGFLOAT            /**/
1162 #define CASTFLAGS 0             /**/
1163
1164 /* VOID_CLOSEDIR:
1165  *      This symbol, if defined, indicates that the closedir() routine
1166  *      does not return a value.
1167  */
1168 /*#define VOID_CLOSEDIR         / **/
1169
1170 /* Gconvert:
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.
1184  */
1185 #define Gconvert(x,n,t,b) sprintf((b),"%.*g",(n),(x))
1186
1187 /* HAS_GNULIBC:
1188  *      This symbol, if defined, indicates to the C program that 
1189  *      the GNU C library is being used.
1190  */
1191 /*#define HAS_GNULIBC   /**/
1192 /* HAS_ISASCII:
1193  *      This manifest constant lets the C program know that isascii 
1194  *      is available.
1195  */
1196 #define HAS_ISASCII             /**/
1197
1198 /* HAS_LCHOWN:
1199  *      This symbol, if defined, indicates that the lchown routine is
1200  *      available to operate on a symbolic link (instead of following the
1201  *      link).
1202  */
1203 /*#define HAS_LCHOWN            /**/
1204
1205 /* HAS_OPEN3:
1206  *      This manifest constant lets the C program know that the three
1207  *      argument form of open(2) is available.
1208  */
1209 #define HAS_OPEN3               /**/
1210
1211 /* HAS_SAFE_BCOPY:
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
1215  *      own version.
1216  */
1217 /*#define HAS_SAFE_BCOPY        /**/      /* PG: VOS has bcopy; do not know if it is safe. */
1218
1219 /* HAS_SAFE_MEMCPY:
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
1223  *      own version.
1224  */
1225 /*#define HAS_SAFE_MEMCPY       / **/
1226
1227 /* HAS_SANE_MEMCMP:
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.
1231  */
1232 #define HAS_SANE_MEMCMP / **/          /* PG: VOS GUESS */
1233
1234 /* HAS_SIGACTION:
1235  *      This symbol, if defined, indicates that Vr4's sigaction() routine
1236  *      is available.
1237  */
1238 /*#define HAS_SIGACTION /**/
1239
1240 /* Sigjmp_buf:
1241  *      This is the buffer type to be used with Sigsetjmp and Siglongjmp.
1242  */
1243 /* Sigsetjmp:
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.
1247  */
1248 /* Siglongjmp:
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.
1252  */
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))
1258 #else
1259 #define Sigjmp_buf jmp_buf
1260 #define Sigsetjmp(buf,save_mask) setjmp((buf))
1261 #define Siglongjmp(buf,retval) longjmp((buf),(retval))
1262 #endif
1263
1264 /* USE_STDIO_PTR:
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.
1270  */
1271 /* FILE_ptr:
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.
1275  */
1276 /* STDIO_PTR_LVALUE:
1277  *      This symbol is defined if the FILE_ptr macro can be used as an
1278  *      lvalue.
1279  */
1280 /* FILE_cnt:
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.
1284  */
1285 /* STDIO_CNT_LVALUE:
1286  *      This symbol is defined if the FILE_cnt macro can be used as an
1287  *      lvalue.
1288  */
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                /**/
1295 #endif
1296
1297 /* USE_STDIO_BASE:
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.
1305  */
1306 /* FILE_base:
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.
1310  */
1311 /* FILE_bufsiz:
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.
1316  */
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)
1321 #endif
1322
1323 /* HAS_VPRINTF:
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().
1327  */
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
1332  *      symbol.
1333  */
1334 #define HAS_VPRINTF     /**/
1335 /*#define USE_CHAR_VSPRINTF     / **/
1336
1337 /* DOUBLESIZE:
1338  *      This symbol contains the size of a double, so that the C preprocessor
1339  *      can make decisions based on it.
1340  */
1341 #define DOUBLESIZE 8            /**/
1342
1343 /* I_TIME:
1344  *      This symbol, if defined, indicates to the C program that it should
1345  *      include <time.h>.
1346  */
1347 /* I_SYS_TIME:
1348  *      This symbol, if defined, indicates to the C program that it should
1349  *      include <sys/time.h>.
1350  */
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.
1354  */
1355 /*#define I_TIME                / **/
1356 #define I_SYS_TIME              /**/
1357 /*#define I_SYS_TIME_KERNEL             / **/
1358
1359 /* INTSIZE:
1360  *      This symbol contains the value of sizeof(int) so that the C
1361  *      preprocessor can make decisions based on it.
1362  */
1363 /* LONGSIZE:
1364  *      This symbol contains the value of sizeof(long) so that the C
1365  *      preprocessor can make decisions based on it.
1366  */
1367 /* SHORTSIZE:
1368  *      This symbol contains the value of sizeof(short) so that the C
1369  *      preprocessor can make decisions based on it.
1370  */
1371 #define INTSIZE 4               /**/
1372 #define LONGSIZE 4              /**/
1373 #define SHORTSIZE 2             /**/
1374
1375 /* VAL_O_NONBLOCK:
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.
1381  */
1382 /* VAL_EAGAIN:
1383  *      This symbol holds the errno error code set by read() when no data was
1384  *      present on the non-blocking file descriptor.
1385  */
1386 /* RD_NODATA:
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!
1391  */
1392 /* EOF_NONBLOCK:
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!).
1396  */
1397 #define VAL_O_NONBLOCK O_NONBLOCK
1398 #define VAL_EAGAIN EAGAIN
1399 #define RD_NODATA -1
1400 #define EOF_NONBLOCK
1401
1402 /* PTRSIZE:
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
1406  *      sizeof(char *).
1407  */
1408 #define PTRSIZE 4               /**/
1409
1410 /* RANDBITS:
1411  *      This symbol contains the number of bits of random number the rand()
1412  *      function produces.  Usual values are 15, 16, and 31.
1413  */
1414 #define RANDBITS 15             /**/
1415
1416 /* SSize_t:
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).
1423  */
1424 #define SSize_t ssize_t  /* signed count of bytes */
1425
1426 /* OSNAME:
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.
1430  */
1431 #define OSNAME "VOS"            /**/
1432
1433 /* CAT2:
1434  *      This macro catenates 2 tokens together.
1435  */
1436 /* STRINGIFY:
1437  *      This macro surrounds its token with double quotes.
1438  */
1439 #if 42 == 1
1440 #define CAT2(a,b)a/**/b
1441 #define STRINGIFY(a)"a"
1442                 /* If you can get stringification with catify, tell me how! */
1443 #endif
1444 #if 42 == 42
1445 #define CAT2(a,b)a ## b
1446 #define StGiFy(a)# a
1447 #define STRINGIFY(a)StGiFy(a)
1448 #endif
1449 #if 42 != 1 && 42 != 42
1450 #include "Bletch: How does this C preprocessor catenate tokens?"
1451 #endif
1452
1453 /* CSH:
1454  *      This symbol, if defined, contains the full pathname of csh.
1455  */
1456 /*#define HAS_CSH               /**/
1457 #ifdef HAS_CSH
1458 /*#define CSH "/bin/csh"                /**/
1459 #endif
1460
1461 /* HAS_ENDHOSTENT:
1462  *      This symbol, if defined, indicates that the endhostent() routine is
1463  *      available to close whatever was being used for host queries.
1464  */
1465 /*#define HAS_ENDHOSTENT                /**/
1466
1467 /* HAS_ENDNETENT:
1468  *      This symbol, if defined, indicates that the endnetent() routine is
1469  *      available to close whatever was being used for network queries.
1470  */
1471 /*#define HAS_ENDNETENT         /**/
1472
1473 /* HAS_ENDPROTOENT:
1474  *      This symbol, if defined, indicates that the endprotoent() routine is
1475  *      available to close whatever was being used for protocol queries.
1476  */
1477 /*#define HAS_ENDPROTOENT               /**/
1478
1479 /* HAS_ENDSERVENT:
1480  *      This symbol, if defined, indicates that the endservent() routine is
1481  *      available to close whatever was being used for service queries.
1482  */
1483 /*#define HAS_ENDSERVENT                /**/
1484
1485 /* HAS_GETHOSTBYADDR:
1486  *      This symbol, if defined, indicates that the gethostbyaddr() routine is
1487  *      available to look up hosts by their IP addresses.
1488  */
1489 #define HAS_GETHOSTBYADDR               /**/
1490
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.
1494  */
1495 #define HAS_GETHOSTBYNAME               /**/
1496
1497 /* HAS_GETHOSTENT:
1498  *      This symbol, if defined, indicates that the gethostent() routine is
1499  *      available to look up host names in some data base or another.
1500  */
1501 #define HAS_GETHOSTENT          /**/
1502
1503 /* HAS_GETNETBYADDR:
1504  *      This symbol, if defined, indicates that the getnetbyaddr() routine is
1505  *      available to look up networks by their IP addresses.
1506  */
1507 #define HAS_GETNETBYADDR                /**/
1508
1509 /* HAS_GETNETBYNAME:
1510  *      This symbol, if defined, indicates that the getnetbyname() routine is
1511  *      available to look up networks by their names.
1512  */
1513 #define HAS_GETNETBYNAME                /**/
1514
1515 /* HAS_GETNETENT:
1516  *      This symbol, if defined, indicates that the getnetent() routine is
1517  *      available to look up network names in some data base or another.
1518  */
1519 #define HAS_GETNETENT           /**/
1520
1521 /* HAS_GETPROTOENT:
1522  *      This symbol, if defined, indicates that the getprotoent() routine is
1523  *      available to look up protocols in some data base or another.
1524  */
1525 #define HAS_GETPROTOENT         /**/
1526
1527 /* HAS_GETPROTOBYNAME:
1528  *      This symbol, if defined, indicates that the getprotobyname()
1529  *      routine is available to look up protocols by their name.
1530  */
1531 /* HAS_GETPROTOBYNUMBER:
1532  *      This symbol, if defined, indicates that the getprotobynumber()
1533  *      routine is available to look up protocols by their number.
1534  */
1535 #define HAS_GETPROTOBYNAME              /**/
1536 #define HAS_GETPROTOBYNUMBER            /**/
1537
1538 /* HAS_GETSERVENT:
1539  *      This symbol, if defined, indicates that the getservent() routine is
1540  *      available to look up network services in some data base or another.
1541  */
1542 #define HAS_GETSERVENT          /**/
1543
1544 /* HAS_GETSERVBYNAME:
1545  *      This symbol, if defined, indicates that the getservbyname()
1546  *      routine is available to look up services by their name.
1547  */
1548 /* HAS_GETSERVBYPORT:
1549  *      This symbol, if defined, indicates that the getservbyport()
1550  *      routine is available to look up services by their port.
1551  */
1552 #define HAS_GETSERVBYNAME               /**/
1553 #define HAS_GETSERVBYPORT               /**/
1554
1555 /* HAS_LONG_DOUBLE:
1556  *      This symbol will be defined if the C compiler supports long
1557  *      doubles.
1558  */
1559 /* LONG_DOUBLESIZE:
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.
1563  */
1564 #define HAS_LONG_DOUBLE         /**/
1565 #ifdef HAS_LONG_DOUBLE
1566 #define LONG_DOUBLESIZE 8               /**/
1567 #endif
1568
1569 /* HAS_LONG_LONG:
1570  *      This symbol will be defined if the C compiler supports
1571  *      long long.
1572  */
1573 /* LONGLONGSIZE:
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.
1577  */
1578 /*#define HAS_LONG_LONG         /**/
1579 #ifdef HAS_LONG_LONG
1580 /*#define LONGLONGSIZE $longlongsize            /**/
1581 #endif
1582
1583 /* HAS_SETGROUPS:
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.
1587  */
1588 /*#define HAS_SETGROUPS         /**/
1589
1590 /* HAS_SETHOSTENT:
1591  *      This symbol, if defined, indicates that the sethostent() routine is
1592  *      available.
1593  */
1594 #define HAS_SETHOSTENT          /**/
1595
1596 /* HAS_SETNETENT:
1597  *      This symbol, if defined, indicates that the setnetent() routine is
1598  *      available.
1599  */
1600 #define HAS_SETNETENT           /**/
1601
1602 /* HAS_SETPROTOENT:
1603  *      This symbol, if defined, indicates that the setprotoent() routine is
1604  *      available.
1605  */
1606 #define HAS_SETPROTOENT         /**/
1607
1608 /* HAS_SETSERVENT:
1609  *      This symbol, if defined, indicates that the setservent() routine is
1610  *      available.
1611  */
1612 #define HAS_SETSERVENT          /**/
1613
1614 /* HAS_SETVBUF:
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.
1618  */
1619 #define HAS_SETVBUF             /**/
1620
1621 /* HAS_SOCKET:
1622  *      This symbol, if defined, indicates that the BSD socket interface is
1623  *      supported.
1624  */
1625 /* HAS_SOCKETPAIR:
1626  *      This symbol, if defined, indicates that the BSD socketpair() call is
1627  *      supported.
1628  */
1629 #define HAS_SOCKET              /**/
1630 /*#define HAS_SOCKETPAIR        / **/
1631
1632 /* HAS_UNION_SEMUN:
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:
1636  *      union semun {
1637  *          int val;
1638  *          struct semid_ds *buf;
1639  *          unsigned short *array;
1640  *      }
1641  */
1642 /* USE_SEMCTL_SEMUN:
1643  *      This symbol, if defined, indicates that union semun is
1644  *      used for semctl IPC_STAT.
1645  */
1646 /* USE_SEMCTL_SEMID_DS:
1647  *      This symbol, if defined, indicates that struct semid_ds * is
1648  *      used for semctl IPC_STAT.
1649  */
1650 /*#define HAS_UNION_SEMUN       /**/
1651 /*#define USE_SEMCTL_SEMUN      /**/
1652 /*#define USE_SEMCTL_SEMID_DS   /**/
1653
1654 /* Signal_t:
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)".
1659  */
1660 #define Signal_t void   /* Signal handler's return type */
1661
1662 /* Groups_t:
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()..
1670  */
1671 #if defined(HAS_GETGROUPS) || defined(HAS_SETGROUPS)
1672 #define Groups_t gid_t  /* Type for 2nd arg to [gs]etgroups() */
1673 #endif
1674
1675 /* I_NETDB:
1676  *      This symbol, if defined, indicates that <netdb.h> exists and
1677  *      should be included.
1678  */
1679 #define I_NETDB         /**/
1680
1681 /* I_PWD:
1682  *      This symbol, if defined, indicates to the C program that it should
1683  *      include <pwd.h>.
1684  */
1685 /* PWQUOTA:
1686  *      This symbol, if defined, indicates to the C program that struct passwd
1687  *      contains pw_quota.
1688  */
1689 /* PWAGE:
1690  *      This symbol, if defined, indicates to the C program that struct passwd
1691  *      contains pw_age.
1692  */
1693 /* PWCHANGE:
1694  *      This symbol, if defined, indicates to the C program that struct passwd
1695  *      contains pw_change.
1696  */
1697 /* PWCLASS:
1698  *      This symbol, if defined, indicates to the C program that struct passwd
1699  *      contains pw_class.
1700  */
1701 /* PWEXPIRE:
1702  *      This symbol, if defined, indicates to the C program that struct passwd
1703  *      contains pw_expire.
1704  */
1705 /* PWCOMMENT:
1706  *      This symbol, if defined, indicates to the C program that struct passwd
1707  *      contains pw_comment.
1708  */
1709 /* PWGECOS:
1710  *      This symbol, if defined, indicates to the C program that struct passwd
1711  *      contains pw_gecos.
1712  */
1713 /* PWPASSWD:
1714  *      This symbol, if defined, indicates to the C program that struct passwd
1715  *      contains pw_passwd.
1716  */
1717 /* HAS_SETPWENT:
1718  *      This symbol, if defined, indicates that the getpwrent routine is
1719  *      available for initializing sequential access of the passwd database.
1720  */
1721 /* HAS_GETPWENT:
1722  *      This symbol, if defined, indicates that the getpwent routine is
1723  *      available for sequential access of the password database.
1724  */
1725 /* HAS_ENDPWENT:
1726  *      This symbol, if defined, indicates that the getpwent routine is
1727  *      available for finalizing sequential access of the passwd database.
1728  */
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  /**/
1741
1742 /* Free_t:
1743  *      This variable contains the return type of free().  It is usually
1744  * void, but occasionally int.
1745  */
1746 /* Malloc_t:
1747  *      This symbol is the type of pointer returned by malloc and realloc.
1748  */
1749 #define Malloc_t void *                 /**/
1750 #define Free_t void                     /**/
1751
1752 /* MYMALLOC:
1753  *      This symbol, if defined, indicates that we're using our own malloc.
1754  */
1755 /*#define MYMALLOC                      /**/
1756
1757 /* SIG_NAME:
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.
1770  */
1771 /* SIG_NUM:
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.
1784  */
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        /**/
1787
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
1790
1791 /* VOIDFLAGS:
1792  *      This symbol indicates how much support of the void type is given by this
1793  *      compiler.  What various bits mean:
1794  *
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
1800  *
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.
1806  */
1807 #ifndef VOIDUSED
1808 #define VOIDUSED 15
1809 #endif
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 */
1814 #endif
1815
1816 /* ARCHLIB:
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.
1824  */
1825 /* ARCHLIB_EXP:
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.
1828  */
1829 /*#define ARCHLIB "/opt/perl/lib/i86pc-solaris/5.00305"         /**/
1830 /*#define ARCHLIB_EXP "/opt/perl/lib/i86pc-solaris/5.00305"             /**/
1831
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.
1837  */
1838 /*#define       DLSYM_NEEDS_UNDERSCORE  /**/
1839
1840 /* USE_SFIO:
1841  *      This symbol, if defined, indicates that sfio should
1842  *      be used.
1843  */
1844 /*#define       USE_SFIO                /**/
1845
1846 /* USE_DYNAMIC_LOADING:
1847  *      This symbol, if defined, indicates that dynamic loading of
1848  *      some sort is available.
1849  */
1850 /*#define USE_DYNAMIC_LOADING           /**/
1851
1852 /* DB_Prefix_t:
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.
1856  */
1857 /* DB_Hash_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.
1861  */
1862 /*#define DB_Hash_t     int             /**/
1863 /*#define DB_Prefix_t   int     /**/
1864
1865 /* PRIVLIB:
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.
1870  */
1871 /* PRIVLIB_EXP:
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.
1874  */
1875 #define PRIVLIB "/system/ported/perl"           /**/
1876 #define PRIVLIB_EXP "/system/ported/perl"               /**/
1877
1878 /* SITEARCH:
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
1885  *      this directory.
1886  */
1887 /* SITEARCH_EXP:
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.
1890  */
1891 #define SITEARCH "/system/ported/site_command_library"          /**/
1892 #define SITEARCH_EXP "/system/ported/site_command_library"              /**/
1893
1894 /* SITELIB:
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
1901  *      this directory.
1902  */
1903 /* SITELIB_EXP:
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.
1906  */
1907 #define SITELIB "/system/ported/site_command_library"           /**/
1908 #define SITELIB_EXP "/system/ported/site_command_library"               /**/
1909
1910 /* STARTPERL:
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
1913  *      some shell.
1914  */
1915 #define STARTPERL "!perl.pm"            /**/
1916
1917 /* USE_PERLIO:
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.
1921  */
1922 /*#define       USE_PERLIO              / **/
1923
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.
1929  */
1930 #define HAS_GETHOST_PROTOS      /**/
1931
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.
1937  */
1938 #define HAS_GETNET_PROTOS       /**/
1939
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.
1945  */
1946 #define HAS_GETPROTO_PROTOS     /**/
1947
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.
1953  */
1954 #define HAS_GETSERV_PROTOS      /**/
1955
1956 /* Netdb_host_t:
1957  *      This symbol holds the type used for the 1st argument
1958  *      to gethostbyaddr().
1959  */
1960 /* Netdb_hlen_t:
1961  *      This symbol holds the type used for the 2nd argument
1962  *      to gethostbyaddr().
1963  */
1964 /* Netdb_name_t:
1965  *      This symbol holds the type used for the argument to
1966  *      gethostbyname().
1967  */
1968 /* Netdb_net_t:
1969  *      This symbol holds the type used for the 1st argument to
1970  *      getnetbyaddr().
1971  */
1972 #define Netdb_host_t            char * /**/
1973 #define Netdb_hlen_t            int /**/
1974 #define Netdb_name_t            char * /**/
1975 #define Netdb_net_t             long /**/
1976
1977 /* Select_fd_set_t:
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.
1982  */
1983 #define Select_fd_set_t         fd_set *        /**/
1984
1985 /* ARCHNAME:
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
1989  *      instance.
1990  */
1991 #define ARCHNAME "vos"  /**/
1992
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
1996  *      thread.
1997  */
1998 /* HAS_SCHED_YIELD:
1999  *      This symbol, if defined, indicates that the sched_yield
2000  *      routine is available to yield the execution of the current
2001  *      thread.
2002  */
2003 /*#define HAS_PTHREAD_YIELD     /**/
2004 /*#define HAS_SCHED_YIELD       /**/
2005
2006 /* USE_THREADS:
2007  *      This symbol, if defined, indicates that Perl should
2008  *      be built to use threads.
2009  */
2010 /* OLD_PTHREADS_API:
2011  *      This symbol, if defined, indicates that Perl should
2012  *      be built to use the old draft POSIX threads API.
2013  */
2014 /*#define       USE_THREADS             /**/
2015 /*#define       OLD_PTHREADS_API                /**/
2016
2017 /* Time_t:
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
2020  *      included).
2021  */
2022 #define Time_t time_t           /* Time type */
2023
2024 /* HAS_TIMES:
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>.
2028  */
2029 #define HAS_TIMES               /**/
2030
2031 /* Fpos_t:
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.
2035  */
2036 #define Fpos_t fpos_t           /* File position type */
2037
2038 /* Gid_t:
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.
2044  */
2045 #define Gid_t gid_t             /* Type for getgid(), etc... */
2046
2047 /* Off_t:
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.
2051  */
2052 #define Off_t off_t             /* <offset> type */
2053
2054 /* Mode_t:
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.
2059  */
2060 #define Mode_t mode_t    /* file mode parameter for system calls */
2061
2062 /* Pid_t:
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.
2066  */
2067 #define Pid_t pid_t             /* PID type */
2068
2069 /* Size_t:
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.
2074  */
2075 #define Size_t size_t    /* length paramater for string functions */
2076
2077 /* Uid_t:
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.
2081  */
2082 #define Uid_t uid_t             /* UID type */
2083
2084 /* _POSIX_C_SOURCE:
2085  *      VOS must have this symbol defined before we include any of the
2086  *      standard headers (e.g., sys/types.h).
2087  */
2088 #ifndef _POSIX_C_SOURCE
2089 #define _POSIX_C_SOURCE
2090 #endif
2091
2092 #endif