Commit | Line | Data |
---|---|---|
921b2963 JH |
1 | /* This file (config_H) is a sample config.h file. If you are unable |
2 | to successfully run Configure, copy this file to config.h and | |
3 | edit it to suit your system. | |
4 | */ | |
85e6fe83 LW |
5 | /* |
6 | * This file was produced by running the config_h.SH script, which | |
8d063cd8 LW |
7 | * gets its values from config.sh, which is generally produced by |
8 | * running Configure. | |
9 | * | |
10 | * Feel free to modify any of this as the need arises. Note, however, | |
1aef975c AD |
11 | * that running config_h.SH again will wipe out any changes you've made. |
12 | * For a more permanent change edit config.sh and rerun config_h.SH. | |
85e6fe83 | 13 | * |
dfe9444c | 14 | * $Id: Config_h.U,v 3.0.1.5 1997/02/28 14:57:43 ram Exp $ |
8d063cd8 | 15 | */ |
a687059c | 16 | |
dfe9444c AD |
17 | /* |
18 | * Package name : perl5 | |
11dc3f68 | 19 | * Source directory : . |
e0a10278 | 20 | * Configuration time: Sat Nov 13 15:28:21 EET 1999 |
921b2963 | 21 | * Configured by : jhi |
11dc3f68 | 22 | * Target system : osf1 alpha.hut.fi v4.0 878 alpha |
68decaef | 23 | */ |
68decaef | 24 | |
85e6fe83 LW |
25 | #ifndef _config_h_ |
26 | #define _config_h_ | |
fe14fcc3 | 27 | |
dfe9444c AD |
28 | /* LOC_SED: |
29 | * This symbol holds the complete pathname to the sed program. | |
774d564b | 30 | */ |
327c3667 | 31 | #define LOC_SED "/usr/bin/sed" /**/ |
774d564b | 32 | |
a0d0e21e LW |
33 | /* HAS_ALARM: |
34 | * This symbol, if defined, indicates that the alarm routine is | |
35 | * available. | |
36 | */ | |
37 | #define HAS_ALARM /**/ | |
a687059c | 38 | |
ecfc5424 AD |
39 | /* HASATTRIBUTE: |
40 | * This symbol indicates the C compiler can check for function attributes, | |
41 | * such as printf formats. This is normally only supported by GNU cc. | |
42 | */ | |
0617aed7 | 43 | /*#define HASATTRIBUTE / **/ |
ecfc5424 AD |
44 | #ifndef HASATTRIBUTE |
45 | #define __attribute__(_arg_) | |
46 | #endif | |
47 | ||
85e6fe83 LW |
48 | /* HAS_BCMP: |
49 | * This symbol is defined if the bcmp() routine is available to | |
50 | * compare blocks of memory. | |
a687059c | 51 | */ |
9003a523 | 52 | #define HAS_BCMP /**/ |
a687059c | 53 | |
85e6fe83 LW |
54 | /* HAS_BCOPY: |
55 | * This symbol is defined if the bcopy() routine is available to | |
56 | * copy blocks of memory. | |
a687059c | 57 | */ |
9003a523 | 58 | #define HAS_BCOPY /**/ |
fe14fcc3 | 59 | |
85e6fe83 LW |
60 | /* HAS_BZERO: |
61 | * This symbol is defined if the bzero() routine is available to | |
62 | * set a memory block to 0. | |
fe14fcc3 | 63 | */ |
9003a523 | 64 | #define HAS_BZERO /**/ |
8d063cd8 | 65 | |
a0d0e21e LW |
66 | /* HAS_CHOWN: |
67 | * This symbol, if defined, indicates that the chown routine is | |
68 | * available. | |
69 | */ | |
70 | #define HAS_CHOWN /**/ | |
71 | ||
72 | /* HAS_CHROOT: | |
73 | * This symbol, if defined, indicates that the chroot routine is | |
74 | * available. | |
75 | */ | |
76 | #define HAS_CHROOT /**/ | |
8d063cd8 | 77 | |
85e6fe83 | 78 | /* HAS_CHSIZE: |
fe14fcc3 LW |
79 | * This symbol, if defined, indicates that the chsize routine is available |
80 | * to truncate files. You might need a -lx to get this routine. | |
81 | */ | |
20e68413 | 82 | /*#define HAS_CHSIZE / **/ |
ecfc5424 | 83 | |
85e6fe83 LW |
84 | /* HASCONST: |
85 | * This symbol, if defined, indicates that this C compiler knows about | |
86 | * the const type. There is no need to actually test for that symbol | |
87 | * within your programs. The mere use of the "const" keyword will | |
88 | * trigger the necessary tests. | |
89 | */ | |
4633a7c4 | 90 | #define HASCONST /**/ |
85e6fe83 LW |
91 | #ifndef HASCONST |
92 | #define const | |
93 | #endif | |
fe14fcc3 | 94 | |
85e6fe83 | 95 | /* HAS_CRYPT: |
a687059c LW |
96 | * This symbol, if defined, indicates that the crypt routine is available |
97 | * to encrypt passwords and the like. | |
98 | */ | |
85e6fe83 | 99 | #define HAS_CRYPT /**/ |
fe14fcc3 | 100 | |
a0d0e21e LW |
101 | /* HAS_CUSERID: |
102 | * This symbol, if defined, indicates that the cuserid routine is | |
103 | * available to get character login names. | |
a687059c | 104 | */ |
a0d0e21e LW |
105 | #define HAS_CUSERID /**/ |
106 | ||
107 | /* HAS_DBL_DIG: | |
108 | * This symbol, if defined, indicates that this system's <float.h> | |
109 | * or <limits.h> defines the symbol DBL_DIG, which is the number | |
110 | * of significant digits in a double precision number. If this | |
111 | * symbol is not defined, a guess of 15 is usually pretty good. | |
112 | */ | |
113 | #define HAS_DBL_DIG /* */ | |
114 | ||
115 | /* HAS_DIFFTIME: | |
116 | * This symbol, if defined, indicates that the difftime routine is | |
117 | * available. | |
118 | */ | |
119 | #define HAS_DIFFTIME /**/ | |
a687059c | 120 | |
ecfc5424 AD |
121 | /* HAS_DLERROR: |
122 | * This symbol, if defined, indicates that the dlerror routine is | |
123 | * available to return a string describing the last error that | |
124 | * occurred from a call to dlopen(), dlclose() or dlsym(). | |
125 | */ | |
4633a7c4 | 126 | #define HAS_DLERROR /**/ |
ecfc5424 | 127 | |
dfe9444c AD |
128 | /* SETUID_SCRIPTS_ARE_SECURE_NOW: |
129 | * This symbol, if defined, indicates that the bug that prevents | |
130 | * setuid scripts from being secure is not present in this kernel. | |
131 | */ | |
132 | /* DOSUID: | |
133 | * This symbol, if defined, indicates that the C program should | |
134 | * check the script that it is executing for setuid/setgid bits, and | |
135 | * attempt to emulate setuid/setgid on systems that have disabled | |
136 | * setuid #! scripts because the kernel can't do it securely. | |
137 | * It is up to the package designer to make sure that this emulation | |
138 | * is done securely. Among other things, it should do an fstat on | |
139 | * the script it just opened to make sure it really is a setuid/setgid | |
140 | * script, it should make sure the arguments passed correspond exactly | |
141 | * to the argument on the #! line, and it should not trust any | |
142 | * subprocesses to which it must pass the filename rather than the | |
143 | * file descriptor of the script to be executed. | |
144 | */ | |
921b2963 | 145 | /*#define SETUID_SCRIPTS_ARE_SECURE_NOW / **/ |
dfe9444c AD |
146 | /*#define DOSUID / **/ |
147 | ||
85e6fe83 LW |
148 | /* HAS_DUP2: |
149 | * This symbol, if defined, indicates that the dup2 routine is | |
150 | * available to duplicate file descriptors. | |
a687059c | 151 | */ |
85e6fe83 | 152 | #define HAS_DUP2 /**/ |
a687059c | 153 | |
85e6fe83 | 154 | /* HAS_FCHMOD: |
a687059c LW |
155 | * This symbol, if defined, indicates that the fchmod routine is available |
156 | * to change mode of opened files. If unavailable, use chmod(). | |
157 | */ | |
4633a7c4 | 158 | #define HAS_FCHMOD /**/ |
a687059c | 159 | |
85e6fe83 | 160 | /* HAS_FCHOWN: |
a687059c LW |
161 | * This symbol, if defined, indicates that the fchown routine is available |
162 | * to change ownership of opened files. If unavailable, use chown(). | |
163 | */ | |
4633a7c4 | 164 | #define HAS_FCHOWN /**/ |
a687059c | 165 | |
85e6fe83 | 166 | /* HAS_FCNTL: |
fe14fcc3 LW |
167 | * This symbol, if defined, indicates to the C program that |
168 | * the fcntl() function exists. | |
a687059c | 169 | */ |
85e6fe83 | 170 | #define HAS_FCNTL /**/ |
a687059c | 171 | |
a0d0e21e LW |
172 | /* HAS_FGETPOS: |
173 | * This symbol, if defined, indicates that the fgetpos routine is | |
174 | * available to get the file position indicator, similar to ftell(). | |
175 | */ | |
4633a7c4 | 176 | #define HAS_FGETPOS /**/ |
a0d0e21e | 177 | |
85e6fe83 | 178 | /* FLEXFILENAMES: |
fe14fcc3 LW |
179 | * This symbol, if defined, indicates that the system supports filenames |
180 | * longer than 14 characters. | |
181 | */ | |
4633a7c4 | 182 | #define FLEXFILENAMES /**/ |
fe14fcc3 | 183 | |
85e6fe83 LW |
184 | /* HAS_FLOCK: |
185 | * This symbol, if defined, indicates that the flock routine is | |
a687059c LW |
186 | * available to do file locking. |
187 | */ | |
921b2963 | 188 | #define HAS_FLOCK /**/ |
a0d0e21e LW |
189 | |
190 | /* HAS_FORK: | |
191 | * This symbol, if defined, indicates that the fork routine is | |
192 | * available. | |
193 | */ | |
194 | #define HAS_FORK /**/ | |
195 | ||
196 | /* HAS_FSETPOS: | |
197 | * This symbol, if defined, indicates that the fsetpos routine is | |
198 | * available to set the file position indicator, similar to fseek(). | |
199 | */ | |
4633a7c4 | 200 | #define HAS_FSETPOS /**/ |
ecfc5424 | 201 | |
5f05dabc | 202 | /* HAS_GETTIMEOFDAY: |
203 | * This symbol, if defined, indicates that the gettimeofday() system | |
204 | * call is available for a sub-second accuracy clock. Usually, the file | |
205 | * <sys/resource.h> needs to be included (see I_SYS_RESOURCE). | |
206 | * The type "Timeval" should be used to refer to "struct timeval". | |
207 | */ | |
dfe9444c | 208 | #define HAS_GETTIMEOFDAY /**/ |
5f05dabc | 209 | #ifdef HAS_GETTIMEOFDAY |
210 | #define Timeval struct timeval /* Structure used by gettimeofday() */ | |
211 | #endif | |
212 | ||
85e6fe83 | 213 | /* HAS_GETGROUPS: |
a687059c LW |
214 | * This symbol, if defined, indicates that the getgroups() routine is |
215 | * available to get the list of process groups. If unavailable, multiple | |
216 | * groups are probably not supported. | |
217 | */ | |
85e6fe83 | 218 | #define HAS_GETGROUPS /**/ |
a687059c | 219 | |
a0d0e21e LW |
220 | /* HAS_GETLOGIN: |
221 | * This symbol, if defined, indicates that the getlogin routine is | |
222 | * available to get the login name. | |
223 | */ | |
224 | #define HAS_GETLOGIN /**/ | |
225 | ||
dfe9444c AD |
226 | /* HAS_GETPGID: |
227 | * This symbol, if defined, indicates to the C program that | |
228 | * the getpgid(pid) function is available to get the | |
229 | * process group id. | |
230 | */ | |
231 | #define HAS_GETPGID /**/ | |
232 | ||
233 | /* HAS_GETPGRP: | |
234 | * This symbol, if defined, indicates that the getpgrp routine is | |
235 | * available to get the current process group. | |
236 | */ | |
237 | /* USE_BSD_GETPGRP: | |
238 | * This symbol, if defined, indicates that getpgrp needs one | |
239 | * arguments whereas USG one needs none. | |
240 | */ | |
241 | #define HAS_GETPGRP /**/ | |
242 | /*#define USE_BSD_GETPGRP / **/ | |
243 | ||
85e6fe83 | 244 | /* HAS_GETPGRP2: |
fe14fcc3 LW |
245 | * This symbol, if defined, indicates that the getpgrp2() (as in DG/UX) |
246 | * routine is available to get the current process group. | |
247 | */ | |
20e68413 | 248 | /*#define HAS_GETPGRP2 / **/ |
a687059c | 249 | |
a0d0e21e LW |
250 | /* HAS_GETPPID: |
251 | * This symbol, if defined, indicates that the getppid routine is | |
252 | * available to get the parent process ID. | |
253 | */ | |
254 | #define HAS_GETPPID /**/ | |
255 | ||
85e6fe83 LW |
256 | /* HAS_GETPRIORITY: |
257 | * This symbol, if defined, indicates that the getpriority routine is | |
a687059c LW |
258 | * available to get a process's priority. |
259 | */ | |
9003a523 | 260 | #define HAS_GETPRIORITY /**/ |
a0d0e21e | 261 | |
dfe9444c AD |
262 | /* HAS_INET_ATON: |
263 | * This symbol, if defined, indicates to the C program that the | |
264 | * inet_aton() function is available to parse IP address "dotted-quad" | |
265 | * strings. | |
ecfc5424 | 266 | */ |
921b2963 | 267 | #define HAS_INET_ATON /**/ |
ecfc5424 | 268 | |
85e6fe83 | 269 | /* HAS_KILLPG: |
a687059c LW |
270 | * This symbol, if defined, indicates that the killpg routine is available |
271 | * to kill process groups. If unavailable, you probably should use kill | |
272 | * with a negative process number. | |
273 | */ | |
9003a523 | 274 | #define HAS_KILLPG /**/ |
a687059c | 275 | |
85e6fe83 LW |
276 | /* HAS_LINK: |
277 | * This symbol, if defined, indicates that the link routine is | |
278 | * available to create hard links. | |
fe14fcc3 | 279 | */ |
85e6fe83 | 280 | #define HAS_LINK /**/ |
fe14fcc3 | 281 | |
ecfc5424 AD |
282 | /* HAS_LOCALECONV: |
283 | * This symbol, if defined, indicates that the localeconv routine is | |
284 | * available for numeric and monetary formatting conventions. | |
285 | */ | |
286 | #define HAS_LOCALECONV /**/ | |
287 | ||
a0d0e21e LW |
288 | /* HAS_LOCKF: |
289 | * This symbol, if defined, indicates that the lockf routine is | |
290 | * available to do file locking. | |
291 | */ | |
292 | #define HAS_LOCKF /**/ | |
293 | ||
85e6fe83 LW |
294 | /* HAS_LSTAT: |
295 | * This symbol, if defined, indicates that the lstat routine is | |
296 | * available to do file stats on symbolic links. | |
a687059c | 297 | */ |
85e6fe83 | 298 | #define HAS_LSTAT /**/ |
a687059c | 299 | |
a0d0e21e LW |
300 | /* HAS_MBLEN: |
301 | * This symbol, if defined, indicates that the mblen routine is available | |
302 | * to find the number of bytes in a multibye character. | |
303 | */ | |
4633a7c4 | 304 | #define HAS_MBLEN /**/ |
a0d0e21e LW |
305 | |
306 | /* HAS_MBSTOWCS: | |
307 | * This symbol, if defined, indicates that the mbstowcs routine is | |
308 | * available to covert a multibyte string into a wide character string. | |
309 | */ | |
4633a7c4 | 310 | #define HAS_MBSTOWCS /**/ |
a0d0e21e LW |
311 | |
312 | /* HAS_MBTOWC: | |
313 | * This symbol, if defined, indicates that the mbtowc routine is available | |
314 | * to covert a multibyte to a wide character. | |
315 | */ | |
4633a7c4 | 316 | #define HAS_MBTOWC /**/ |
a0d0e21e | 317 | |
85e6fe83 LW |
318 | /* HAS_MEMCMP: |
319 | * This symbol, if defined, indicates that the memcmp routine is available | |
320 | * to compare blocks of memory. | |
a687059c | 321 | */ |
85e6fe83 LW |
322 | #define HAS_MEMCMP /**/ |
323 | ||
324 | /* HAS_MEMCPY: | |
68decaef | 325 | * This symbol, if defined, indicates that the memcpy routine is available |
85e6fe83 | 326 | * to copy blocks of memory. |
68decaef | 327 | */ |
85e6fe83 | 328 | #define HAS_MEMCPY /**/ |
68decaef | 329 | |
85e6fe83 | 330 | /* HAS_MEMMOVE: |
68decaef | 331 | * This symbol, if defined, indicates that the memmove routine is available |
85e6fe83 LW |
332 | * to copy potentially overlapping blocks of memory. This should be used |
333 | * only when HAS_SAFE_BCOPY is not defined. If neither is there, roll your | |
334 | * own version. | |
68decaef | 335 | */ |
4633a7c4 | 336 | #define HAS_MEMMOVE /**/ |
68decaef | 337 | |
85e6fe83 | 338 | /* HAS_MEMSET: |
68decaef | 339 | * This symbol, if defined, indicates that the memset routine is available |
85e6fe83 | 340 | * to set blocks of memory. |
68decaef | 341 | */ |
85e6fe83 | 342 | #define HAS_MEMSET /**/ |
a687059c | 343 | |
85e6fe83 | 344 | /* HAS_MKDIR: |
a687059c LW |
345 | * This symbol, if defined, indicates that the mkdir routine is available |
346 | * to create directories. Otherwise you should fork off a new process to | |
347 | * exec /bin/mkdir. | |
348 | */ | |
85e6fe83 | 349 | #define HAS_MKDIR /**/ |
fe14fcc3 | 350 | |
ecfc5424 AD |
351 | /* HAS_MKFIFO: |
352 | * This symbol, if defined, indicates that the mkfifo routine is | |
353 | * available to create FIFOs. Otherwise, mknod should be able to | |
354 | * do it for you. However, if mkfifo is there, mknod might require | |
355 | * super-user privileges which mkfifo will not. | |
356 | */ | |
357 | #define HAS_MKFIFO /**/ | |
358 | ||
a0d0e21e LW |
359 | /* HAS_MKTIME: |
360 | * This symbol, if defined, indicates that the mktime routine is | |
361 | * available. | |
362 | */ | |
363 | #define HAS_MKTIME /**/ | |
364 | ||
a0d0e21e LW |
365 | /* HAS_NICE: |
366 | * This symbol, if defined, indicates that the nice routine is | |
367 | * available. | |
fe14fcc3 | 368 | */ |
a0d0e21e | 369 | #define HAS_NICE /**/ |
fe14fcc3 | 370 | |
ecfc5424 AD |
371 | /* HAS_PATHCONF: |
372 | * This symbol, if defined, indicates that pathconf() is available | |
373 | * to determine file-system related limits and options associated | |
374 | * with a given filename. | |
375 | */ | |
376 | /* HAS_FPATHCONF: | |
377 | * This symbol, if defined, indicates that pathconf() is available | |
378 | * to determine file-system related limits and options associated | |
379 | * with a given open file descriptor. | |
380 | */ | |
381 | #define HAS_PATHCONF /**/ | |
382 | #define HAS_FPATHCONF /**/ | |
383 | ||
a0d0e21e LW |
384 | /* HAS_PAUSE: |
385 | * This symbol, if defined, indicates that the pause routine is | |
386 | * available to suspend a process until a signal is received. | |
a687059c | 387 | */ |
a0d0e21e | 388 | #define HAS_PAUSE /**/ |
fe14fcc3 | 389 | |
a0d0e21e LW |
390 | /* HAS_PIPE: |
391 | * This symbol, if defined, indicates that the pipe routine is | |
392 | * available to create an inter-process channel. | |
fe14fcc3 | 393 | */ |
a0d0e21e LW |
394 | #define HAS_PIPE /**/ |
395 | ||
4633a7c4 LW |
396 | /* HAS_POLL: |
397 | * This symbol, if defined, indicates that the poll routine is | |
dfe9444c AD |
398 | * available to poll active file descriptors. You may safely |
399 | * include <poll.h> when this symbol is defined. | |
4633a7c4 LW |
400 | */ |
401 | #define HAS_POLL /**/ | |
402 | ||
a0d0e21e LW |
403 | /* HAS_READDIR: |
404 | * This symbol, if defined, indicates that the readdir routine is | |
405 | * available to read directory entries. You may have to include | |
406 | * <dirent.h>. See I_DIRENT. | |
407 | */ | |
408 | #define HAS_READDIR /**/ | |
409 | ||
410 | /* HAS_SEEKDIR: | |
411 | * This symbol, if defined, indicates that the seekdir routine is | |
412 | * available. You may have to include <dirent.h>. See I_DIRENT. | |
413 | */ | |
414 | #define HAS_SEEKDIR /**/ | |
415 | ||
416 | /* HAS_TELLDIR: | |
417 | * This symbol, if defined, indicates that the telldir routine is | |
418 | * available. You may have to include <dirent.h>. See I_DIRENT. | |
419 | */ | |
420 | #define HAS_TELLDIR /**/ | |
421 | ||
422 | /* HAS_REWINDDIR: | |
423 | * This symbol, if defined, indicates that the rewinddir routine is | |
424 | * available. You may have to include <dirent.h>. See I_DIRENT. | |
425 | */ | |
426 | #define HAS_REWINDDIR /**/ | |
427 | ||
428 | /* HAS_READLINK: | |
429 | * This symbol, if defined, indicates that the readlink routine is | |
430 | * available to read the value of a symbolic link. | |
431 | */ | |
432 | #define HAS_READLINK /**/ | |
a687059c | 433 | |
85e6fe83 | 434 | /* HAS_RENAME: |
a687059c LW |
435 | * This symbol, if defined, indicates that the rename routine is available |
436 | * to rename files. Otherwise you should do the unlink(), link(), unlink() | |
437 | * trick. | |
438 | */ | |
85e6fe83 | 439 | #define HAS_RENAME /**/ |
a687059c | 440 | |
85e6fe83 LW |
441 | /* HAS_RMDIR: |
442 | * This symbol, if defined, indicates that the rmdir routine is | |
443 | * available to remove directories. Otherwise you should fork off a | |
444 | * new process to exec /bin/rmdir. | |
68decaef | 445 | */ |
85e6fe83 | 446 | #define HAS_RMDIR /**/ |
68decaef | 447 | |
85e6fe83 LW |
448 | /* HAS_SELECT: |
449 | * This symbol, if defined, indicates that the select routine is | |
450 | * available to select active file descriptors. If the timeout field | |
451 | * is used, <sys/time.h> may need to be included. | |
68decaef | 452 | */ |
85e6fe83 | 453 | #define HAS_SELECT /**/ |
68decaef | 454 | |
85e6fe83 | 455 | /* HAS_SETEGID: |
a687059c LW |
456 | * This symbol, if defined, indicates that the setegid routine is available |
457 | * to change the effective gid of the current program. | |
458 | */ | |
85e6fe83 | 459 | #define HAS_SETEGID /**/ |
a687059c | 460 | |
85e6fe83 | 461 | /* HAS_SETEUID: |
a687059c LW |
462 | * This symbol, if defined, indicates that the seteuid routine is available |
463 | * to change the effective uid of the current program. | |
464 | */ | |
85e6fe83 LW |
465 | #define HAS_SETEUID /**/ |
466 | ||
a0d0e21e LW |
467 | /* HAS_SETLINEBUF: |
468 | * This symbol, if defined, indicates that the setlinebuf routine is | |
469 | * available to change stderr or stdout from block-buffered or unbuffered | |
470 | * to a line-buffered mode. | |
471 | */ | |
9003a523 | 472 | #define HAS_SETLINEBUF /**/ |
a0d0e21e LW |
473 | |
474 | /* HAS_SETLOCALE: | |
475 | * This symbol, if defined, indicates that the setlocale routine is | |
476 | * available to handle locale-specific ctype implementations. | |
477 | */ | |
478 | #define HAS_SETLOCALE /**/ | |
479 | ||
dfe9444c AD |
480 | /* HAS_SETPGID: |
481 | * This symbol, if defined, indicates that the setpgid(pid, gpid) | |
482 | * routine is available to set process group ID. | |
483 | */ | |
484 | #define HAS_SETPGID /**/ | |
485 | ||
486 | /* HAS_SETPGRP: | |
487 | * This symbol, if defined, indicates that the setpgrp routine is | |
488 | * available to set the current process group. | |
489 | */ | |
490 | /* USE_BSD_SETPGRP: | |
491 | * This symbol, if defined, indicates that setpgrp needs two | |
492 | * arguments whereas USG one needs none. See also HAS_SETPGID | |
493 | * for a POSIX interface. | |
494 | */ | |
495 | #define HAS_SETPGRP /**/ | |
921b2963 | 496 | #define USE_BSD_SETPGRP /**/ |
dfe9444c | 497 | |
85e6fe83 | 498 | /* HAS_SETPGRP2: |
fe14fcc3 LW |
499 | * This symbol, if defined, indicates that the setpgrp2() (as in DG/UX) |
500 | * routine is available to set the current process group. | |
501 | */ | |
20e68413 | 502 | /*#define HAS_SETPGRP2 / **/ |
fe14fcc3 | 503 | |
85e6fe83 LW |
504 | /* HAS_SETPRIORITY: |
505 | * This symbol, if defined, indicates that the setpriority routine is | |
a687059c LW |
506 | * available to set a process's priority. |
507 | */ | |
9003a523 | 508 | #define HAS_SETPRIORITY /**/ |
a687059c | 509 | |
85e6fe83 | 510 | /* HAS_SETREGID: |
fe14fcc3 | 511 | * This symbol, if defined, indicates that the setregid routine is |
85e6fe83 LW |
512 | * available to change the real and effective gid of the current |
513 | * process. | |
a687059c | 514 | */ |
85e6fe83 | 515 | /* HAS_SETRESGID: |
fe14fcc3 LW |
516 | * This symbol, if defined, indicates that the setresgid routine is |
517 | * available to change the real, effective and saved gid of the current | |
85e6fe83 | 518 | * process. |
fe14fcc3 | 519 | */ |
9003a523 | 520 | #define HAS_SETREGID /**/ |
20e68413 | 521 | /*#define HAS_SETRESGID / **/ |
a687059c | 522 | |
85e6fe83 | 523 | /* HAS_SETREUID: |
fe14fcc3 | 524 | * This symbol, if defined, indicates that the setreuid routine is |
85e6fe83 LW |
525 | * available to change the real and effective uid of the current |
526 | * process. | |
fe14fcc3 | 527 | */ |
85e6fe83 | 528 | /* HAS_SETRESUID: |
fe14fcc3 LW |
529 | * This symbol, if defined, indicates that the setresuid routine is |
530 | * available to change the real, effective and saved uid of the current | |
85e6fe83 | 531 | * process. |
a687059c | 532 | */ |
9003a523 | 533 | #define HAS_SETREUID /**/ |
20e68413 | 534 | /*#define HAS_SETRESUID / **/ |
a687059c | 535 | |
85e6fe83 | 536 | /* HAS_SETRGID: |
a687059c LW |
537 | * This symbol, if defined, indicates that the setrgid routine is available |
538 | * to change the real gid of the current program. | |
539 | */ | |
921b2963 | 540 | #define HAS_SETRGID /**/ |
a687059c | 541 | |
85e6fe83 | 542 | /* HAS_SETRUID: |
a687059c LW |
543 | * This symbol, if defined, indicates that the setruid routine is available |
544 | * to change the real uid of the current program. | |
545 | */ | |
921b2963 | 546 | #define HAS_SETRUID /**/ |
fe14fcc3 | 547 | |
85e6fe83 LW |
548 | /* HAS_SETSID: |
549 | * This symbol, if defined, indicates that the setsid routine is | |
550 | * available to set the process group ID. | |
fe14fcc3 | 551 | */ |
85e6fe83 | 552 | #define HAS_SETSID /**/ |
fe14fcc3 | 553 | |
a0d0e21e LW |
554 | /* Shmat_t: |
555 | * This symbol holds the return type of the shmat() system call. | |
556 | * Usually set to 'void *' or 'char *'. | |
fe14fcc3 | 557 | */ |
a0d0e21e LW |
558 | /* HAS_SHMAT_PROTOTYPE: |
559 | * This symbol, if defined, indicates that the sys/shm.h includes | |
560 | * a prototype for shmat(). Otherwise, it is up to the program to | |
86959918 | 561 | * guess one. Shmat_t shmat _((int, Shmat_t, int)) is a good guess, |
a0d0e21e LW |
562 | * but not always right so it should be emitted by the program only |
563 | * when HAS_SHMAT_PROTOTYPE is not defined to avoid conflicting defs. | |
fe14fcc3 | 564 | */ |
4633a7c4 LW |
565 | #define Shmat_t void * /**/ |
566 | #define HAS_SHMAT_PROTOTYPE /**/ | |
a687059c | 567 | |
a0d0e21e LW |
568 | /* HAS_STRCHR: |
569 | * This symbol is defined to indicate that the strchr()/strrchr() | |
570 | * functions are available for string searching. If not, try the | |
571 | * index()/rindex() pair. | |
572 | */ | |
573 | /* HAS_INDEX: | |
574 | * This symbol is defined to indicate that the index()/rindex() | |
575 | * functions are available for string searching. | |
576 | */ | |
577 | #define HAS_STRCHR /**/ | |
20e68413 | 578 | /*#define HAS_INDEX / **/ |
a0d0e21e LW |
579 | |
580 | /* HAS_STRCOLL: | |
581 | * This symbol, if defined, indicates that the strcoll routine is | |
582 | * available to compare strings using collating information. | |
583 | */ | |
584 | #define HAS_STRCOLL /**/ | |
585 | ||
85e6fe83 | 586 | /* USE_STRUCT_COPY: |
8d063cd8 LW |
587 | * This symbol, if defined, indicates that this C compiler knows how |
588 | * to copy structures. If undefined, you'll need to use a block copy | |
589 | * routine of some sort instead. | |
590 | */ | |
85e6fe83 | 591 | #define USE_STRUCT_COPY /**/ |
fe14fcc3 | 592 | |
55497cff | 593 | /* HAS_STRTOD: |
594 | * This symbol, if defined, indicates that the strtod routine is | |
774d564b | 595 | * available to provide better numeric string conversion than atof(). |
55497cff | 596 | */ |
597 | #define HAS_STRTOD /**/ | |
598 | ||
599 | /* HAS_STRTOL: | |
774d564b | 600 | * This symbol, if defined, indicates that the strtol routine is available |
601 | * to provide better numeric string conversion than atoi() and friends. | |
55497cff | 602 | */ |
603 | #define HAS_STRTOL /**/ | |
604 | ||
605 | /* HAS_STRTOUL: | |
606 | * This symbol, if defined, indicates that the strtoul routine is | |
774d564b | 607 | * available to provide conversion of strings to unsigned long. |
55497cff | 608 | */ |
609 | #define HAS_STRTOUL /**/ | |
610 | ||
a0d0e21e LW |
611 | /* HAS_STRXFRM: |
612 | * This symbol, if defined, indicates that the strxfrm() routine is | |
613 | * available to transform strings. | |
614 | */ | |
615 | #define HAS_STRXFRM /**/ | |
616 | ||
85e6fe83 | 617 | /* HAS_SYMLINK: |
a687059c LW |
618 | * This symbol, if defined, indicates that the symlink routine is available |
619 | * to create symbolic links. | |
620 | */ | |
85e6fe83 | 621 | #define HAS_SYMLINK /**/ |
a687059c | 622 | |
85e6fe83 LW |
623 | /* HAS_SYSCALL: |
624 | * This symbol, if defined, indicates that the syscall routine is | |
625 | * available to call arbitrary system calls. If undefined, that's tough. | |
a687059c | 626 | */ |
85e6fe83 | 627 | #define HAS_SYSCALL /**/ |
a687059c | 628 | |
ecfc5424 AD |
629 | /* HAS_SYSCONF: |
630 | * This symbol, if defined, indicates that sysconf() is available | |
631 | * to determine system related limits and options. | |
632 | */ | |
633 | #define HAS_SYSCONF /**/ | |
634 | ||
85e6fe83 LW |
635 | /* HAS_SYSTEM: |
636 | * This symbol, if defined, indicates that the system routine is | |
637 | * available to issue a shell command. | |
68decaef | 638 | */ |
85e6fe83 | 639 | #define HAS_SYSTEM /**/ |
68decaef | 640 | |
a0d0e21e LW |
641 | /* HAS_TCGETPGRP: |
642 | * This symbol, if defined, indicates that the tcgetpgrp routine is | |
643 | * available to get foreground process group ID. | |
644 | */ | |
645 | #define HAS_TCGETPGRP /**/ | |
646 | ||
647 | /* HAS_TCSETPGRP: | |
648 | * This symbol, if defined, indicates that the tcsetpgrp routine is | |
649 | * available to set foreground process group ID. | |
85e6fe83 | 650 | */ |
a0d0e21e | 651 | #define HAS_TCSETPGRP /**/ |
85e6fe83 | 652 | |
85e6fe83 | 653 | /* HAS_TRUNCATE: |
fe14fcc3 LW |
654 | * This symbol, if defined, indicates that the truncate routine is |
655 | * available to truncate files. | |
a687059c | 656 | */ |
4633a7c4 | 657 | #define HAS_TRUNCATE /**/ |
a0d0e21e LW |
658 | |
659 | /* HAS_TZNAME: | |
660 | * This symbol, if defined, indicates that the tzname[] array is | |
661 | * available to access timezone names. | |
662 | */ | |
663 | #define HAS_TZNAME /**/ | |
664 | ||
665 | /* HAS_UMASK: | |
666 | * This symbol, if defined, indicates that the umask routine is | |
667 | * available to set and get the value of the file creation mask. | |
668 | */ | |
669 | #define HAS_UMASK /**/ | |
a687059c | 670 | |
85e6fe83 | 671 | /* HASVOLATILE: |
fe14fcc3 LW |
672 | * This symbol, if defined, indicates that this C compiler knows about |
673 | * the volatile declaration. | |
674 | */ | |
4633a7c4 | 675 | #define HASVOLATILE /**/ |
85e6fe83 LW |
676 | #ifndef HASVOLATILE |
677 | #define volatile | |
678 | #endif | |
fe14fcc3 | 679 | |
85e6fe83 | 680 | /* HAS_WAIT4: |
fe14fcc3 LW |
681 | * This symbol, if defined, indicates that wait4() exists. |
682 | */ | |
9003a523 | 683 | #define HAS_WAIT4 /**/ |
fe14fcc3 | 684 | |
85e6fe83 LW |
685 | /* HAS_WAITPID: |
686 | * This symbol, if defined, indicates that the waitpid routine is | |
687 | * available to wait for child process. | |
fe14fcc3 | 688 | */ |
85e6fe83 | 689 | #define HAS_WAITPID /**/ |
fe14fcc3 | 690 | |
a0d0e21e LW |
691 | /* HAS_WCSTOMBS: |
692 | * This symbol, if defined, indicates that the wcstombs routine is | |
693 | * available to convert wide character strings to multibyte strings. | |
694 | */ | |
4633a7c4 | 695 | #define HAS_WCSTOMBS /**/ |
a0d0e21e LW |
696 | |
697 | /* HAS_WCTOMB: | |
698 | * This symbol, if defined, indicates that the wctomb routine is available | |
699 | * to covert a wide character to a multibyte. | |
700 | */ | |
4633a7c4 | 701 | #define HAS_WCTOMB /**/ |
a0d0e21e | 702 | |
93341792 | 703 | /* I_ARPA_INET: |
327c3667 GS |
704 | * This symbol, if defined, indicates to the C program that it should |
705 | * include <arpa/inet.h> to get inet_addr and friends declarations. | |
93341792 | 706 | */ |
11dc3f68 | 707 | #define I_ARPA_INET /**/ |
93341792 | 708 | |
dfe9444c AD |
709 | /* I_DBM: |
710 | * This symbol, if defined, indicates that <dbm.h> exists and should | |
711 | * be included. | |
232e078e | 712 | */ |
dfe9444c AD |
713 | /* I_RPCSVC_DBM: |
714 | * This symbol, if defined, indicates that <rpcsvc/dbm.h> exists and | |
715 | * should be included. | |
232e078e | 716 | */ |
921b2963 JH |
717 | #define I_DBM /**/ |
718 | /*#define I_RPCSVC_DBM / **/ | |
232e078e | 719 | |
85e6fe83 LW |
720 | /* I_DIRENT: |
721 | * This symbol, if defined, indicates to the C program that it should | |
722 | * include <dirent.h>. Using this symbol also triggers the definition | |
723 | * of the Direntry_t define which ends up being 'struct dirent' or | |
724 | * 'struct direct' depending on the availability of <dirent.h>. | |
725 | */ | |
726 | /* DIRNAMLEN: | |
727 | * This symbol, if defined, indicates to the C program that the length | |
728 | * of directory entry names is provided by a d_namlen field. Otherwise | |
729 | * you need to do strlen() on the d_name field. | |
2b317908 | 730 | */ |
a0d0e21e LW |
731 | /* Direntry_t: |
732 | * This symbol is set to 'struct direct' or 'struct dirent' depending on | |
733 | * whether dirent is available or not. You should use this pseudo type to | |
734 | * portably declare your directory entries. | |
735 | */ | |
85e6fe83 | 736 | #define I_DIRENT /**/ |
921b2963 | 737 | #define DIRNAMLEN /**/ |
85e6fe83 | 738 | #define Direntry_t struct dirent |
a0d0e21e LW |
739 | |
740 | /* I_DLFCN: | |
741 | * This symbol, if defined, indicates that <dlfcn.h> exists and should | |
742 | * be included. | |
743 | */ | |
4633a7c4 | 744 | #define I_DLFCN /**/ |
a687059c | 745 | |
85e6fe83 | 746 | /* I_FCNTL: |
fe14fcc3 | 747 | * This manifest constant tells the C program to include <fcntl.h>. |
a687059c | 748 | */ |
921b2963 | 749 | /*#define I_FCNTL / **/ |
a687059c | 750 | |
a0d0e21e LW |
751 | /* I_FLOAT: |
752 | * This symbol, if defined, indicates to the C program that it should | |
753 | * include <float.h> to get definition of symbols like DBL_MAX or | |
754 | * DBL_MIN, i.e. machine dependent floating point values. | |
a687059c | 755 | */ |
a0d0e21e | 756 | #define I_FLOAT /**/ |
a687059c | 757 | |
a0d0e21e LW |
758 | /* I_LIMITS: |
759 | * This symbol, if defined, indicates to the C program that it should | |
760 | * include <limits.h> to get definition of symbols like WORD_BIT or | |
761 | * LONG_MAX, i.e. machine dependant limitations. | |
762 | */ | |
763 | #define I_LIMITS /**/ | |
764 | ||
dfe9444c AD |
765 | /* I_LOCALE: |
766 | * This symbol, if defined, indicates to the C program that it should | |
767 | * include <locale.h>. | |
768 | */ | |
769 | #define I_LOCALE /**/ | |
770 | ||
a0d0e21e LW |
771 | /* I_MATH: |
772 | * This symbol, if defined, indicates to the C program that it should | |
773 | * include <math.h>. | |
774 | */ | |
775 | #define I_MATH /**/ | |
776 | ||
777 | /* I_MEMORY: | |
778 | * This symbol, if defined, indicates to the C program that it should | |
779 | * include <memory.h>. | |
780 | */ | |
20e68413 | 781 | /*#define I_MEMORY / **/ |
a0d0e21e | 782 | |
232e078e | 783 | /* I_NDBM: |
16d20bd9 | 784 | * This symbol, if defined, indicates that <ndbm.h> exists and should |
232e078e AD |
785 | * be included. |
786 | */ | |
787 | #define I_NDBM /**/ | |
788 | ||
ecfc5424 AD |
789 | /* I_NET_ERRNO: |
790 | * This symbol, if defined, indicates that <net/errno.h> exists and | |
791 | * should be included. | |
fe14fcc3 | 792 | */ |
20e68413 | 793 | /*#define I_NET_ERRNO / **/ |
fe14fcc3 | 794 | |
85e6fe83 | 795 | /* I_NETINET_IN: |
a687059c | 796 | * This symbol, if defined, indicates to the C program that it should |
85e6fe83 | 797 | * include <netinet/in.h>. Otherwise, you may try <sys/in.h>. |
a687059c | 798 | */ |
85e6fe83 | 799 | #define I_NETINET_IN /**/ |
85e6fe83 | 800 | |
dfe9444c AD |
801 | /* I_SFIO: |
802 | * This symbol, if defined, indicates to the C program that it should | |
803 | * include <sfio.h>. | |
804 | */ | |
805 | /*#define I_SFIO / **/ | |
85e6fe83 LW |
806 | |
807 | /* I_STDDEF: | |
808 | * This symbol, if defined, indicates that <stddef.h> exists and should | |
809 | * be included. | |
fe14fcc3 | 810 | */ |
85e6fe83 LW |
811 | #define I_STDDEF /**/ |
812 | ||
a0d0e21e LW |
813 | /* I_STDLIB: |
814 | * This symbol, if defined, indicates that <stdlib.h> exists and should | |
815 | * be included. | |
816 | */ | |
817 | #define I_STDLIB /**/ | |
818 | ||
85e6fe83 LW |
819 | /* I_STRING: |
820 | * This symbol, if defined, indicates to the C program that it should | |
821 | * include <string.h> (USG systems) instead of <strings.h> (BSD systems). | |
fe14fcc3 | 822 | */ |
85e6fe83 LW |
823 | #define I_STRING /**/ |
824 | ||
825 | /* I_SYS_DIR: | |
826 | * This symbol, if defined, indicates to the C program that it should | |
827 | * include <sys/dir.h>. | |
fe14fcc3 | 828 | */ |
921b2963 | 829 | #define I_SYS_DIR /**/ |
a687059c | 830 | |
85e6fe83 LW |
831 | /* I_SYS_FILE: |
832 | * This symbol, if defined, indicates to the C program that it should | |
833 | * include <sys/file.h> to get definition of R_OK and friends. | |
a687059c | 834 | */ |
921b2963 | 835 | #define I_SYS_FILE /**/ |
a687059c | 836 | |
85e6fe83 LW |
837 | /* I_SYS_IOCTL: |
838 | * This symbol, if defined, indicates that <sys/ioctl.h> exists and should | |
839 | * be included. Otherwise, include <sgtty.h> or <termio.h>. | |
a687059c | 840 | */ |
85e6fe83 | 841 | #define I_SYS_IOCTL /**/ |
a687059c | 842 | |
85e6fe83 LW |
843 | /* I_SYS_NDIR: |
844 | * This symbol, if defined, indicates to the C program that it should | |
845 | * include <sys/ndir.h>. | |
fe14fcc3 | 846 | */ |
20e68413 | 847 | /*#define I_SYS_NDIR / **/ |
85e6fe83 | 848 | |
a0d0e21e LW |
849 | /* I_SYS_PARAM: |
850 | * This symbol, if defined, indicates to the C program that it should | |
851 | * include <sys/param.h>. | |
852 | */ | |
853 | #define I_SYS_PARAM /**/ | |
854 | ||
9003a523 | 855 | /* I_SYS_RESOURCE: |
856 | * This symbol, if defined, indicates to the C program that it should | |
857 | * include <sys/resource.h>. | |
858 | */ | |
859 | #define I_SYS_RESOURCE /**/ | |
860 | ||
85e6fe83 LW |
861 | /* I_SYS_SELECT: |
862 | * This symbol, if defined, indicates to the C program that it should | |
863 | * include <sys/select.h> in order to get definition of struct timeval. | |
fe14fcc3 | 864 | */ |
4633a7c4 | 865 | #define I_SYS_SELECT /**/ |
85e6fe83 | 866 | |
dfe9444c AD |
867 | /* I_SYS_STAT: |
868 | * This symbol, if defined, indicates to the C program that it should | |
869 | * include <sys/stat.h>. | |
870 | */ | |
871 | #define I_SYS_STAT /**/ | |
872 | ||
a0d0e21e | 873 | /* I_SYS_TIMES: |
85e6fe83 | 874 | * This symbol, if defined, indicates to the C program that it should |
a0d0e21e | 875 | * include <sys/times.h>. |
fe14fcc3 | 876 | */ |
a0d0e21e LW |
877 | #define I_SYS_TIMES /**/ |
878 | ||
bd89102f AD |
879 | /* I_SYS_TYPES: |
880 | * This symbol, if defined, indicates to the C program that it should | |
881 | * include <sys/types.h>. | |
882 | */ | |
883 | #define I_SYS_TYPES /**/ | |
884 | ||
fbfd4aab | 885 | /* I_SYS_UN: |
886 | * This symbol, if defined, indicates to the C program that it should | |
887 | * include <sys/un.h> to get UNIX domain socket definitions. | |
888 | */ | |
889 | #define I_SYS_UN /**/ | |
890 | ||
9003a523 | 891 | /* I_SYS_WAIT: |
892 | * This symbol, if defined, indicates to the C program that it should | |
893 | * include <sys/wait.h>. | |
894 | */ | |
895 | #define I_SYS_WAIT /**/ | |
896 | ||
a0d0e21e LW |
897 | /* I_TERMIO: |
898 | * This symbol, if defined, indicates that the program should include | |
899 | * <termio.h> rather than <sgtty.h>. There are also differences in | |
900 | * the ioctl() calls that depend on the value of this symbol. | |
901 | */ | |
902 | /* I_TERMIOS: | |
903 | * This symbol, if defined, indicates that the program should include | |
904 | * the POSIX termios.h rather than sgtty.h or termio.h. | |
905 | * There are also differences in the ioctl() calls that depend on the | |
906 | * value of this symbol. | |
907 | */ | |
908 | /* I_SGTTY: | |
909 | * This symbol, if defined, indicates that the program should include | |
910 | * <sgtty.h> rather than <termio.h>. There are also differences in | |
911 | * the ioctl() calls that depend on the value of this symbol. | |
912 | */ | |
20e68413 | 913 | /*#define I_TERMIO / **/ |
a0d0e21e | 914 | #define I_TERMIOS /**/ |
20e68413 | 915 | /*#define I_SGTTY / **/ |
a0d0e21e | 916 | |
a0d0e21e LW |
917 | /* I_UNISTD: |
918 | * This symbol, if defined, indicates to the C program that it should | |
919 | * include <unistd.h>. | |
920 | */ | |
921 | #define I_UNISTD /**/ | |
922 | ||
85e6fe83 | 923 | /* I_UTIME: |
a687059c | 924 | * This symbol, if defined, indicates to the C program that it should |
85e6fe83 | 925 | * include <utime.h>. |
a687059c | 926 | */ |
85e6fe83 | 927 | #define I_UTIME /**/ |
a687059c | 928 | |
dfe9444c AD |
929 | /* I_VALUES: |
930 | * This symbol, if defined, indicates to the C program that it should | |
931 | * include <values.h> to get definition of symbols like MINFLOAT or | |
932 | * MAXLONG, i.e. machine dependant limitations. Probably, you | |
933 | * should use <limits.h> instead, if it is available. | |
934 | */ | |
935 | #define I_VALUES /**/ | |
936 | ||
9003a523 | 937 | /* I_STDARG: |
938 | * This symbol, if defined, indicates that <stdarg.h> exists and should | |
939 | * be included. | |
940 | */ | |
941 | /* I_VARARGS: | |
942 | * This symbol, if defined, indicates to the C program that it should | |
943 | * include <varargs.h>. | |
944 | */ | |
945 | #define I_STDARG /**/ | |
20e68413 | 946 | /*#define I_VARARGS / **/ |
9003a523 | 947 | |
a0d0e21e LW |
948 | /* I_VFORK: |
949 | * This symbol, if defined, indicates to the C program that it should | |
950 | * include vfork.h. | |
951 | */ | |
20e68413 | 952 | /*#define I_VFORK / **/ |
fe14fcc3 | 953 | |
a0d0e21e LW |
954 | /* CAN_PROTOTYPE: |
955 | * If defined, this macro indicates that the C compiler can handle | |
956 | * function prototypes. | |
957 | */ | |
958 | /* _: | |
959 | * This macro is used to declare function parameters for folks who want | |
960 | * to make declarations with prototypes using a different style than | |
961 | * the above macros. Use double parentheses. For example: | |
962 | * | |
963 | * int main _((int argc, char *argv[])); | |
964 | */ | |
4633a7c4 | 965 | #define CAN_PROTOTYPE /**/ |
a0d0e21e LW |
966 | #ifdef CAN_PROTOTYPE |
967 | #define _(args) args | |
968 | #else | |
969 | #define _(args) () | |
970 | #endif | |
85e6fe83 | 971 | |
dfe9444c AD |
972 | /* SH_PATH: |
973 | * This symbol contains the full pathname to the shell used on this | |
974 | * on this system to execute Bourne shell scripts. Usually, this will be | |
975 | * /bin/sh, though it's possible that some systems will have /bin/ksh, | |
976 | * /bin/pdksh, /bin/ash, /bin/bash, or even something such as | |
977 | * D:/bin/sh.exe. | |
a0d0e21e | 978 | */ |
dfe9444c | 979 | #define SH_PATH "/bin/sh" /**/ |
a0d0e21e | 980 | |
85e6fe83 LW |
981 | /* STDCHAR: |
982 | * This symbol is defined to be the type of char used in stdio.h. | |
983 | * It has the values "unsigned char" or "char". | |
fe14fcc3 | 984 | */ |
327c3667 GS |
985 | #define STDCHAR unsigned char /**/ |
986 | ||
de1c2614 JH |
987 | /* HAS_QUAD: |
988 | * This symbol, if defined, tells that there's a 64-bit integer type, | |
989 | * Quad_t. | |
990 | */ | |
a22e52b9 JH |
991 | /* Quad_t: |
992 | * This symbol holds the type used for 64-bit integers. | |
993 | * It can be int, long, long long, int64_t etc... | |
994 | */ | |
a22e52b9 JH |
995 | /* Uquad_t: |
996 | * This symbol holds the type used for unsigned 64-bit integers. | |
997 | * It can be unsigned int, unsigned long, unsigned long long, | |
998 | * uint64_t etc... | |
999 | */ | |
de1c2614 JH |
1000 | #define HAS_QUAD /**/ |
1001 | #define Quad_t long /**/ | |
1002 | #define Uquad_t unsigned long /**/ | |
e0a10278 JH |
1003 | #ifdef HAS_QUAD |
1004 | # define QUADKIND 2 /**/ | |
1005 | # define QUAD_IS_INT 1 | |
1006 | # define QUAD_IS_LONG 2 | |
1007 | # define QUAD_IS_LONG_LONG 3 | |
1008 | # define QUAD_IS_INT64_T 4 | |
1009 | #endif | |
a22e52b9 | 1010 | |
327c3667 GS |
1011 | /* HAS_ACCESSX: |
1012 | * This symbol, if defined, indicates that the accessx routine is | |
1013 | * available to do extended access checks. | |
1014 | */ | |
11dc3f68 | 1015 | /*#define HAS_ACCESSX / **/ |
327c3667 GS |
1016 | |
1017 | /* HAS_EACCESS: | |
1018 | * This symbol, if defined, indicates that the eaccess routine is | |
1019 | * available to do extended access checks. | |
1020 | */ | |
11dc3f68 | 1021 | /*#define HAS_EACCESS / **/ |
327c3667 GS |
1022 | |
1023 | /* I_SYS_ACCESS: | |
1024 | * This symbol, if defined, indicates to the C program that it should | |
921b2963 | 1025 | * include <sys/access.h>. |
327c3667 | 1026 | */ |
11dc3f68 | 1027 | #define I_SYS_ACCESS /**/ |
327c3667 GS |
1028 | |
1029 | /* I_SYS_SECURITY: | |
1030 | * This symbol, if defined, indicates to the C program that it should | |
1031 | * include <sys/security.h>. | |
1032 | */ | |
11dc3f68 | 1033 | #define I_SYS_SECURITY /**/ |
85e6fe83 | 1034 | |
af4c28eb CS |
1035 | /* CROSSCOMPILE: |
1036 | * This symbol, if defined, signifies that we our | |
1037 | * build process is a cross-compilation. | |
1038 | */ | |
11dc3f68 | 1039 | /*#define CROSSCOMPILE / **/ |
af4c28eb CS |
1040 | |
1041 | /* INTSIZE: | |
1042 | * This symbol contains the value of sizeof(int) so that the C | |
1043 | * preprocessor can make decisions based on it. | |
1044 | */ | |
1045 | /* LONGSIZE: | |
1046 | * This symbol contains the value of sizeof(long) so that the C | |
1047 | * preprocessor can make decisions based on it. | |
1048 | */ | |
1049 | /* SHORTSIZE: | |
1050 | * This symbol contains the value of sizeof(short) so that the C | |
1051 | * preprocessor can make decisions based on it. | |
1052 | */ | |
1053 | #define INTSIZE 4 /**/ | |
1054 | #define LONGSIZE 8 /**/ | |
1055 | #define SHORTSIZE 2 /**/ | |
1056 | ||
1057 | /* MULTIARCH: | |
1058 | * This symbol, if defined, signifies that the build | |
1059 | * process will produce some binary files that are going to be | |
1060 | * used in a cross-platform environment. This is the case for | |
1061 | * example with the NeXT "fat" binaries that contain executables | |
1062 | * for several CPUs. | |
1063 | */ | |
11dc3f68 | 1064 | /*#define MULTIARCH / **/ |
af4c28eb | 1065 | |
dfe9444c | 1066 | /* MEM_ALIGNBYTES: |
af4c28eb CS |
1067 | * This symbol contains the number of bytes required to align a |
1068 | * double. Usual values are 2, 4 and 8. The default is eight, | |
1069 | * for safety. | |
5f05dabc | 1070 | */ |
af4c28eb CS |
1071 | #if defined(CROSSCOMPILE) || defined(MULTIARCH) |
1072 | # define MEM_ALIGNBYTES 8 | |
1073 | #else | |
1074 | #define MEM_ALIGNBYTES 8 | |
1075 | #endif | |
5f05dabc | 1076 | |
4633a7c4 | 1077 | /* BYTEORDER: |
9003a523 | 1078 | * This symbol holds the hexadecimal constant defined in byteorder, |
4633a7c4 | 1079 | * i.e. 0x1234 or 0x4321, etc... |
af4c28eb CS |
1080 | * If the compiler supports cross-compiling or multiple-architecture |
1081 | * binaries (eg. on NeXT systems), use compiler-defined macros to | |
1082 | * determine the byte order. | |
dfe9444c | 1083 | * On NeXT 3.2 (and greater), you can build "Fat" Multiple Architecture |
9003a523 | 1084 | * Binaries (MAB) on either big endian or little endian machines. |
1085 | * The endian-ness is available at compile-time. This only matters | |
1086 | * for perl, where the config.h can be generated and installed on | |
1087 | * one system, and used by a different architecture to build an | |
1088 | * extension. Older versions of NeXT that might not have | |
1089 | * defined either *_ENDIAN__ were all on Motorola 680x0 series, | |
1090 | * so the default case (for NeXT) is big endian to catch them. | |
1091 | * This might matter for NeXT 3.0. | |
1092 | */ | |
af4c28eb CS |
1093 | #if defined(CROSSCOMPILE) || defined(MULTIARCH) |
1094 | # ifdef __LITTLE_ENDIAN__ | |
1095 | # if LONGSIZE == 4 | |
1096 | # define BYTEORDER 0x1234 | |
1097 | # else | |
1098 | # if LONGSIZE == 8 | |
1099 | # define BYTEORDER 0x12345678 | |
1100 | # endif | |
1101 | # endif | |
1102 | # else | |
1103 | # ifdef __BIG_ENDIAN__ | |
1104 | # if LONGSIZE == 4 | |
1105 | # define BYTEORDER 0x4321 | |
1106 | # else | |
1107 | # if LONGSIZE == 8 | |
1108 | # define BYTEORDER 0x87654321 | |
1109 | # endif | |
1110 | # endif | |
1111 | # endif | |
1112 | # endif | |
1113 | # if !defined(BYTEORDER) && (defined(NeXT) || defined(__NeXT__)) | |
1114 | # define BYTEORDER 0x4321 | |
1115 | # endif | |
1116 | #else | |
921b2963 | 1117 | #define BYTEORDER 0x12345678 /* large digits for MSB */ |
9003a523 | 1118 | #endif /* NeXT */ |
4633a7c4 | 1119 | |
dfe9444c AD |
1120 | /* CASTI32: |
1121 | * This symbol is defined if the C compiler can cast negative | |
1122 | * or large floating point numbers to 32-bit ints. | |
1aef975c | 1123 | */ |
11dc3f68 | 1124 | /*#define CASTI32 / **/ |
1aef975c | 1125 | |
dfe9444c AD |
1126 | /* CASTNEGFLOAT: |
1127 | * This symbol is defined if the C compiler can cast negative | |
1128 | * numbers to unsigned longs, ints and shorts. | |
85e6fe83 | 1129 | */ |
dfe9444c AD |
1130 | /* CASTFLAGS: |
1131 | * This symbol contains flags that say what difficulties the compiler | |
1132 | * has casting odd floating values to unsigned long: | |
1133 | * 0 = ok | |
1134 | * 1 = couldn't cast < 0 | |
1135 | * 2 = couldn't cast >= 0x80000000 | |
1136 | * 4 = couldn't cast in argument expression list | |
fbfd4aab | 1137 | */ |
e5c9fcd0 AD |
1138 | #define CASTNEGFLOAT /**/ |
1139 | #define CASTFLAGS 0 /**/ | |
dfe9444c AD |
1140 | |
1141 | /* VOID_CLOSEDIR: | |
1142 | * This symbol, if defined, indicates that the closedir() routine | |
1143 | * does not return a value. | |
fbfd4aab | 1144 | */ |
dfe9444c | 1145 | /*#define VOID_CLOSEDIR / **/ |
fbfd4aab | 1146 | |
921b2963 JH |
1147 | /* HAS_FD_SET: |
1148 | * This symbol, when defined, indicates presence of the fd_set typedef | |
1149 | * in <sys/types.h> | |
1150 | */ | |
1151 | #define HAS_FD_SET /**/ | |
1152 | ||
4633a7c4 LW |
1153 | /* Gconvert: |
1154 | * This preprocessor macro is defined to convert a floating point | |
1155 | * number to a string without a trailing decimal point. This | |
1156 | * emulates the behavior of sprintf("%g"), but is sometimes much more | |
1157 | * efficient. If gconvert() is not available, but gcvt() drops the | |
1158 | * trailing decimal point, then gcvt() is used. If all else fails, | |
1159 | * a macro using sprintf("%g") is used. Arguments for the Gconvert | |
1160 | * macro are: value, number of digits, whether trailing zeros should | |
1161 | * be retained, and the output buffer. | |
1162 | * Possible values are: | |
1163 | * d_Gconvert='gconvert((x),(n),(t),(b))' | |
1164 | * d_Gconvert='gcvt((x),(n),(b))' | |
1165 | * d_Gconvert='sprintf((b),"%.*g",(n),(x))' | |
1166 | * The last two assume trailing zeros should not be kept. | |
1167 | */ | |
921b2963 | 1168 | #define Gconvert(x,n,t,b) gcvt((x),(n),(b)) |
4633a7c4 | 1169 | |
dfe9444c | 1170 | /* HAS_GNULIBC: |
d103522a | 1171 | * This symbol, if defined, indicates to the C program that |
dfe9444c | 1172 | * the GNU C library is being used. |
d103522a | 1173 | */ |
327c3667 | 1174 | /*#define HAS_GNULIBC / **/ |
dfe9444c AD |
1175 | /* HAS_ISASCII: |
1176 | * This manifest constant lets the C program know that isascii | |
1177 | * is available. | |
d103522a | 1178 | */ |
dfe9444c | 1179 | #define HAS_ISASCII /**/ |
d103522a | 1180 | |
dd64f1c3 AD |
1181 | /* HAS_LCHOWN: |
1182 | * This symbol, if defined, indicates that the lchown routine is | |
1183 | * available to operate on a symbolic link (instead of following the | |
1184 | * link). | |
1185 | */ | |
11dc3f68 | 1186 | #define HAS_LCHOWN /**/ |
dd64f1c3 | 1187 | |
dfe9444c AD |
1188 | /* HAS_OPEN3: |
1189 | * This manifest constant lets the C program know that the three | |
1190 | * argument form of open(2) is available. | |
774d564b | 1191 | */ |
dfe9444c | 1192 | #define HAS_OPEN3 /**/ |
774d564b | 1193 | |
dfe9444c AD |
1194 | /* HAS_SAFE_BCOPY: |
1195 | * This symbol, if defined, indicates that the bcopy routine is available | |
1196 | * to copy potentially overlapping memory blocks. Otherwise you should | |
1197 | * probably use memmove() or memcpy(). If neither is defined, roll your | |
1198 | * own version. | |
d103522a | 1199 | */ |
dfe9444c | 1200 | #define HAS_SAFE_BCOPY /**/ |
d103522a | 1201 | |
dfe9444c AD |
1202 | /* HAS_SAFE_MEMCPY: |
1203 | * This symbol, if defined, indicates that the memcpy routine is available | |
1204 | * to copy potentially overlapping memory blocks. Otherwise you should | |
1205 | * probably use memmove() or memcpy(). If neither is defined, roll your | |
1206 | * own version. | |
d103522a | 1207 | */ |
0617aed7 | 1208 | /*#define HAS_SAFE_MEMCPY / **/ |
dfe9444c AD |
1209 | |
1210 | /* HAS_SANE_MEMCMP: | |
1211 | * This symbol, if defined, indicates that the memcmp routine is available | |
1212 | * and can be used to compare relative magnitudes of chars with their high | |
1213 | * bits set. If it is not defined, roll your own version. | |
d103522a | 1214 | */ |
dfe9444c | 1215 | #define HAS_SANE_MEMCMP /**/ |
d103522a | 1216 | |
dfe9444c AD |
1217 | /* HAS_SIGACTION: |
1218 | * This symbol, if defined, indicates that Vr4's sigaction() routine | |
1219 | * is available. | |
9003a523 | 1220 | */ |
dfe9444c | 1221 | #define HAS_SIGACTION /**/ |
9003a523 | 1222 | |
921b2963 JH |
1223 | /* HAS_SIGSETJMP: |
1224 | * This variable indicates to the C program that the sigsetjmp() | |
1225 | * routine is available to save the calling process's registers | |
1226 | * and stack environment for later use by siglongjmp(), and | |
1227 | * to optionally save the process's signal mask. See | |
1228 | * Sigjmp_buf, Sigsetjmp, and Siglongjmp. | |
1229 | */ | |
36d1a04a | 1230 | /* Sigjmp_buf: |
9003a523 | 1231 | * This is the buffer type to be used with Sigsetjmp and Siglongjmp. |
36d1a04a | 1232 | */ |
1233 | /* Sigsetjmp: | |
9003a523 | 1234 | * This macro is used in the same way as sigsetjmp(), but will invoke |
1235 | * traditional setjmp() if sigsetjmp isn't available. | |
1236 | * See HAS_SIGSETJMP. | |
36d1a04a | 1237 | */ |
1238 | /* Siglongjmp: | |
9003a523 | 1239 | * This macro is used in the same way as siglongjmp(), but will invoke |
1240 | * traditional longjmp() if siglongjmp isn't available. | |
1241 | * See HAS_SIGSETJMP. | |
36d1a04a | 1242 | */ |
1243 | #define HAS_SIGSETJMP /**/ | |
1244 | #ifdef HAS_SIGSETJMP | |
1245 | #define Sigjmp_buf sigjmp_buf | |
9003a523 | 1246 | #define Sigsetjmp(buf,save_mask) sigsetjmp((buf),(save_mask)) |
1247 | #define Siglongjmp(buf,retval) siglongjmp((buf),(retval)) | |
36d1a04a | 1248 | #else |
1249 | #define Sigjmp_buf jmp_buf | |
9003a523 | 1250 | #define Sigsetjmp(buf,save_mask) setjmp((buf)) |
1251 | #define Siglongjmp(buf,retval) longjmp((buf),(retval)) | |
36d1a04a | 1252 | #endif |
1253 | ||
dfe9444c AD |
1254 | /* USE_STDIO_PTR: |
1255 | * This symbol is defined if the _ptr and _cnt fields (or similar) | |
1256 | * of the stdio FILE structure can be used to access the stdio buffer | |
1257 | * for a file handle. If this is defined, then the FILE_ptr(fp) | |
1258 | * and FILE_cnt(fp) macros will also be defined and should be used | |
1259 | * to access these fields. | |
85e6fe83 | 1260 | */ |
dfe9444c AD |
1261 | /* FILE_ptr: |
1262 | * This macro is used to access the _ptr field (or equivalent) of the | |
1263 | * FILE structure pointed to by its argument. This macro will always be | |
1264 | * defined if USE_STDIO_PTR is defined. | |
1265 | */ | |
1266 | /* STDIO_PTR_LVALUE: | |
1267 | * This symbol is defined if the FILE_ptr macro can be used as an | |
1268 | * lvalue. | |
1269 | */ | |
1270 | /* FILE_cnt: | |
1271 | * This macro is used to access the _cnt field (or equivalent) of the | |
1272 | * FILE structure pointed to by its argument. This macro will always be | |
1273 | * defined if USE_STDIO_PTR is defined. | |
1274 | */ | |
1275 | /* STDIO_CNT_LVALUE: | |
1276 | * This symbol is defined if the FILE_cnt macro can be used as an | |
1277 | * lvalue. | |
1278 | */ | |
1279 | #define USE_STDIO_PTR /**/ | |
1280 | #ifdef USE_STDIO_PTR | |
327c3667 | 1281 | #define FILE_ptr(fp) ((fp)->_ptr) |
dfe9444c | 1282 | #define STDIO_PTR_LVALUE /**/ |
327c3667 GS |
1283 | #define FILE_cnt(fp) ((fp)->_cnt) |
1284 | #define STDIO_CNT_LVALUE /**/ | |
dfe9444c | 1285 | #endif |
4633a7c4 | 1286 | |
dfe9444c AD |
1287 | /* USE_STDIO_BASE: |
1288 | * This symbol is defined if the _base field (or similar) of the | |
1289 | * stdio FILE structure can be used to access the stdio buffer for | |
1290 | * a file handle. If this is defined, then the FILE_base(fp) macro | |
1291 | * will also be defined and should be used to access this field. | |
1292 | * Also, the FILE_bufsiz(fp) macro will be defined and should be used | |
1293 | * to determine the number of bytes in the buffer. USE_STDIO_BASE | |
1294 | * will never be defined unless USE_STDIO_PTR is. | |
4633a7c4 | 1295 | */ |
dfe9444c AD |
1296 | /* FILE_base: |
1297 | * This macro is used to access the _base field (or equivalent) of the | |
1298 | * FILE structure pointed to by its argument. This macro will always be | |
1299 | * defined if USE_STDIO_BASE is defined. | |
1300 | */ | |
1301 | /* FILE_bufsiz: | |
1302 | * This macro is used to determine the number of bytes in the I/O | |
1303 | * buffer pointed to by _base field (or equivalent) of the FILE | |
1304 | * structure pointed to its argument. This macro will always be defined | |
1305 | * if USE_STDIO_BASE is defined. | |
4633a7c4 | 1306 | */ |
dfe9444c AD |
1307 | #define USE_STDIO_BASE /**/ |
1308 | #ifdef USE_STDIO_BASE | |
327c3667 GS |
1309 | #define FILE_base(fp) ((fp)->_base) |
1310 | #define FILE_bufsiz(fp) ((fp)->_cnt + (fp)->_ptr - (fp)->_base) | |
dfe9444c | 1311 | #endif |
4633a7c4 | 1312 | |
dfe9444c AD |
1313 | /* HAS_VPRINTF: |
1314 | * This symbol, if defined, indicates that the vprintf routine is available | |
1315 | * to printf with a pointer to an argument list. If unavailable, you | |
1316 | * may need to write your own, probably in terms of _doprnt(). | |
4633a7c4 | 1317 | */ |
dfe9444c AD |
1318 | /* USE_CHAR_VSPRINTF: |
1319 | * This symbol is defined if this system has vsprintf() returning type | |
1320 | * (char*). The trend seems to be to declare it as "int vsprintf()". It | |
1321 | * is up to the package author to declare vsprintf correctly based on the | |
1322 | * symbol. | |
1323 | */ | |
1324 | #define HAS_VPRINTF /**/ | |
1325 | /*#define USE_CHAR_VSPRINTF / **/ | |
85e6fe83 | 1326 | |
693762b4 AD |
1327 | /* DOUBLESIZE: |
1328 | * This symbol contains the size of a double, so that the C preprocessor | |
1329 | * can make decisions based on it. | |
1330 | */ | |
11dc3f68 | 1331 | #define DOUBLESIZE 8 /**/ |
693762b4 | 1332 | |
dfe9444c | 1333 | /* I_TIME: |
9003a523 | 1334 | * This symbol, if defined, indicates to the C program that it should |
dfe9444c | 1335 | * include <time.h>. |
9003a523 | 1336 | */ |
dfe9444c | 1337 | /* I_SYS_TIME: |
1aef975c | 1338 | * This symbol, if defined, indicates to the C program that it should |
dfe9444c | 1339 | * include <sys/time.h>. |
1aef975c | 1340 | */ |
dfe9444c | 1341 | /* I_SYS_TIME_KERNEL: |
fbfd4aab | 1342 | * This symbol, if defined, indicates to the C program that it should |
dfe9444c | 1343 | * include <sys/time.h> with KERNEL defined. |
fbfd4aab | 1344 | */ |
dfe9444c AD |
1345 | /*#define I_TIME / **/ |
1346 | #define I_SYS_TIME /**/ | |
1347 | /*#define I_SYS_TIME_KERNEL / **/ | |
4633a7c4 | 1348 | |
dfe9444c AD |
1349 | /* VAL_O_NONBLOCK: |
1350 | * This symbol is to be used during open() or fcntl(F_SETFL) to turn on | |
1351 | * non-blocking I/O for the file descriptor. Note that there is no way | |
1352 | * back, i.e. you cannot turn it blocking again this way. If you wish to | |
1353 | * alternatively switch between blocking and non-blocking, use the | |
1354 | * ioctl(FIOSNBIO) call instead, but that is not supported by all devices. | |
1355 | */ | |
1356 | /* VAL_EAGAIN: | |
1357 | * This symbol holds the errno error code set by read() when no data was | |
1358 | * present on the non-blocking file descriptor. | |
1359 | */ | |
1360 | /* RD_NODATA: | |
1361 | * This symbol holds the return code from read() when no data is present | |
1362 | * on the non-blocking file descriptor. Be careful! If EOF_NONBLOCK is | |
1363 | * not defined, then you can't distinguish between no data and EOF by | |
1364 | * issuing a read(). You'll have to find another way to tell for sure! | |
1365 | */ | |
1366 | /* EOF_NONBLOCK: | |
1367 | * This symbol, if defined, indicates to the C program that a read() on | |
1368 | * a non-blocking file descriptor will return 0 on EOF, and not the value | |
1369 | * held in RD_NODATA (-1 usually, in that case!). | |
1370 | */ | |
1371 | #define VAL_O_NONBLOCK O_NONBLOCK | |
1372 | #define VAL_EAGAIN EAGAIN | |
1373 | #define RD_NODATA -1 | |
1374 | #define EOF_NONBLOCK | |
1375 | ||
693762b4 AD |
1376 | /* PTRSIZE: |
1377 | * This symbol contains the size of a pointer, so that the C preprocessor | |
1378 | * can make decisions based on it. It will be sizeof(void *) if | |
1379 | * the compiler supports (void *); otherwise it will be | |
1380 | * sizeof(char *). | |
1381 | */ | |
11dc3f68 | 1382 | #define PTRSIZE 8 /**/ |
693762b4 | 1383 | |
921b2963 JH |
1384 | /* Drand01: |
1385 | * This macro is to be used to generate uniformly distributed | |
1386 | * random numbers over the range [0., 1.[. You may have to supply | |
1387 | * an 'extern double drand48();' in your program since SunOS 4.1.3 | |
1388 | * doesn't provide you with anything relevant in it's headers. | |
1389 | * See HAS_DRAND48_PROTO. | |
1390 | */ | |
1391 | /* Rand_seed_t: | |
1392 | * This symbol defines the type of the argument of the | |
1393 | * random seed function. | |
1394 | */ | |
1395 | /* seedDrand01: | |
1396 | * This symbol defines the macro to be used in seeding the | |
1397 | * random number generator (see Drand01). | |
1398 | */ | |
dfe9444c | 1399 | /* RANDBITS: |
921b2963 JH |
1400 | * This symbol indicates how many bits are produced by the |
1401 | * function used to generate normalized random numbers. | |
1402 | * Values include 15, 16, 31, and 48. | |
dfe9444c | 1403 | */ |
11dc3f68 JH |
1404 | #define Drand01() drand48() /**/ |
1405 | #define Rand_seed_t long /**/ | |
1406 | #define seedDrand01(x) srand48((Rand_seed_t)x) /**/ | |
1407 | #define RANDBITS 48 /**/ | |
dfe9444c AD |
1408 | |
1409 | /* SSize_t: | |
1410 | * This symbol holds the type used by functions that return | |
1411 | * a count of bytes or an error condition. It must be a signed type. | |
1412 | * It is usually ssize_t, but may be long or int, etc. | |
1413 | * It may be necessary to include <sys/types.h> or <unistd.h> | |
1414 | * to get any typedef'ed information. | |
1415 | * We will pick a type such that sizeof(SSize_t) == sizeof(Size_t). | |
85e6fe83 | 1416 | */ |
dfe9444c | 1417 | #define SSize_t ssize_t /* signed count of bytes */ |
85e6fe83 | 1418 | |
327c3667 GS |
1419 | /* EBCDIC: |
1420 | * This symbol, if defined, indicates that this system uses | |
1421 | * EBCDIC encoding. | |
1422 | */ | |
11dc3f68 | 1423 | /*#define EBCDIC / **/ |
327c3667 | 1424 | |
71c4afb4 JH |
1425 | /* ARCHLIB: |
1426 | * This variable, if defined, holds the name of the directory in | |
1427 | * which the user wants to put architecture-dependent public | |
1428 | * library files for perl5. It is most often a local directory | |
1429 | * such as /usr/local/lib. Programs using this variable must be | |
1430 | * prepared to deal with filename expansion. If ARCHLIB is the | |
1431 | * same as PRIVLIB, it is not defined, since presumably the | |
1432 | * program already searches PRIVLIB. | |
1433 | */ | |
1434 | /* ARCHLIB_EXP: | |
1435 | * This symbol contains the ~name expanded version of ARCHLIB, to be used | |
1436 | * in programs that are not prepared to deal with ~ expansion at run-time. | |
1437 | */ | |
785fb66b JH |
1438 | #define ARCHLIB "/opt/perl/lib/5.00563/alpha-dec_osf-thread" /**/ |
1439 | #define ARCHLIB_EXP "/opt/perl/lib/5.00563/alpha-dec_osf-thread" /**/ | |
71c4afb4 JH |
1440 | |
1441 | /* BIN: | |
1442 | * This symbol holds the path of the bin directory where the package will | |
1443 | * be installed. Program must be prepared to deal with ~name substitution. | |
1444 | */ | |
1445 | /* BIN_EXP: | |
1446 | * This symbol is the filename expanded version of the BIN symbol, for | |
1447 | * programs that do not want to deal with that at run-time. | |
1448 | */ | |
0617aed7 JH |
1449 | #define BIN "/opt/perl/bin" /**/ |
1450 | #define BIN_EXP "/opt/perl/bin" /**/ | |
71c4afb4 JH |
1451 | |
1452 | /* INSTALL_USR_BIN_PERL: | |
1453 | * This symbol, if defined, indicates that Perl is to be installed | |
1454 | * also as /usr/bin/perl. | |
1455 | */ | |
11dc3f68 | 1456 | #define INSTALL_USR_BIN_PERL /**/ |
71c4afb4 JH |
1457 | |
1458 | /* PRIVLIB: | |
1459 | * This symbol contains the name of the private library for this package. | |
1460 | * The library is private in the sense that it needn't be in anyone's | |
1461 | * execution path, but it should be accessible by the world. The program | |
1462 | * should be prepared to do ~ expansion. | |
1463 | */ | |
1464 | /* PRIVLIB_EXP: | |
1465 | * This symbol contains the ~name expanded version of PRIVLIB, to be used | |
1466 | * in programs that are not prepared to deal with ~ expansion at run-time. | |
1467 | */ | |
785fb66b JH |
1468 | #define PRIVLIB "/opt/perl/lib/5.00563" /**/ |
1469 | #define PRIVLIB_EXP "/opt/perl/lib/5.00563" /**/ | |
71c4afb4 JH |
1470 | |
1471 | /* SITEARCH: | |
1472 | * This symbol contains the name of the private library for this package. | |
1473 | * The library is private in the sense that it needn't be in anyone's | |
1474 | * execution path, but it should be accessible by the world. The program | |
1475 | * should be prepared to do ~ expansion. | |
1476 | * The standard distribution will put nothing in this directory. | |
f868067f JH |
1477 | * After perl has been installed, users may install their own local |
1478 | * architecture-dependent modules in this directory with | |
1479 | * MakeMaker Makefile.PL | |
1480 | * or equivalent. See INSTALL for details. | |
71c4afb4 JH |
1481 | */ |
1482 | /* SITEARCH_EXP: | |
1483 | * This symbol contains the ~name expanded version of SITEARCH, to be used | |
1484 | * in programs that are not prepared to deal with ~ expansion at run-time. | |
1485 | */ | |
785fb66b JH |
1486 | #define SITEARCH "/opt/perl/lib/site_perl/5.00563/alpha-dec_osf-thread" /**/ |
1487 | #define SITEARCH_EXP "/opt/perl/lib/site_perl/5.00563/alpha-dec_osf-thread" /**/ | |
71c4afb4 JH |
1488 | |
1489 | /* SITELIB: | |
1490 | * This symbol contains the name of the private library for this package. | |
1491 | * The library is private in the sense that it needn't be in anyone's | |
1492 | * execution path, but it should be accessible by the world. The program | |
1493 | * should be prepared to do ~ expansion. | |
1494 | * The standard distribution will put nothing in this directory. | |
f868067f JH |
1495 | * After perl has been installed, users may install their own local |
1496 | * architecture-independent modules in this directory with | |
1497 | * MakeMaker Makefile.PL | |
1498 | * or equivalent. See INSTALL for details. | |
71c4afb4 JH |
1499 | */ |
1500 | /* SITELIB_EXP: | |
1501 | * This symbol contains the ~name expanded version of SITELIB, to be used | |
1502 | * in programs that are not prepared to deal with ~ expansion at run-time. | |
1503 | */ | |
0617aed7 JH |
1504 | #define SITELIB "/opt/perl/lib/site_perl" /**/ |
1505 | #define SITELIB_EXP "/opt/perl/lib/site_perl" /**/ | |
71c4afb4 | 1506 | |
a3635516 JH |
1507 | /* PERL_VENDORLIB_EXP: |
1508 | * This symbol contains the ~name expanded version of VENDORLIB, to be used | |
1509 | * in programs that are not prepared to deal with ~ expansion at run-time. | |
1510 | */ | |
11dc3f68 | 1511 | /*#define PERL_VENDORLIB_EXP "" / **/ |
a3635516 | 1512 | |
dfe9444c AD |
1513 | /* OSNAME: |
1514 | * This symbol contains the name of the operating system, as determined | |
1515 | * by Configure. You shouldn't rely on it too much; the specific | |
1516 | * feature tests from Configure are generally more reliable. | |
1517 | */ | |
921b2963 | 1518 | #define OSNAME "dec_osf" /**/ |
dfe9444c | 1519 | |
dfe9444c AD |
1520 | /* CAT2: |
1521 | * This macro catenates 2 tokens together. | |
1522 | */ | |
1523 | /* STRINGIFY: | |
1524 | * This macro surrounds its token with double quotes. | |
1525 | */ | |
1526 | #if 42 == 1 | |
1527 | #define CAT2(a,b)a/**/b | |
1528 | #define STRINGIFY(a)"a" | |
1529 | /* If you can get stringification with catify, tell me how! */ | |
1530 | #endif | |
1531 | #if 42 == 42 | |
1532 | #define CAT2(a,b)a ## b | |
1533 | #define StGiFy(a)# a | |
1534 | #define STRINGIFY(a)StGiFy(a) | |
1535 | #endif | |
1536 | #if 42 != 1 && 42 != 42 | |
1537 | #include "Bletch: How does this C preprocessor catenate tokens?" | |
1538 | #endif | |
1539 | ||
921b2963 JH |
1540 | /* CPPSTDIN: |
1541 | * This symbol contains the first part of the string which will invoke | |
1542 | * the C preprocessor on the standard input and produce to standard | |
1543 | * output. Typical value of "cc -E" or "/lib/cpp", but it can also | |
1544 | * call a wrapper. See CPPRUN. | |
1545 | */ | |
1546 | /* CPPMINUS: | |
1547 | * This symbol contains the second part of the string which will invoke | |
1548 | * the C preprocessor on the standard input and produce to standard | |
1549 | * output. This symbol will have the value "-" if CPPSTDIN needs a minus | |
1550 | * to specify standard input, otherwise the value is "". | |
1551 | */ | |
1552 | /* CPPRUN: | |
1553 | * This symbol contains the string which will invoke a C preprocessor on | |
1554 | * the standard input and produce to standard output. It needs to end | |
1555 | * with CPPLAST, after all other preprocessor flags have been specified. | |
1556 | * The main difference with CPPSTDIN is that this program will never be a | |
1557 | * pointer to a shell wrapper, i.e. it will be empty if no preprocessor is | |
1558 | * available directly to the user. Note that it may well be different from | |
1559 | * the preprocessor used to compile the C program. | |
1560 | */ | |
190b66db JH |
1561 | /* CPPLAST: |
1562 | * This symbol is intended to be used along with CPPRUN in the same manner | |
1563 | * symbol CPPMINUS is used with CPPSTDIN. It contains either "-" or "". | |
1564 | */ | |
0617aed7 JH |
1565 | #define CPPSTDIN "cppstdin" |
1566 | #define CPPMINUS "" | |
1567 | #define CPPRUN "/usr/bin/cpp" | |
1568 | #define CPPLAST "" | |
921b2963 | 1569 | |
327c3667 GS |
1570 | /* HAS_ACCESS: |
1571 | * This manifest constant lets the C program know that the access() | |
1572 | * system call is available to check for accessibility using real UID/GID. | |
1573 | * (always present on UNIX.) | |
1574 | */ | |
1575 | #define HAS_ACCESS /**/ | |
1576 | ||
921b2963 JH |
1577 | /* HAS_CSH: |
1578 | * This symbol, if defined, indicates that the C-shell exists. | |
1579 | */ | |
dfe9444c | 1580 | /* CSH: |
e5c9fcd0 | 1581 | * This symbol, if defined, contains the full pathname of csh. |
9003a523 | 1582 | */ |
e5c9fcd0 AD |
1583 | #define HAS_CSH /**/ |
1584 | #ifdef HAS_CSH | |
327c3667 | 1585 | #define CSH "/usr/bin/csh" /**/ |
e5c9fcd0 AD |
1586 | #endif |
1587 | ||
327c3667 GS |
1588 | /* HAS_ENDGRENT: |
1589 | * This symbol, if defined, indicates that the getgrent routine is | |
1590 | * available for finalizing sequential access of the group database. | |
1591 | */ | |
11dc3f68 | 1592 | #define HAS_ENDGRENT /**/ |
327c3667 | 1593 | |
e5c9fcd0 AD |
1594 | /* HAS_ENDHOSTENT: |
1595 | * This symbol, if defined, indicates that the endhostent() routine is | |
1596 | * available to close whatever was being used for host queries. | |
1597 | */ | |
11dc3f68 | 1598 | #define HAS_ENDHOSTENT /**/ |
e5c9fcd0 AD |
1599 | |
1600 | /* HAS_ENDNETENT: | |
1601 | * This symbol, if defined, indicates that the endnetent() routine is | |
1602 | * available to close whatever was being used for network queries. | |
1603 | */ | |
11dc3f68 | 1604 | #define HAS_ENDNETENT /**/ |
e5c9fcd0 AD |
1605 | |
1606 | /* HAS_ENDPROTOENT: | |
1607 | * This symbol, if defined, indicates that the endprotoent() routine is | |
1608 | * available to close whatever was being used for protocol queries. | |
1609 | */ | |
11dc3f68 | 1610 | #define HAS_ENDPROTOENT /**/ |
e5c9fcd0 | 1611 | |
327c3667 GS |
1612 | /* HAS_ENDPWENT: |
1613 | * This symbol, if defined, indicates that the getgrent routine is | |
1614 | * available for finalizing sequential access of the passwd database. | |
1615 | */ | |
11dc3f68 | 1616 | #define HAS_ENDPWENT /**/ |
327c3667 | 1617 | |
e5c9fcd0 AD |
1618 | /* HAS_ENDSERVENT: |
1619 | * This symbol, if defined, indicates that the endservent() routine is | |
1620 | * available to close whatever was being used for service queries. | |
1621 | */ | |
11dc3f68 | 1622 | #define HAS_ENDSERVENT /**/ |
dfe9444c | 1623 | |
327c3667 GS |
1624 | /* HAS_GETGRENT: |
1625 | * This symbol, if defined, indicates that the getgrent routine is | |
1626 | * available for sequential access of the group database. | |
1627 | */ | |
11dc3f68 | 1628 | #define HAS_GETGRENT /**/ |
327c3667 | 1629 | |
693762b4 AD |
1630 | /* HAS_GETHOSTBYADDR: |
1631 | * This symbol, if defined, indicates that the gethostbyaddr() routine is | |
1632 | * available to look up hosts by their IP addresses. | |
1633 | */ | |
11dc3f68 | 1634 | #define HAS_GETHOSTBYADDR /**/ |
693762b4 AD |
1635 | |
1636 | /* HAS_GETHOSTBYNAME: | |
1637 | * This symbol, if defined, indicates that the gethostbyname() routine is | |
1638 | * available to look up host names in some data base or other. | |
1639 | */ | |
11dc3f68 | 1640 | #define HAS_GETHOSTBYNAME /**/ |
693762b4 AD |
1641 | |
1642 | /* HAS_GETHOSTENT: | |
1643 | * This symbol, if defined, indicates that the gethostent() routine is | |
1644 | * available to look up host names in some data base or another. | |
1645 | */ | |
1646 | #define HAS_GETHOSTENT /**/ | |
1647 | ||
af4c28eb CS |
1648 | /* HAS_GETHOSTNAME: |
1649 | * This symbol, if defined, indicates that the C program may use the | |
1650 | * gethostname() routine to derive the host name. See also HAS_UNAME | |
1651 | * and PHOSTNAME. | |
1652 | */ | |
1653 | /* HAS_UNAME: | |
1654 | * This symbol, if defined, indicates that the C program may use the | |
1655 | * uname() routine to derive the host name. See also HAS_GETHOSTNAME | |
1656 | * and PHOSTNAME. | |
1657 | */ | |
1658 | /* PHOSTNAME: | |
1659 | * This symbol, if defined, indicates the command to feed to the | |
1660 | * popen() routine to derive the host name. See also HAS_GETHOSTNAME | |
1661 | * and HAS_UNAME. Note that the command uses a fully qualified path, | |
1662 | * so that it is safe even if used by a process with super-user | |
1663 | * privileges. | |
1664 | */ | |
190b66db JH |
1665 | /* HAS_PHOSTNAME: |
1666 | * This symbol, if defined, indicates that the C program may use the | |
1667 | * contents of PHOSTNAME as a command to feed to the popen() routine | |
1668 | * to derive the host name. | |
1669 | */ | |
11dc3f68 | 1670 | #define HAS_GETHOSTNAME /**/ |
af4c28eb CS |
1671 | #define HAS_UNAME /**/ |
1672 | #undef HAS_PHOSTNAME | |
1673 | #ifdef HAS_PHOSTNAME | |
0617aed7 | 1674 | #define PHOSTNAME "" /* How to get the host name */ |
af4c28eb CS |
1675 | #endif |
1676 | ||
693762b4 AD |
1677 | /* HAS_GETNETBYADDR: |
1678 | * This symbol, if defined, indicates that the getnetbyaddr() routine is | |
1679 | * available to look up networks by their IP addresses. | |
1680 | */ | |
11dc3f68 | 1681 | #define HAS_GETNETBYADDR /**/ |
693762b4 AD |
1682 | |
1683 | /* HAS_GETNETBYNAME: | |
1684 | * This symbol, if defined, indicates that the getnetbyname() routine is | |
1685 | * available to look up networks by their names. | |
1686 | */ | |
11dc3f68 | 1687 | #define HAS_GETNETBYNAME /**/ |
693762b4 | 1688 | |
e5c9fcd0 AD |
1689 | /* HAS_GETNETENT: |
1690 | * This symbol, if defined, indicates that the getnetent() routine is | |
1691 | * available to look up network names in some data base or another. | |
1692 | */ | |
11dc3f68 | 1693 | #define HAS_GETNETENT /**/ |
e5c9fcd0 AD |
1694 | |
1695 | /* HAS_GETPROTOENT: | |
1696 | * This symbol, if defined, indicates that the getprotoent() routine is | |
1697 | * available to look up protocols in some data base or another. | |
1698 | */ | |
11dc3f68 | 1699 | #define HAS_GETPROTOENT /**/ |
e5c9fcd0 | 1700 | |
693762b4 AD |
1701 | /* HAS_GETPROTOBYNAME: |
1702 | * This symbol, if defined, indicates that the getprotobyname() | |
1703 | * routine is available to look up protocols by their name. | |
1704 | */ | |
1705 | /* HAS_GETPROTOBYNUMBER: | |
1706 | * This symbol, if defined, indicates that the getprotobynumber() | |
1707 | * routine is available to look up protocols by their number. | |
1708 | */ | |
11dc3f68 JH |
1709 | #define HAS_GETPROTOBYNAME /**/ |
1710 | #define HAS_GETPROTOBYNUMBER /**/ | |
693762b4 | 1711 | |
327c3667 GS |
1712 | /* HAS_GETPWENT: |
1713 | * This symbol, if defined, indicates that the getpwent routine is | |
1714 | * available for sequential access of the passwd database. | |
1715 | * If this is not available, the older getpw() function may be available. | |
1716 | */ | |
11dc3f68 | 1717 | #define HAS_GETPWENT /**/ |
327c3667 | 1718 | |
e5c9fcd0 AD |
1719 | /* HAS_GETSERVENT: |
1720 | * This symbol, if defined, indicates that the getservent() routine is | |
1721 | * available to look up network services in some data base or another. | |
1722 | */ | |
11dc3f68 | 1723 | #define HAS_GETSERVENT /**/ |
e5c9fcd0 | 1724 | |
693762b4 AD |
1725 | /* HAS_GETSERVBYNAME: |
1726 | * This symbol, if defined, indicates that the getservbyname() | |
1727 | * routine is available to look up services by their name. | |
1728 | */ | |
1729 | /* HAS_GETSERVBYPORT: | |
1730 | * This symbol, if defined, indicates that the getservbyport() | |
1731 | * routine is available to look up services by their port. | |
1732 | */ | |
11dc3f68 JH |
1733 | #define HAS_GETSERVBYNAME /**/ |
1734 | #define HAS_GETSERVBYPORT /**/ | |
693762b4 | 1735 | |
327c3667 GS |
1736 | /* HAS_HTONL: |
1737 | * This symbol, if defined, indicates that the htonl() routine (and | |
1738 | * friends htons() ntohl() ntohs()) are available to do network | |
1739 | * order byte swapping. | |
1740 | */ | |
1741 | /* HAS_HTONS: | |
1742 | * This symbol, if defined, indicates that the htons() routine (and | |
1743 | * friends htonl() ntohl() ntohs()) are available to do network | |
1744 | * order byte swapping. | |
1745 | */ | |
1746 | /* HAS_NTOHL: | |
1747 | * This symbol, if defined, indicates that the ntohl() routine (and | |
1748 | * friends htonl() htons() ntohs()) are available to do network | |
1749 | * order byte swapping. | |
1750 | */ | |
1751 | /* HAS_NTOHS: | |
1752 | * This symbol, if defined, indicates that the ntohs() routine (and | |
1753 | * friends htonl() htons() ntohl()) are available to do network | |
1754 | * order byte swapping. | |
1755 | */ | |
1756 | #define HAS_HTONL /**/ | |
1757 | #define HAS_HTONS /**/ | |
1758 | #define HAS_NTOHL /**/ | |
1759 | #define HAS_NTOHS /**/ | |
1760 | ||
e5c9fcd0 AD |
1761 | /* HAS_LONG_DOUBLE: |
1762 | * This symbol will be defined if the C compiler supports long | |
1763 | * doubles. | |
1764 | */ | |
1765 | /* LONG_DOUBLESIZE: | |
1766 | * This symbol contains the size of a long double, so that the | |
1767 | * C preprocessor can make decisions based on it. It is only | |
1768 | * defined if the system supports long doubles. | |
1769 | */ | |
11dc3f68 | 1770 | #define HAS_LONG_DOUBLE /**/ |
e5c9fcd0 | 1771 | #ifdef HAS_LONG_DOUBLE |
11dc3f68 | 1772 | #define LONG_DOUBLESIZE 8 /**/ |
e5c9fcd0 AD |
1773 | #endif |
1774 | ||
dc45a647 | 1775 | /* HAS_LONG_LONG: |
327c3667 | 1776 | * This symbol will be defined if the C compiler supports long long. |
dc45a647 MB |
1777 | */ |
1778 | /* LONGLONGSIZE: | |
1779 | * This symbol contains the size of a long long, so that the | |
1780 | * C preprocessor can make decisions based on it. It is only | |
1781 | * defined if the system supports long long. | |
1782 | */ | |
11dc3f68 | 1783 | #define HAS_LONG_LONG /**/ |
dc45a647 | 1784 | #ifdef HAS_LONG_LONG |
11dc3f68 | 1785 | #define LONGLONGSIZE 8 /**/ |
dc45a647 MB |
1786 | #endif |
1787 | ||
a71cd7cd JH |
1788 | /* HAS_MEMCHR: |
1789 | * This symbol, if defined, indicates that the memchr routine is available | |
1790 | * to locate characters within a C string. | |
1791 | */ | |
11dc3f68 | 1792 | #define HAS_MEMCHR /**/ |
a71cd7cd | 1793 | |
327c3667 GS |
1794 | /* HAS_MSG: |
1795 | * This symbol, if defined, indicates that the entire msg*(2) library is | |
1796 | * supported (IPC mechanism based on message queues). | |
1797 | */ | |
1798 | #define HAS_MSG /**/ | |
1799 | ||
1800 | /* HAS_SEM: | |
1801 | * This symbol, if defined, indicates that the entire sem*(2) library is | |
1802 | * supported. | |
1803 | */ | |
1804 | #define HAS_SEM /**/ | |
1805 | ||
1806 | /* HAS_SETGRENT: | |
1807 | * This symbol, if defined, indicates that the setgrent routine is | |
1808 | * available for initializing sequential access of the group database. | |
1809 | */ | |
11dc3f68 | 1810 | #define HAS_SETGRENT /**/ |
327c3667 | 1811 | |
dfe9444c AD |
1812 | /* HAS_SETGROUPS: |
1813 | * This symbol, if defined, indicates that the setgroups() routine is | |
1814 | * available to set the list of process groups. If unavailable, multiple | |
1815 | * groups are probably not supported. | |
4633a7c4 | 1816 | */ |
dfe9444c AD |
1817 | #define HAS_SETGROUPS /**/ |
1818 | ||
693762b4 AD |
1819 | /* HAS_SETHOSTENT: |
1820 | * This symbol, if defined, indicates that the sethostent() routine is | |
1821 | * available. | |
1822 | */ | |
11dc3f68 | 1823 | #define HAS_SETHOSTENT /**/ |
693762b4 | 1824 | |
e5c9fcd0 AD |
1825 | /* HAS_SETNETENT: |
1826 | * This symbol, if defined, indicates that the setnetent() routine is | |
1827 | * available. | |
1828 | */ | |
11dc3f68 | 1829 | #define HAS_SETNETENT /**/ |
e5c9fcd0 AD |
1830 | |
1831 | /* HAS_SETPROTOENT: | |
1832 | * This symbol, if defined, indicates that the setprotoent() routine is | |
1833 | * available. | |
1834 | */ | |
11dc3f68 | 1835 | #define HAS_SETPROTOENT /**/ |
e5c9fcd0 | 1836 | |
327c3667 GS |
1837 | /* HAS_SETPWENT: |
1838 | * This symbol, if defined, indicates that the setpwent routine is | |
1839 | * available for initializing sequential access of the passwd database. | |
1840 | */ | |
11dc3f68 | 1841 | #define HAS_SETPWENT /**/ |
327c3667 | 1842 | |
e5c9fcd0 AD |
1843 | /* HAS_SETSERVENT: |
1844 | * This symbol, if defined, indicates that the setservent() routine is | |
1845 | * available. | |
1846 | */ | |
11dc3f68 | 1847 | #define HAS_SETSERVENT /**/ |
e5c9fcd0 AD |
1848 | |
1849 | /* HAS_SETVBUF: | |
1850 | * This symbol, if defined, indicates that the setvbuf routine is | |
1851 | * available to change buffering on an open stdio stream. | |
1852 | * to a line-buffered mode. | |
1853 | */ | |
11dc3f68 | 1854 | #define HAS_SETVBUF /**/ |
e5c9fcd0 | 1855 | |
327c3667 GS |
1856 | /* HAS_SHM: |
1857 | * This symbol, if defined, indicates that the entire shm*(2) library is | |
1858 | * supported. | |
1859 | */ | |
1860 | #define HAS_SHM /**/ | |
1861 | ||
dc45a647 MB |
1862 | /* HAS_SOCKET: |
1863 | * This symbol, if defined, indicates that the BSD socket interface is | |
1864 | * supported. | |
1865 | */ | |
1866 | /* HAS_SOCKETPAIR: | |
1867 | * This symbol, if defined, indicates that the BSD socketpair() call is | |
1868 | * supported. | |
1869 | */ | |
de4597cb JH |
1870 | /* HAS_MSG_CTRUNC: |
1871 | * This symbol, if defined, indicates that the MSG_CTRUNC is supported. | |
1872 | * Checking just with #ifdef might not be enough because this symbol | |
1873 | * has been known to be an enum. | |
1874 | */ | |
1875 | /* HAS_MSG_DONTROUTE: | |
1876 | * This symbol, if defined, indicates that the MSG_DONTROUTE is supported. | |
1877 | * Checking just with #ifdef might not be enough because this symbol | |
1878 | * has been known to be an enum. | |
1879 | */ | |
1880 | /* HAS_MSG_OOB: | |
1881 | * This symbol, if defined, indicates that the MSG_OOB is supported. | |
1882 | * Checking just with #ifdef might not be enough because this symbol | |
1883 | * has been known to be an enum. | |
1884 | */ | |
1885 | /* HAS_MSG_PEEK: | |
1886 | * This symbol, if defined, indicates that the MSG_PEEK is supported. | |
1887 | * Checking just with #ifdef might not be enough because this symbol | |
1888 | * has been known to be an enum. | |
1889 | */ | |
1890 | /* HAS_MSG_PROXY: | |
1891 | * This symbol, if defined, indicates that the MSG_PROXY is supported. | |
1892 | * Checking just with #ifdef might not be enough because this symbol | |
1893 | * has been known to be an enum. | |
1894 | */ | |
1895 | /* HAS_SCM_RIGHTS: | |
1896 | * This symbol, if defined, indicates that the SCM_RIGHTS is supported. | |
1897 | * Checking just with #ifdef might not be enough because this symbol | |
1898 | * has been known to be an enum. | |
1899 | */ | |
de4597cb JH |
1900 | #define HAS_SOCKET /**/ |
1901 | #define HAS_SOCKETPAIR /**/ | |
11dc3f68 JH |
1902 | #define HAS_MSG_CTRUNC /**/ |
1903 | #define HAS_MSG_DONTROUTE /**/ | |
1904 | #define HAS_MSG_OOB /**/ | |
1905 | #define HAS_MSG_PEEK /**/ | |
1906 | /*#define HAS_MSG_PROXY / **/ | |
1907 | #define HAS_SCM_RIGHTS /**/ | |
dc45a647 | 1908 | |
327c3667 GS |
1909 | /* USE_STAT_BLOCKS: |
1910 | * This symbol is defined if this system has a stat structure declaring | |
1911 | * st_blksize and st_blocks. | |
1912 | */ | |
0befd8de | 1913 | #ifndef USE_STAT_BLOCKS |
921b2963 | 1914 | #define USE_STAT_BLOCKS /**/ |
0befd8de | 1915 | #endif |
327c3667 GS |
1916 | |
1917 | /* HAS_STRERROR: | |
1918 | * This symbol, if defined, indicates that the strerror routine is | |
1919 | * available to translate error numbers to strings. See the writeup | |
1920 | * of Strerror() in this file before you try to define your own. | |
1921 | */ | |
1922 | /* HAS_SYS_ERRLIST: | |
1923 | * This symbol, if defined, indicates that the sys_errlist array is | |
1924 | * available to translate error numbers to strings. The extern int | |
1925 | * sys_nerr gives the size of that table. | |
1926 | */ | |
1927 | /* Strerror: | |
1928 | * This preprocessor symbol is defined as a macro if strerror() is | |
1929 | * not available to translate error numbers to strings but sys_errlist[] | |
1930 | * array is there. | |
1931 | */ | |
1932 | #define HAS_STRERROR /**/ | |
1933 | #define HAS_SYS_ERRLIST /**/ | |
1934 | #define Strerror(e) strerror(e) | |
1935 | ||
bd89102f AD |
1936 | /* HAS_UNION_SEMUN: |
1937 | * This symbol, if defined, indicates that the union semun is | |
1938 | * defined by including <sys/sem.h>. If not, the user code | |
1939 | * probably needs to define it as: | |
1940 | * union semun { | |
1941 | * int val; | |
1942 | * struct semid_ds *buf; | |
1943 | * unsigned short *array; | |
1944 | * } | |
1945 | */ | |
1946 | /* USE_SEMCTL_SEMUN: | |
1947 | * This symbol, if defined, indicates that union semun is | |
1948 | * used for semctl IPC_STAT. | |
1949 | */ | |
1950 | /* USE_SEMCTL_SEMID_DS: | |
1951 | * This symbol, if defined, indicates that struct semid_ds * is | |
1952 | * used for semctl IPC_STAT. | |
1953 | */ | |
11dc3f68 JH |
1954 | /*#define HAS_UNION_SEMUN / **/ |
1955 | #define USE_SEMCTL_SEMUN /**/ | |
1956 | #define USE_SEMCTL_SEMID_DS /**/ | |
bd89102f | 1957 | |
af4c28eb CS |
1958 | /* HAS_VFORK: |
1959 | * This symbol, if defined, indicates that vfork() exists. | |
1960 | */ | |
1961 | /*#define HAS_VFORK / **/ | |
1962 | ||
dfe9444c AD |
1963 | /* Signal_t: |
1964 | * This symbol's value is either "void" or "int", corresponding to the | |
1965 | * appropriate return type of a signal handler. Thus, you can declare | |
1966 | * a signal handler using "Signal_t (*handler)()", and define the | |
1967 | * handler using "Signal_t handler(sig)". | |
1968 | */ | |
1969 | #define Signal_t void /* Signal handler's return type */ | |
1970 | ||
1971 | /* Groups_t: | |
1972 | * This symbol holds the type used for the second argument to | |
1973 | * getgroups() and setgropus(). Usually, this is the same as | |
1974 | * gidtype (gid_t) , but sometimes it isn't. | |
1975 | * It can be int, ushort, uid_t, etc... | |
1976 | * It may be necessary to include <sys/types.h> to get any | |
1977 | * typedef'ed information. This is only required if you have | |
1978 | * getgroups() or setgropus().. | |
1979 | */ | |
1980 | #if defined(HAS_GETGROUPS) || defined(HAS_SETGROUPS) | |
1981 | #define Groups_t gid_t /* Type for 2nd arg to [sg]etgroups() */ | |
1982 | #endif | |
1983 | ||
327c3667 GS |
1984 | /* I_GRP: |
1985 | * This symbol, if defined, indicates to the C program that it should | |
1986 | * include <grp.h>. | |
1987 | */ | |
1988 | /* GRPASSWD: | |
1989 | * This symbol, if defined, indicates to the C program that struct group | |
1990 | * in <grp.h> contains gr_passwd. | |
1991 | */ | |
1992 | #define I_GRP /**/ | |
11dc3f68 | 1993 | #define GRPASSWD /**/ |
327c3667 | 1994 | |
dfe9444c AD |
1995 | /* I_NETDB: |
1996 | * This symbol, if defined, indicates that <netdb.h> exists and | |
1997 | * should be included. | |
1998 | */ | |
11dc3f68 | 1999 | #define I_NETDB /**/ |
4633a7c4 | 2000 | |
c4f23d77 AD |
2001 | /* I_PWD: |
2002 | * This symbol, if defined, indicates to the C program that it should | |
2003 | * include <pwd.h>. | |
2004 | */ | |
2005 | /* PWQUOTA: | |
2006 | * This symbol, if defined, indicates to the C program that struct passwd | |
2007 | * contains pw_quota. | |
2008 | */ | |
2009 | /* PWAGE: | |
2010 | * This symbol, if defined, indicates to the C program that struct passwd | |
2011 | * contains pw_age. | |
2012 | */ | |
2013 | /* PWCHANGE: | |
2014 | * This symbol, if defined, indicates to the C program that struct passwd | |
2015 | * contains pw_change. | |
2016 | */ | |
2017 | /* PWCLASS: | |
2018 | * This symbol, if defined, indicates to the C program that struct passwd | |
2019 | * contains pw_class. | |
2020 | */ | |
2021 | /* PWEXPIRE: | |
2022 | * This symbol, if defined, indicates to the C program that struct passwd | |
2023 | * contains pw_expire. | |
2024 | */ | |
2025 | /* PWCOMMENT: | |
2026 | * This symbol, if defined, indicates to the C program that struct passwd | |
2027 | * contains pw_comment. | |
2028 | */ | |
2029 | /* PWGECOS: | |
2030 | * This symbol, if defined, indicates to the C program that struct passwd | |
2031 | * contains pw_gecos. | |
2032 | */ | |
93341792 AD |
2033 | /* PWPASSWD: |
2034 | * This symbol, if defined, indicates to the C program that struct passwd | |
2035 | * contains pw_passwd. | |
2036 | */ | |
c4f23d77 | 2037 | #define I_PWD /**/ |
921b2963 JH |
2038 | #define PWQUOTA /**/ |
2039 | /*#define PWAGE / **/ | |
c4f23d77 AD |
2040 | /*#define PWCHANGE / **/ |
2041 | /*#define PWCLASS / **/ | |
2042 | /*#define PWEXPIRE / **/ | |
327c3667 | 2043 | #define PWCOMMENT /**/ |
11dc3f68 JH |
2044 | #define PWGECOS /**/ |
2045 | #define PWPASSWD /**/ | |
c4f23d77 | 2046 | |
de4597cb JH |
2047 | /* I_SYSUIO: |
2048 | * This symbol, if defined, indicates that <sys/uio.h> exists and | |
2049 | * should be included. | |
2050 | */ | |
11dc3f68 | 2051 | #define I_SYSUIO /**/ |
de4597cb | 2052 | |
bfb7748a AD |
2053 | /* Free_t: |
2054 | * This variable contains the return type of free(). It is usually | |
2055 | * void, but occasionally int. | |
9003a523 | 2056 | */ |
bfb7748a AD |
2057 | /* Malloc_t: |
2058 | * This symbol is the type of pointer returned by malloc and realloc. | |
16d20bd9 | 2059 | */ |
bfb7748a AD |
2060 | #define Malloc_t void * /**/ |
2061 | #define Free_t void /**/ | |
2062 | ||
2063 | /* MYMALLOC: | |
2064 | * This symbol, if defined, indicates that we're using our own malloc. | |
2065 | */ | |
0617aed7 | 2066 | /*#define MYMALLOC / **/ |
9003a523 | 2067 | |
c4f23d77 AD |
2068 | /* SIG_NAME: |
2069 | * This symbol contains a list of signal names in order of | |
2070 | * signal number. This is intended | |
2071 | * to be used as a static array initialization, like this: | |
2072 | * char *sig_name[] = { SIG_NAME }; | |
2073 | * The signals in the list are separated with commas, and each signal | |
2074 | * is surrounded by double quotes. There is no leading SIG in the signal | |
2075 | * name, i.e. SIGQUIT is known as "QUIT". | |
2076 | * Gaps in the signal numbers (up to NSIG) are filled in with NUMnn, | |
2077 | * etc., where nn is the actual signal number (e.g. NUM37). | |
2078 | * The signal number for sig_name[i] is stored in sig_num[i]. | |
2079 | * The last element is 0 to terminate the list with a NULL. This | |
2080 | * corresponds to the 0 at the end of the sig_num list. | |
2081 | */ | |
2082 | /* SIG_NUM: | |
2083 | * This symbol contains a list of signal numbers, in the same order as the | |
2084 | * SIG_NAME list. It is suitable for static array initialization, as in: | |
2085 | * int sig_num[] = { SIG_NUM }; | |
2086 | * The signals in the list are separated with commas, and the indices | |
2087 | * within that list and the SIG_NAME list match, so it's easy to compute | |
2088 | * the signal name from a number or vice versa at the price of a small | |
2089 | * dynamic linear lookup. | |
2090 | * Duplicates are allowed, but are moved to the end of the list. | |
2091 | * The signal number corresponding to sig_name[i] is sig_number[i]. | |
2092 | * if (i < NSIG) then sig_number[i] == i. | |
2093 | * The last element is 0, corresponding to the 0 at the end of | |
2094 | * the sig_name list. | |
2095 | */ | |
11dc3f68 JH |
2096 | #define SIG_NAME "ZERO", "HUP", "INT", "QUIT", "ILL", "TRAP", "ABRT", "EMT", "FPE", "KILL", "BUS", "SEGV", "SYS", "PIPE", "ALRM", "TERM", "IOINT", "STOP", "TSTP", "CONT", "CHLD", "TTIN", "TTOU", "AIO", "XCPU", "XFSZ", "VTALRM", "PROF", "WINCH", "INFO", "USR1", "USR2", "RESV", "RTMIN", "NUM34", "NUM35", "NUM36", "NUM37", "NUM38", "NUM39", "NUM40", "NUM41", "NUM42", "NUM43", "NUM44", "NUM45", "NUM46", "NUM47", "MAX", "IOT", "LOST", "URG", "CLD", "IO", "POLL", "PTY", "PWR", "RTMAX", 0 /**/ |
2097 | #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, 45, 46, 47, 48, 6, 6, 16, 20, 23, 23, 23, 29, 48, 0 /**/ | |
c4f23d77 | 2098 | |
bfb7748a AD |
2099 | /* VOIDFLAGS: |
2100 | * This symbol indicates how much support of the void type is given by this | |
2101 | * compiler. What various bits mean: | |
2102 | * | |
2103 | * 1 = supports declaration of void | |
2104 | * 2 = supports arrays of pointers to functions returning void | |
2105 | * 4 = supports comparisons between pointers to void functions and | |
2106 | * addresses of void functions | |
2107 | * 8 = suports declaration of generic void pointers | |
2108 | * | |
2109 | * The package designer should define VOIDUSED to indicate the requirements | |
2110 | * of the package. This can be done either by #defining VOIDUSED before | |
2111 | * including config.h, or by defining defvoidused in Myinit.U. If the | |
2112 | * latter approach is taken, only those flags will be tested. If the | |
2113 | * level of void support necessary is not present, defines void to int. | |
4633a7c4 | 2114 | */ |
bfb7748a AD |
2115 | #ifndef VOIDUSED |
2116 | #define VOIDUSED 15 | |
2117 | #endif | |
2118 | #define VOIDFLAGS 15 | |
2119 | #if (VOIDFLAGS & VOIDUSED) != VOIDUSED | |
2120 | #define void int /* is void to be avoided? */ | |
2121 | #define M_VOID /* Xenix strikes again */ | |
2122 | #endif | |
fbfd4aab | 2123 | |
8c09e4ca JH |
2124 | /* HAS_ATOLF: |
2125 | * This symbol, if defined, indicates that the atolf routine is | |
2126 | * available to convert strings into long doubles. | |
2127 | */ | |
11dc3f68 | 2128 | /*#define HAS_ATOLF / **/ |
8c09e4ca JH |
2129 | |
2130 | /* HAS_ATOLL: | |
2131 | * This symbol, if defined, indicates that the atoll routine is | |
2132 | * available to convert strings into long longs. | |
2133 | */ | |
11dc3f68 | 2134 | /*#define HAS_ATOLL / **/ |
8c09e4ca | 2135 | |
d71b2b6b JH |
2136 | /* PERL_BINCOMPAT_5005: |
2137 | * This symbol, if defined, indicates that Perl 5.006 should be | |
2138 | * binary-compatible with Perl 5.005. This is impossible for builds | |
2139 | * that use features like threads and multiplicity it is always | |
2140 | * for those versions. | |
2141 | */ | |
0617aed7 | 2142 | /*#define PERL_BINCOMPAT_5005 / **/ |
d71b2b6b | 2143 | |
dfe9444c AD |
2144 | /* DLSYM_NEEDS_UNDERSCORE: |
2145 | * This symbol, if defined, indicates that we need to prepend an | |
2146 | * underscore to the symbol name before calling dlsym(). This only | |
2147 | * makes sense if you *have* dlsym, which we will presume is the | |
2148 | * case if you're using dl_dlopen.xs. | |
2149 | */ | |
2150 | /*#define DLSYM_NEEDS_UNDERSCORE / **/ | |
2151 | ||
86959918 JH |
2152 | /* HAS_ENDSPENT: |
2153 | * This symbol, if defined, indicates that the endspent system call is | |
2154 | * available to finalize the scan of SysV shadow password entries. | |
2155 | */ | |
11dc3f68 | 2156 | /*#define HAS_ENDSPENT / **/ |
86959918 | 2157 | |
ad27e871 JH |
2158 | /* HAS_STRUCT_FS_DATA: |
2159 | * This symbol, if defined, indicates that the struct fs_data | |
2160 | * to do statfs() is supported. | |
2161 | */ | |
2162 | /*#define HAS_STRUCT_FS_DATA / **/ | |
2163 | ||
327c3667 GS |
2164 | /* HAS_FSEEKO: |
2165 | * This symbol, if defined, indicates that the fseeko routine is | |
2166 | * available to fseek beyond 32 bits (useful for ILP32 hosts). | |
2167 | */ | |
11dc3f68 | 2168 | /*#define HAS_FSEEKO / **/ |
327c3667 | 2169 | |
0545a864 JH |
2170 | /* HAS_FSTATFS: |
2171 | * This symbol, if defined, indicates that the fstatfs routine is | |
2172 | * available to stat filesystems by file descriptors. | |
2173 | */ | |
2174 | #define HAS_FSTATFS /**/ | |
327c3667 GS |
2175 | /* HAS_FTELLO: |
2176 | * This symbol, if defined, indicates that the ftello routine is | |
71c4afb4 | 2177 | * available to ftell beyond 32 bits (useful for ILP32 hosts). |
327c3667 | 2178 | */ |
11dc3f68 | 2179 | /*#define HAS_FTELLO / **/ |
327c3667 | 2180 | |
ad27e871 JH |
2181 | /* HAS_GETMNT: |
2182 | * This symbol, if defined, indicates that the getmnt routine is | |
2183 | * available to get filesystem mount info by filename. | |
2184 | */ | |
2185 | /*#define HAS_GETMNT / **/ | |
2186 | ||
ccc7f9b3 KS |
2187 | /* HAS_GETMNTENT: |
2188 | * This symbol, if defined, indicates that the getmntent routine is | |
0617aed7 | 2189 | * available to iterate through mounted file systems to get their info. |
ccc7f9b3 | 2190 | */ |
11dc3f68 | 2191 | /*#define HAS_GETMNTENT / **/ |
ccc7f9b3 | 2192 | |
86959918 JH |
2193 | /* HAS_GETSPENT: |
2194 | * This symbol, if defined, indicates that the getspent system call is | |
2195 | * available to retrieve SysV shadow password entries sequentially. | |
2196 | */ | |
11dc3f68 | 2197 | /*#define HAS_GETSPENT / **/ |
86959918 JH |
2198 | |
2199 | /* HAS_GETSPNAM: | |
2200 | * This symbol, if defined, indicates that the getspnam system call is | |
2201 | * available to retrieve SysV shadow password entries by name. | |
2202 | */ | |
11dc3f68 | 2203 | /*#define HAS_GETSPNAM / **/ |
86959918 | 2204 | |
ccc7f9b3 KS |
2205 | /* HAS_HASMNTOPT: |
2206 | * This symbol, if defined, indicates that the hasmntopt routine is | |
2207 | * available to query the mount options of file systems. | |
2208 | */ | |
11dc3f68 | 2209 | /*#define HAS_HASMNTOPT / **/ |
ccc7f9b3 | 2210 | |
e0a10278 JH |
2211 | /* HAS_INT64_T: |
2212 | * This symbol will defined if the C compiler supports int64_t. | |
2213 | * Usually the <inttypes.h> needs to be included, but sometimes | |
2214 | * <sys/types.h> is enough. | |
2215 | */ | |
2216 | /*#define HAS_INT64_T / **/ | |
2217 | ||
ca24dfc6 LV |
2218 | /* HAS_LDBL_DIG: |
2219 | * This symbol, if defined, indicates that this system's <float.h> | |
2220 | * or <limits.h> defines the symbol LDBL_DIG, which is the number | |
2221 | * of significant digits in a long double precision number. Unlike | |
2222 | * for DBL_DIG, there's no good guess for LDBL_DIG if it is undefined. | |
2223 | */ | |
2224 | #define HAS_LDBL_DIG /* */ | |
2225 | ||
86959918 JH |
2226 | /* HAS_SETSPENT: |
2227 | * This symbol, if defined, indicates that the setspent system call is | |
2228 | * available to initialize the scan of SysV shadow password entries. | |
2229 | */ | |
11dc3f68 | 2230 | /*#define HAS_SETSPENT / **/ |
86959918 | 2231 | |
dfe9444c AD |
2232 | /* USE_SFIO: |
2233 | * This symbol, if defined, indicates that sfio should | |
2234 | * be used. | |
2235 | */ | |
2236 | /*#define USE_SFIO / **/ | |
2237 | ||
68d4903c JH |
2238 | /* HAS_SQRTL: |
2239 | * This symbol, if defined, indicates that the sqrtl routine is | |
2240 | * available to do long double square roots. | |
2241 | */ | |
2242 | #define HAS_SQRTL /**/ | |
2243 | ||
0545a864 | 2244 | /* HAS_STRUCT_STATFS_F_FLAGS: |
ff49bff8 JH |
2245 | * This symbol, if defined, indicates that the struct statfs |
2246 | * does have the f_flags member containing the mount flags of | |
0545a864 | 2247 | * the filesystem containing the file. |
0617aed7 JH |
2248 | * This kind of struct statfs is coming from <sys/mount.h> (BSD 4.3), |
2249 | * not from <sys/statfs.h> (SYSV). Older BSDs (like Ultrix) do not | |
ad27e871 JH |
2250 | * have statfs() and struct statfs, they have ustat() and getmnt() |
2251 | * with struct ustat and struct fs_data. | |
ff49bff8 | 2252 | */ |
0545a864 | 2253 | #define HAS_STRUCT_STATFS_F_FLAGS /**/ |
ff49bff8 | 2254 | |
ad27e871 JH |
2255 | /* HAS_STRUCT_STATFS: |
2256 | * This symbol, if defined, indicates that the struct statfs | |
2257 | * to do statfs() is supported. | |
2258 | */ | |
2259 | #define HAS_STRUCT_STATFS /**/ | |
2260 | ||
ff49bff8 JH |
2261 | /* HAS_FSTATVFS: |
2262 | * This symbol, if defined, indicates that the fstatvfs routine is | |
0617aed7 | 2263 | * available to stat filesystems by file descriptors. |
ff49bff8 | 2264 | */ |
11dc3f68 | 2265 | #define HAS_FSTATVFS /**/ |
ff49bff8 JH |
2266 | |
2267 | /* HAS_TELLDIR_PROTO: | |
2268 | * This symbol, if defined, indicates that the system provides | |
2269 | * a prototype for the telldir() function. Otherwise, it is up | |
2270 | * to the program to supply one. A good guess is | |
86959918 | 2271 | * extern long telldir _((DIR*)); |
ff49bff8 | 2272 | */ |
11dc3f68 | 2273 | #define HAS_TELLDIR_PROTO /**/ |
ff49bff8 | 2274 | |
0545a864 JH |
2275 | /* HAS_USTAT: |
2276 | * This symbol, if defined, indicates that the ustat system call is | |
2277 | * available to query file system statistics by dev_t. | |
2278 | */ | |
2279 | #define HAS_USTAT /**/ | |
2280 | ||
dfe9444c AD |
2281 | /* USE_DYNAMIC_LOADING: |
2282 | * This symbol, if defined, indicates that dynamic loading of | |
2283 | * some sort is available. | |
2284 | */ | |
2285 | #define USE_DYNAMIC_LOADING /**/ | |
2286 | ||
a71cd7cd JH |
2287 | /* FFLUSH_NULL: |
2288 | * This symbol, if defined, tells that fflush(NULL) does flush | |
2289 | * all pending stdio output. | |
2290 | */ | |
2291 | /* FFLUSH_ALL: | |
2292 | * This symbol, if defined, tells that to flush | |
2293 | * all pending stdio output one must loop through all | |
2294 | * the stdio file handles stored in an array and fflush them. | |
a32a45b6 JH |
2295 | * Note that if fflushNULL is defined, fflushall will not |
2296 | * even be probed for and will be left undefined. | |
a71cd7cd | 2297 | */ |
11dc3f68 JH |
2298 | #define FFLUSH_NULL /**/ |
2299 | /*#define FFLUSH_ALL / **/ | |
a71cd7cd | 2300 | |
dfe9444c AD |
2301 | /* DB_Prefix_t: |
2302 | * This symbol contains the type of the prefix structure element | |
2303 | * in the <db.h> header file. In older versions of DB, it was | |
2304 | * int, while in newer ones it is u_int32_t. | |
2305 | */ | |
2306 | /* DB_Hash_t: | |
2307 | * This symbol contains the type of the prefix structure element | |
2308 | * in the <db.h> header file. In older versions of DB, it was | |
2309 | * int, while in newer ones it is size_t. | |
2310 | */ | |
0617aed7 JH |
2311 | #define DB_Hash_t u_int32_t /**/ |
2312 | #define DB_Prefix_t size_t /**/ | |
dfe9444c | 2313 | |
327c3667 GS |
2314 | /* I_INTTYPES: |
2315 | * This symbol, if defined, indicates to the C program that it should | |
2316 | * include <inttypes.h>. | |
2317 | */ | |
11dc3f68 | 2318 | /*#define I_INTTYPES / **/ |
327c3667 | 2319 | |
ff49bff8 JH |
2320 | /* I_MNTENT: |
2321 | * This symbol, if defined, indicates that <mntent.h> exists and | |
2322 | * should be included. | |
2323 | */ | |
11dc3f68 | 2324 | /*#define I_MNTENT / **/ |
ff49bff8 | 2325 | |
a71cd7cd JH |
2326 | /* I_NETINET_TCP: |
2327 | * This symbol, if defined, indicates to the C program that it should | |
2328 | * include <netinet/tcp.h>. | |
2329 | */ | |
11dc3f68 | 2330 | #define I_NETINET_TCP /**/ |
a71cd7cd | 2331 | |
5b34fd99 JH |
2332 | /* I_POLL: |
2333 | * This symbol, if defined, indicates that <poll.h> exists and | |
2334 | * should be included. | |
2335 | */ | |
11dc3f68 | 2336 | #define I_POLL /**/ |
5b34fd99 | 2337 | |
86959918 JH |
2338 | /* I_SHADOW: |
2339 | * This symbol, if defined, indicates that <shadow.h> exists and | |
2340 | * should be included. | |
2341 | */ | |
11dc3f68 | 2342 | /*#define I_SHADOW / **/ |
86959918 JH |
2343 | |
2344 | /* I_SOCKS: | |
2345 | * This symbol, if defined, indicates that <socks.h> exists and | |
2346 | * should be included. | |
2347 | */ | |
11dc3f68 | 2348 | /*#define I_SOCKS / **/ |
86959918 | 2349 | |
ff49bff8 JH |
2350 | /* I_SYS_MOUNT: |
2351 | * This symbol, if defined, indicates that <sys/mount.h> exists and | |
2352 | * should be included. | |
2353 | */ | |
11dc3f68 | 2354 | #define I_SYS_MOUNT /**/ |
ff49bff8 | 2355 | |
0545a864 JH |
2356 | /* I_SYS_STATFS: |
2357 | * This symbol, if defined, indicates that <sys/statfs.h> exists. | |
2358 | */ | |
2359 | /*#define I_SYS_STATFS / **/ | |
2360 | ||
ff49bff8 JH |
2361 | /* I_SYS_STATVFS: |
2362 | * This symbol, if defined, indicates that <sys/statvfs.h> exists and | |
2363 | * should be included. | |
2364 | */ | |
11dc3f68 | 2365 | #define I_SYS_STATVFS /**/ |
0545a864 JH |
2366 | |
2367 | /* I_SYS_VFS: | |
2368 | * This symbol, if defined, indicates that <sys/vfs.h> exists and | |
2369 | * should be included. | |
2370 | */ | |
2371 | /*#define I_SYS_VFS / **/ | |
2372 | ||
2373 | /* I_USTAT: | |
2374 | * This symbol, if defined, indicates that <ustat.h> exists and | |
2375 | * should be included. | |
2376 | */ | |
2377 | #define I_USTAT /**/ | |
ff49bff8 | 2378 | |
327c3667 GS |
2379 | /* HAS_OFF64_T: |
2380 | * This symbol will be defined if the C compiler supports off64_t. | |
2381 | */ | |
ca24dfc6 LV |
2382 | /* HAS_FPOS64_T: |
2383 | * This symbol will be defined if the C compiler supports fpos64_t. | |
2384 | */ | |
2385 | /*#define HAS_OFF64_T / **/ | |
2386 | /*#define HAS_FPOS64_T / **/ | |
8c09e4ca JH |
2387 | |
2388 | /* PERL_PRIfldbl: | |
2389 | * This symbol, if defined, contains the string used by stdio to | |
2390 | * format long doubles (format 'f') for output. | |
2391 | */ | |
2392 | /* PERL_PRIgldbl: | |
2393 | * This symbol, if defined, contains the string used by stdio to | |
2394 | * format long doubles (format 'g') for output. | |
2395 | */ | |
11dc3f68 JH |
2396 | #define PERL_PRIfldbl "f" /**/ |
2397 | #define PERL_PRIgldbl "g" /**/ | |
8c09e4ca | 2398 | |
a22e52b9 JH |
2399 | /* IVTYPE: |
2400 | * This symbol defines the C type used for Perl's IV. | |
8c09e4ca | 2401 | */ |
a22e52b9 JH |
2402 | /* UVTYPE: |
2403 | * This symbol defines the C type used for Perl's UV. | |
8c09e4ca | 2404 | */ |
a22e52b9 JH |
2405 | /* I8TYPE: |
2406 | * This symbol defines the C type used for Perl's I8. | |
ca24dfc6 | 2407 | */ |
a22e52b9 JH |
2408 | /* U8TYPE: |
2409 | * This symbol defines the C type used for Perl's U8. | |
2410 | */ | |
2411 | /* I16TYPE: | |
2412 | * This symbol defines the C type used for Perl's I16. | |
2413 | */ | |
2414 | /* U16TYPE: | |
2415 | * This symbol defines the C type used for Perl's U16. | |
2416 | */ | |
2417 | /* I32TYPE: | |
2418 | * This symbol defines the C type used for Perl's I32. | |
2419 | */ | |
2420 | /* U32TYPE: | |
2421 | * This symbol defines the C type used for Perl's U32. | |
2422 | */ | |
2423 | /* I64TYPE: | |
2424 | * This symbol defines the C type used for Perl's I64. | |
2425 | */ | |
2426 | /* U64TYPE: | |
2427 | * This symbol defines the C type used for Perl's U64. | |
2428 | */ | |
2429 | /* NVTYPE: | |
2430 | * This symbol defines the C type used for Perl's NV. | |
2431 | */ | |
2432 | /* IVSIZE: | |
2433 | * This symbol contains the sizeof(IV). | |
2434 | */ | |
2435 | /* UVSIZE: | |
2436 | * This symbol contains the sizeof(UV). | |
2437 | */ | |
2438 | /* I8SIZE: | |
2439 | * This symbol contains the sizeof(I8). | |
2440 | */ | |
2441 | /* U8SIZE: | |
2442 | * This symbol contains the sizeof(U8). | |
2443 | */ | |
2444 | /* I16SIZE: | |
2445 | * This symbol contains the sizeof(I16). | |
2446 | */ | |
2447 | /* U16SIZE: | |
2448 | * This symbol contains the sizeof(U16). | |
8c09e4ca | 2449 | */ |
a22e52b9 JH |
2450 | /* I32SIZE: |
2451 | * This symbol contains the sizeof(I32). | |
2452 | */ | |
2453 | /* U32SIZE: | |
2454 | * This symbol contains the sizeof(U32). | |
2455 | */ | |
2456 | /* I64SIZE: | |
2457 | * This symbol contains the sizeof(I64). | |
2458 | */ | |
2459 | /* U64SIZE: | |
2460 | * This symbol contains the sizeof(U64). | |
2461 | */ | |
2462 | /* NVSIZE: | |
2463 | * This symbol contains the sizeof(NV). | |
2464 | */ | |
2465 | #define IVTYPE long /**/ | |
2466 | #define UVTYPE unsigned long /**/ | |
2467 | #define I8TYPE char /**/ | |
2468 | #define U8TYPE unsigned char /**/ | |
2469 | #define I16TYPE short /**/ | |
2470 | #define U16TYPE unsigned short /**/ | |
2471 | #define I32TYPE int /**/ | |
2472 | #define U32TYPE unsigned int /**/ | |
de1c2614 | 2473 | #ifdef HAS_QUAD |
a22e52b9 JH |
2474 | #define I64TYPE long /**/ |
2475 | #define U64TYPE unsigned long /**/ | |
2476 | #endif | |
2477 | #define NVTYPE double /**/ | |
2478 | #define IVSIZE 8 /**/ | |
2479 | #define UVSIZE 8 /**/ | |
2480 | #define I8SIZE 1 /**/ | |
2481 | #define U8SIZE 1 /**/ | |
2482 | #define I16SIZE 2 /**/ | |
2483 | #define U16SIZE 2 /**/ | |
2484 | #define I32SIZE 4 /**/ | |
2485 | #define U32SIZE 4 /**/ | |
de1c2614 | 2486 | #ifdef HAS_QUAD |
a22e52b9 JH |
2487 | #define I64SIZE 8 /**/ |
2488 | #define U64SIZE 8 /**/ | |
2489 | #endif | |
2490 | #define NVSIZE 8 /**/ | |
2491 | ||
2492 | /* IVdf: | |
2493 | * This symbol defines the format string used for printing a Perl IV | |
2494 | * as a signed decimal integer. | |
2495 | */ | |
2496 | /* UVuf: | |
2497 | * This symbol defines the format string used for printing a Perl UV | |
2498 | * as an unsigned decimal integer. | |
2499 | */ | |
2500 | /* UVof: | |
2501 | * This symbol defines the format string used for printing a Perl UV | |
2502 | * as an unsigned octal integer. | |
2503 | */ | |
2504 | /* UVxf: | |
2505 | * This symbol defines the format string used for printing a Perl UV | |
2506 | * as an unsigned hexadecimal integer. | |
2507 | */ | |
2508 | #define IVdf "ld" /**/ | |
2509 | #define UVuf "lu" /**/ | |
2510 | #define UVof "lo" /**/ | |
2511 | #define UVxf "lx" /**/ | |
327c3667 | 2512 | |
327c3667 GS |
2513 | /* SELECT_MIN_BITS: |
2514 | * This symbol holds the minimum number of bits operated by select. | |
2515 | * That is, if you do select(n, ...), how many bits at least will be | |
2516 | * cleared in the masks if some activity is detected. Usually this | |
2517 | * is either n or 32*ceil(n/32), especially many little-endians do | |
2518 | * the latter. This is only useful if you have select(), naturally. | |
2519 | */ | |
11dc3f68 | 2520 | #define SELECT_MIN_BITS 32 /**/ |
bfb7748a | 2521 | |
fbfd4aab | 2522 | /* STARTPERL: |
2523 | * This variable contains the string to put in front of a perl | |
2524 | * script to make sure (one hopes) that it runs with perl and not | |
2525 | * some shell. | |
2526 | */ | |
0617aed7 | 2527 | #define STARTPERL "#!/opt/perl/bin/perl" /**/ |
327c3667 | 2528 | |
a71cd7cd JH |
2529 | /* HAS_STDIO_STREAM_ARRAY: |
2530 | * This symbol, if defined, tells that there is an array | |
2531 | * holding the stdio streams. | |
2532 | */ | |
2533 | /* STDIO_STREAM_ARRAY: | |
2534 | * This symbol tells the name of the array holding the stdio streams. | |
2535 | * Usual values include _iob, __iob, and __sF. | |
2536 | */ | |
11dc3f68 JH |
2537 | #define HAS_STDIO_STREAM_ARRAY /**/ |
2538 | #define STDIO_STREAM_ARRAY _iob | |
8c09e4ca JH |
2539 | |
2540 | /* HAS_STRTOULL: | |
2541 | * This symbol, if defined, indicates that the strtoull routine is | |
2542 | * available to convert strings into unsigned long longs. | |
2543 | */ | |
11dc3f68 | 2544 | /*#define HAS_STRTOULL / **/ |
a71cd7cd | 2545 | |
327c3667 | 2546 | /* USE_64_BITS: |
921b2963 JH |
2547 | * This symbol, if defined, indicates that 64-bit interfaces should |
2548 | * be used when available. If not defined, the native default interfaces | |
327c3667 GS |
2549 | * will be used (be they 32 or 64 bits). |
2550 | */ | |
0befd8de | 2551 | #ifndef USE_64_BITS |
0617aed7 | 2552 | #define USE_64_BITS /**/ |
0befd8de | 2553 | #endif |
4633a7c4 | 2554 | |
1baac590 JH |
2555 | /* USE_LARGE_FILES: |
2556 | * This symbol, if defined, indicates that large file support | |
2557 | * should be used when available. The USE_64_BITS symbol will | |
2558 | * also be turned on if necessary. | |
2559 | */ | |
0befd8de | 2560 | #ifndef USE_LARGE_FILES |
5bf26616 | 2561 | /*#define USE_LARGE_FILES / **/ |
0befd8de | 2562 | #endif |
1baac590 | 2563 | |
ca24dfc6 LV |
2564 | /* USE_LONG_DOUBLE: |
2565 | * This symbol, if defined, indicates that long doubles should | |
2566 | * be used when available. | |
2567 | */ | |
0befd8de | 2568 | #ifndef USE_LONG_DOUBLE |
ca24dfc6 | 2569 | /*#define USE_LONG_DOUBLE / **/ |
0befd8de JH |
2570 | #endif |
2571 | ||
2572 | /* USE_LONG_LONG: | |
2573 | * This symbol, if defined, indicates that long longs should | |
2574 | * be used when available. | |
2575 | */ | |
2576 | #ifndef USE_LONG_LONG | |
2577 | /*#define USE_LONG_LONG / **/ | |
2578 | #endif | |
2579 | ||
2580 | #ifndef USE_MORE_BITS | |
2581 | /*#define USE_MORE_BITS / **/ | |
2582 | #endif | |
ca24dfc6 | 2583 | |
ff49bff8 JH |
2584 | /* MULTIPLICITY: |
2585 | * This symbol, if defined, indicates that Perl should | |
2586 | * be built to use multiplicity. | |
2587 | */ | |
0befd8de | 2588 | #ifndef MULTIPLICTY |
11dc3f68 | 2589 | /*#define MULTIPLICITY / **/ |
0befd8de | 2590 | #endif |
ff49bff8 | 2591 | |
9003a523 | 2592 | /* USE_PERLIO: |
2593 | * This symbol, if defined, indicates that the PerlIO abstraction should | |
2594 | * be used throughout. If not defined, stdio should be | |
2595 | * used in a fully backward compatible manner. | |
ce4a058e | 2596 | */ |
0befd8de | 2597 | #ifndef USE_PERLIO |
20e68413 | 2598 | /*#define USE_PERLIO / **/ |
0befd8de | 2599 | #endif |
ce4a058e | 2600 | |
29209bc5 JH |
2601 | /* USE_SOCKS: |
2602 | * This symbol, if defined, indicates that Perl should | |
2603 | * be built to use socks. | |
2604 | */ | |
0befd8de | 2605 | #ifndef USE_SOCKS |
11dc3f68 | 2606 | /*#define USE_SOCKS / **/ |
0befd8de | 2607 | #endif |
29209bc5 | 2608 | |
75347591 JH |
2609 | /* PERL_XS_APIVERSION: |
2610 | * This variable contains the version of the oldest perl binary | |
2611 | * compatible with the present perl. perl.c:incpush() and | |
785fb66b | 2612 | * lib/lib.pm will automatically search in /opt/perl/lib/site_perl/5.00563/alpha-dec_osf-thread for older |
75347591 JH |
2613 | * directories across major versions back to xs_apiversion. |
2614 | * This is only useful if you have a perl library directory tree | |
2615 | * structured like the default one. | |
2616 | * See INSTALL for how this works. | |
2617 | * The versioned site_perl directory was introduced in 5.005, | |
2618 | * so that is the lowest possible value. | |
2619 | * Since this can depend on compile time options (such as | |
2620 | * bincompat) it is set by Configure. Other non-default sources | |
2621 | * of potential incompatibility, such as multiplicity, threads, | |
2622 | * debugging, 64bits, sfio, etc., are not checked for currently, | |
2623 | * though in principle we could go snooping around in old | |
2624 | * Config.pm files. | |
2625 | */ | |
2626 | /* PERL_PM_APIVERSION: | |
2627 | * This variable contains the version of the oldest perl | |
2628 | * compatible with the present perl. (That is, pure perl modules | |
2629 | * written for pm_apiversion will still work for the current | |
2630 | * version). perl.c:incpush() and lib/lib.pm will automatically | |
0617aed7 | 2631 | * search in /opt/perl/lib/site_perl for older directories across major versions |
75347591 JH |
2632 | * back to pm_apiversion. This is only useful if you have a perl |
2633 | * library directory tree structured like the default one. The | |
2634 | * versioned site_perl library was introduced in 5.005, so that's | |
2635 | * the default setting for this variable. It's hard to imagine | |
2636 | * it changing before Perl6. It is included here for symmetry | |
2637 | * with xs_apiveprsion -- the searching algorithms will | |
2638 | * (presumably) be similar. | |
2639 | * See the INSTALL file for how this works. | |
2640 | */ | |
785fb66b | 2641 | #define PERL_XS_APIVERSION 5.00563 /* Change to string for tuples?*/ |
75347591 JH |
2642 | #define PERL_PM_APIVERSION 5.005 /* Change to string for tuples?*/ |
2643 | ||
921b2963 JH |
2644 | /* HAS_DRAND48_PROTO: |
2645 | * This symbol, if defined, indicates that the system provides | |
2646 | * a prototype for the drand48() function. Otherwise, it is up | |
2647 | * to the program to supply one. A good guess is | |
86959918 | 2648 | * extern double drand48 _((void)); |
921b2963 | 2649 | */ |
11dc3f68 | 2650 | #define HAS_DRAND48_PROTO /**/ |
921b2963 | 2651 | |
dc45a647 MB |
2652 | /* HAS_GETHOST_PROTOS: |
2653 | * This symbol, if defined, indicates that <netdb.h> includes | |
2654 | * prototypes for gethostent(), gethostbyname(), and | |
2655 | * gethostbyaddr(). Otherwise, it is up to the program to guess | |
2656 | * them. See netdbtype.U for probing for various Netdb_xxx_t types. | |
2657 | */ | |
11dc3f68 | 2658 | #define HAS_GETHOST_PROTOS /**/ |
dc45a647 MB |
2659 | |
2660 | /* HAS_GETNET_PROTOS: | |
2661 | * This symbol, if defined, indicates that <netdb.h> includes | |
2662 | * prototypes for getnetent(), getnetbyname(), and | |
2663 | * getnetbyaddr(). Otherwise, it is up to the program to guess | |
2664 | * them. See netdbtype.U for probing for various Netdb_xxx_t types. | |
2665 | */ | |
11dc3f68 | 2666 | #define HAS_GETNET_PROTOS /**/ |
dc45a647 MB |
2667 | |
2668 | /* HAS_GETPROTO_PROTOS: | |
2669 | * This symbol, if defined, indicates that <netdb.h> includes | |
2670 | * prototypes for getprotoent(), getprotobyname(), and | |
2671 | * getprotobyaddr(). Otherwise, it is up to the program to guess | |
2672 | * them. See netdbtype.U for probing for various Netdb_xxx_t types. | |
2673 | */ | |
11dc3f68 | 2674 | #define HAS_GETPROTO_PROTOS /**/ |
dc45a647 MB |
2675 | |
2676 | /* HAS_GETSERV_PROTOS: | |
2677 | * This symbol, if defined, indicates that <netdb.h> includes | |
2678 | * prototypes for getservent(), getservbyname(), and | |
2679 | * getservbyaddr(). Otherwise, it is up to the program to guess | |
2680 | * them. See netdbtype.U for probing for various Netdb_xxx_t types. | |
2681 | */ | |
11dc3f68 | 2682 | #define HAS_GETSERV_PROTOS /**/ |
dc45a647 | 2683 | |
dfe9444c AD |
2684 | /* Netdb_host_t: |
2685 | * This symbol holds the type used for the 1st argument | |
2686 | * to gethostbyaddr(). | |
4633a7c4 | 2687 | */ |
dfe9444c AD |
2688 | /* Netdb_hlen_t: |
2689 | * This symbol holds the type used for the 2nd argument | |
2690 | * to gethostbyaddr(). | |
2691 | */ | |
2692 | /* Netdb_name_t: | |
2693 | * This symbol holds the type used for the argument to | |
2694 | * gethostbyname(). | |
2695 | */ | |
2696 | /* Netdb_net_t: | |
2697 | * This symbol holds the type used for the 1st argument to | |
2698 | * getnetbyaddr(). | |
2699 | */ | |
11dc3f68 JH |
2700 | #define Netdb_host_t const char * /**/ |
2701 | #define Netdb_hlen_t int /**/ | |
2702 | #define Netdb_name_t const char * /**/ | |
2703 | #define Netdb_net_t int /**/ | |
dfe9444c AD |
2704 | |
2705 | /* Select_fd_set_t: | |
2706 | * This symbol holds the type used for the 2nd, 3rd, and 4th | |
2707 | * arguments to select. Usually, this is 'fd_set *', if HAS_FD_SET | |
2708 | * is defined, and 'int *' otherwise. This is only useful if you | |
2709 | * have select(), of course. | |
2710 | */ | |
2711 | #define Select_fd_set_t fd_set * /**/ | |
2712 | ||
2713 | /* ARCHNAME: | |
2714 | * This symbol holds a string representing the architecture name. | |
2715 | * It may be used to construct an architecture-dependant pathname | |
2716 | * where library files may be held under a private library, for | |
2717 | * instance. | |
2718 | */ | |
0617aed7 | 2719 | #define ARCHNAME "alpha-dec_osf-thread" /**/ |
921b2963 | 2720 | |
ef4af2be | 2721 | /* OLD_PTHREAD_CREATE_JOINABLE: |
921b2963 | 2722 | * This symbol, if defined, indicates how to create pthread |
ef4af2be JH |
2723 | * in joinable (aka undetached) state. NOTE: not defined |
2724 | * if pthread.h already has defined PTHREAD_CREATE_JOINABLE | |
2725 | * (the new version of the constant). | |
ff49bff8 | 2726 | * If defined, known values are PTHREAD_CREATE_UNDETACHED |
921b2963 JH |
2727 | * and __UNDETACHED. |
2728 | */ | |
11dc3f68 | 2729 | /*#define OLD_PTHREAD_CREATE_JOINABLE / **/ |
dfe9444c AD |
2730 | |
2731 | /* HAS_PTHREAD_YIELD: | |
2732 | * This symbol, if defined, indicates that the pthread_yield | |
2733 | * routine is available to yield the execution of the current | |
921b2963 JH |
2734 | * thread. sched_yield is preferable to pthread_yield. |
2735 | */ | |
2736 | /* SCHED_YIELD: | |
2737 | * This symbol defines the way to yield the execution of | |
2738 | * the current thread. Known ways are sched_yield, | |
2739 | * pthread_yield, and pthread_yield with NULL. | |
dfe9444c | 2740 | */ |
c4f23d77 AD |
2741 | /* HAS_SCHED_YIELD: |
2742 | * This symbol, if defined, indicates that the sched_yield | |
2743 | * routine is available to yield the execution of the current | |
921b2963 | 2744 | * thread. sched_yield is preferable to pthread_yield. |
c4f23d77 | 2745 | */ |
11dc3f68 JH |
2746 | /*#define HAS_PTHREAD_YIELD / **/ |
2747 | #define SCHED_YIELD sched_yield() /**/ | |
2748 | #define HAS_SCHED_YIELD /**/ | |
dfe9444c | 2749 | |
921b2963 JH |
2750 | /* I_MACH_CTHREADS: |
2751 | * This symbol, if defined, indicates to the C program that it should | |
2752 | * include <mach/cthreads.h>. | |
2753 | */ | |
11dc3f68 | 2754 | /*#define I_MACH_CTHREADS / **/ |
921b2963 | 2755 | |
190b66db JH |
2756 | /* I_PTHREAD: |
2757 | * This symbol, if defined, indicates to the C program that it should | |
2758 | * include <pthread.h>. | |
2759 | */ | |
2760 | #define I_PTHREAD /**/ | |
2761 | ||
dfe9444c AD |
2762 | /* USE_THREADS: |
2763 | * This symbol, if defined, indicates that Perl should | |
2764 | * be built to use threads. | |
2765 | */ | |
693762b4 AD |
2766 | /* OLD_PTHREADS_API: |
2767 | * This symbol, if defined, indicates that Perl should | |
2768 | * be built to use the old draft POSIX threads API. | |
2769 | */ | |
0befd8de | 2770 | #ifndef USE_TTHREADS |
0617aed7 | 2771 | #define USE_THREADS /**/ |
0befd8de | 2772 | #endif |
11dc3f68 | 2773 | /*#define OLD_PTHREADS_API / **/ |
16d20bd9 | 2774 | |
dc45a647 MB |
2775 | /* Time_t: |
2776 | * This symbol holds the type returned by time(). It can be long, | |
2777 | * or time_t on BSD sites (in which case <sys/types.h> should be | |
2778 | * included). | |
2779 | */ | |
2780 | #define Time_t time_t /* Time type */ | |
2781 | ||
2782 | /* HAS_TIMES: | |
2783 | * This symbol, if defined, indicates that the times() routine exists. | |
2784 | * Note that this became obsolete on some systems (SUNOS), which now | |
2785 | * use getrusage(). It may be necessary to include <sys/times.h>. | |
2786 | */ | |
2787 | #define HAS_TIMES /**/ | |
2788 | ||
2789 | /* Fpos_t: | |
2790 | * This symbol holds the type used to declare file positions in libc. | |
2791 | * It can be fpos_t, long, uint, etc... It may be necessary to include | |
2792 | * <sys/types.h> to get any typedef'ed information. | |
2793 | */ | |
2794 | #define Fpos_t fpos_t /* File position type */ | |
2795 | ||
a22e52b9 JH |
2796 | /* Gid_t_f: |
2797 | * This symbol defines the format string used for printing a Gid_t. | |
785fb66b | 2798 | */ |
a22e52b9 | 2799 | #define Gid_t_f "u" /**/ |
785fb66b | 2800 | |
887d2938 JH |
2801 | /* Gid_t_size: |
2802 | * This symbol holds the size of a Gid_t in bytes. | |
2803 | */ | |
2804 | #define Gid_t_size 4 /* GID size */ | |
2805 | ||
dc45a647 MB |
2806 | /* Gid_t: |
2807 | * This symbol holds the return type of getgid() and the type of | |
2808 | * argument to setrgid() and related functions. Typically, | |
2809 | * it is the type of group ids in the kernel. It can be int, ushort, | |
2810 | * uid_t, etc... It may be necessary to include <sys/types.h> to get | |
2811 | * any typedef'ed information. | |
2812 | */ | |
2813 | #define Gid_t gid_t /* Type for getgid(), etc... */ | |
2814 | ||
2815 | /* Off_t: | |
2816 | * This symbol holds the type used to declare offsets in the kernel. | |
2817 | * It can be int, long, off_t, etc... It may be necessary to include | |
2818 | * <sys/types.h> to get any typedef'ed information. | |
2819 | */ | |
921b2963 JH |
2820 | /* LSEEKSIZE: |
2821 | * This symbol holds the number of bytes used by the Off_t. | |
2822 | */ | |
e0a10278 JH |
2823 | /* Off_t_size: |
2824 | * This symbol holds the number of bytes used by the Off_t. | |
2825 | */ | |
dc45a647 | 2826 | #define Off_t off_t /* <offset> type */ |
11dc3f68 | 2827 | #define LSEEKSIZE 8 /* <offset> size */ |
e0a10278 | 2828 | #define Off_t_size 8 /* <offset> size */ |
dc45a647 MB |
2829 | |
2830 | /* Mode_t: | |
2831 | * This symbol holds the type used to declare file modes | |
2832 | * for systems calls. It is usually mode_t, but may be | |
2833 | * int or unsigned short. It may be necessary to include <sys/types.h> | |
2834 | * to get any typedef'ed information. | |
2835 | */ | |
2836 | #define Mode_t mode_t /* file mode parameter for system calls */ | |
2837 | ||
2838 | /* Pid_t: | |
2839 | * This symbol holds the type used to declare process ids in the kernel. | |
2840 | * It can be int, uint, pid_t, etc... It may be necessary to include | |
2841 | * <sys/types.h> to get any typedef'ed information. | |
2842 | */ | |
11dc3f68 | 2843 | #define Pid_t pid_t /* PID type */ |
dc45a647 | 2844 | |
887d2938 JH |
2845 | /* Size_t_size: |
2846 | * This symbol holds the size of a Size_t in bytes. | |
2847 | */ | |
2848 | #define Size_t_size 8 /* */ | |
2849 | ||
dc45a647 MB |
2850 | /* Size_t: |
2851 | * This symbol holds the type used to declare length parameters | |
2852 | * for string functions. It is usually size_t, but may be | |
2853 | * unsigned long, int, etc. It may be necessary to include | |
2854 | * <sys/types.h> to get any typedef'ed information. | |
2855 | */ | |
2856 | #define Size_t size_t /* length paramater for string functions */ | |
2857 | ||
a22e52b9 JH |
2858 | /* Uid_t_f: |
2859 | * This symbol defines the format string used for printing a Uid_t. | |
785fb66b | 2860 | */ |
a22e52b9 | 2861 | #define Uid_t_f "u" /**/ |
785fb66b | 2862 | |
887d2938 JH |
2863 | /* Uid_t_size: |
2864 | * This symbol holds the size of a Uid_t in bytes. | |
2865 | */ | |
2866 | #define Uid_t_size 4 /* UID size */ | |
2867 | ||
dc45a647 MB |
2868 | /* Uid_t: |
2869 | * This symbol holds the type used to declare user ids in the kernel. | |
2870 | * It can be int, ushort, uid_t, etc... It may be necessary to include | |
2871 | * <sys/types.h> to get any typedef'ed information. | |
2872 | */ | |
2873 | #define Uid_t uid_t /* UID type */ | |
2874 | ||
fe14fcc3 | 2875 | #endif |