diff options
author | Larry Wall <lwall@netlabs.com> | 1992-06-08 04:52:29 +0000 |
---|---|---|
committer | Larry Wall <lwall@netlabs.com> | 1992-06-08 04:52:29 +0000 |
commit | 9f971974f4068f821b286dfeb06c5a63adf2bc09 (patch) | |
tree | 5f58103dd79720bccb1902586761fc5b145f58cd /config_h.SH | |
parent | 68decaef0a08fcd5db3193f825cfdfc539b67ccb (diff) | |
download | perl-9f971974f4068f821b286dfeb06c5a63adf2bc09.tar.gz |
perl 4.0 patch 23: patch #20, continued
See patch #20.
Diffstat (limited to 'config_h.SH')
-rw-r--r-- | config_h.SH | 79 |
1 files changed, 68 insertions, 11 deletions
diff --git a/config_h.SH b/config_h.SH index dc2281e503..03667bd546 100644 --- a/config_h.SH +++ b/config_h.SH @@ -41,6 +41,11 @@ sed <<!GROK!THIS! >config.h -e 's!^#undef!/\*#undef!' #$d_eunice EUNICE /**/ #$d_eunice VMS /**/ +/* LOC_SED + * This symbol holds the complete pathname to the sed program. + */ +#define LOC_SED "$sed" /**/ + /* ALIGNBYTES * This symbol contains the number of bytes required to align a double. * Usual values are 2, 4, and 8. @@ -84,8 +89,16 @@ sed <<!GROK!THIS! >config.h -e 's!^#undef!/\*#undef!' /* HAS_BCOPY * This symbol, if defined, indicates that the bcopy routine is available * to copy blocks of memory. Otherwise you should probably use memcpy(). + * If neither is defined, roll your own. + */ +/* SAFE_BCOPY + * This symbol, if defined, indicates that the bcopy routine is available + * to copy potentially overlapping copy blocks of bcopy. Otherwise you + * should probably use memmove() or memcpy(). If neither is defined, + * roll your own. */ #$d_bcopy HAS_BCOPY /**/ +#$d_safebcpy SAFE_BCOPY /**/ /* HAS_BZERO * This symbol, if defined, indicates that the bzero routine is available @@ -248,6 +261,12 @@ sed <<!GROK!THIS! >config.h -e 's!^#undef!/\*#undef!' #$d_index index strchr /* cultural */ #$d_index rindex strrchr /* differences? */ +/* HAS_ISASCII + * This symbol, if defined, indicates that the isascii routine is available + * to test characters for asciiness. + */ +#$d_isascii HAS_ISASCII /**/ + /* HAS_KILLPG * This symbol, if defined, indicates that the killpg routine is available * to kill process groups. If unavailable, you probably should use kill @@ -272,7 +291,27 @@ sed <<!GROK!THIS! >config.h -e 's!^#undef!/\*#undef!' * to copy blocks of memory. Otherwise you should probably use bcopy(). * If neither is defined, roll your own. */ +/* SAFE_MEMCPY + * This symbol, if defined, indicates that the memcpy routine is available + * to copy potentially overlapping copy blocks of memory. Otherwise you + * should probably use memmove() or bcopy(). If neither is defined, + * roll your own. + */ #$d_memcpy HAS_MEMCPY /**/ +#$d_safemcpy SAFE_MEMCPY /**/ + +/* HAS_MEMMOVE + * This symbol, if defined, indicates that the memmove routine is available + * to move potentially overlapping blocks of memory. Otherwise you + * should use bcopy() or roll your own. + */ +#$d_memmove HAS_MEMMOVE /**/ + +/* HAS_MEMSET + * This symbol, if defined, indicates that the memset routine is available + * to set a block of memory to a character. If undefined, roll your own. + */ +#$d_memset HAS_MEMSET /**/ /* HAS_MKDIR * This symbol, if defined, indicates that the mkdir routine is available @@ -289,25 +328,25 @@ sed <<!GROK!THIS! >config.h -e 's!^#undef!/\*#undef!' /* HAS_MSGCTL * This symbol, if defined, indicates that the msgctl() routine is - * available to stat symbolic links. + * available to control message passing. */ #$d_msgctl HAS_MSGCTL /**/ /* HAS_MSGGET * This symbol, if defined, indicates that the msgget() routine is - * available to stat symbolic links. + * available to get messages. */ #$d_msgget HAS_MSGGET /**/ /* HAS_MSGRCV * This symbol, if defined, indicates that the msgrcv() routine is - * available to stat symbolic links. + * available to receive messages. */ #$d_msgrcv HAS_MSGRCV /**/ /* HAS_MSGSND * This symbol, if defined, indicates that the msgsnd() routine is - * available to stat symbolic links. + * available to send messages. */ #$d_msgsnd HAS_MSGSND /**/ @@ -342,6 +381,12 @@ sed <<!GROK!THIS! >config.h -e 's!^#undef!/\*#undef!' */ #$d_rename HAS_RENAME /**/ +/* HAS_REWINDDIR + * This symbol, if defined, indicates that the rewindir routine is + * available to rewind directories. + */ +#$d_rewindir HAS_REWINDDIR /**/ + /* HAS_RMDIR * This symbol, if defined, indicates that the rmdir routine is available * to remove directories. Otherwise you should fork off a new process to @@ -349,6 +394,12 @@ sed <<!GROK!THIS! >config.h -e 's!^#undef!/\*#undef!' */ #$d_rmdir HAS_RMDIR /**/ +/* HAS_SEEKDIR + * This symbol, if defined, indicates that the seekdir routine is + * available to seek into directories. + */ +#$d_seekdir HAS_SEEKDIR /**/ + /* HAS_SELECT * This symbol, if defined, indicates that the select() subroutine * exists. @@ -363,19 +414,19 @@ sed <<!GROK!THIS! >config.h -e 's!^#undef!/\*#undef!' /* HAS_SEMCTL * This symbol, if defined, indicates that the semctl() routine is - * available to stat symbolic links. + * available to control semaphores. */ #$d_semctl HAS_SEMCTL /**/ /* HAS_SEMGET * This symbol, if defined, indicates that the semget() routine is - * available to stat symbolic links. + * available to get semaphores ids. */ #$d_semget HAS_SEMGET /**/ /* HAS_SEMOP * This symbol, if defined, indicates that the semop() routine is - * available to stat symbolic links. + * available to perform semaphore operations. */ #$d_semop HAS_SEMOP /**/ @@ -453,7 +504,7 @@ sed <<!GROK!THIS! >config.h -e 's!^#undef!/\*#undef!' /* HAS_SHMAT * This symbol, if defined, indicates that the shmat() routine is - * available to stat symbolic links. + * available to attach a shared memory segment. */ /* VOID_SHMAT * This symbol, if defined, indicates that the shmat() routine @@ -465,19 +516,19 @@ sed <<!GROK!THIS! >config.h -e 's!^#undef!/\*#undef!' /* HAS_SHMCTL * This symbol, if defined, indicates that the shmctl() routine is - * available to stat symbolic links. + * available to control a shared memory segment. */ #$d_shmctl HAS_SHMCTL /**/ /* HAS_SHMDT * This symbol, if defined, indicates that the shmdt() routine is - * available to stat symbolic links. + * available to detach a shared memory segment. */ #$d_shmdt HAS_SHMDT /**/ /* HAS_SHMGET * This symbol, if defined, indicates that the shmget() routine is - * available to stat symbolic links. + * available to get a shared memory segment id. */ #$d_shmget HAS_SHMGET /**/ @@ -536,6 +587,12 @@ sed <<!GROK!THIS! >config.h -e 's!^#undef!/\*#undef!' */ #$d_syscall HAS_SYSCALL /**/ +/* HAS_TELLDIR + * This symbol, if defined, indicates that the telldir routine is + * available to tell your location in directories. + */ +#$d_telldir HAS_TELLDIR /**/ + /* HAS_TRUNCATE * This symbol, if defined, indicates that the truncate routine is * available to truncate files. |