summaryrefslogtreecommitdiff
path: root/msdos/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'msdos/config.h')
-rw-r--r--msdos/config.h88
1 files changed, 76 insertions, 12 deletions
diff --git a/msdos/config.h b/msdos/config.h
index d030c5835a..7131d6338e 100644
--- a/msdos/config.h
+++ b/msdos/config.h
@@ -79,8 +79,16 @@
/* 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.
*/
/*#undef HAS_BCOPY /**/
+/*#undef SAFE_BCOPY /**/
/* HAS_BZERO
* This symbol, if defined, indicates that the bzero routine is available
@@ -243,6 +251,12 @@
#define index strchr /* cultural */
#define rindex strrchr /* differences? */
+/* HAS_ISASCII
+ * This symbol, if defined, indicates that the isascii routine is available
+ * to test characters for asciiness.
+ */
+#define 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
@@ -267,7 +281,27 @@
* 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.
+ */
#define HAS_MEMCPY /**/
+/*#undef 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.
+ */
+/*#undef 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.
+ */
+#define HAS_MEMSET /**/
/* HAS_MKDIR
* This symbol, if defined, indicates that the mkdir routine is available
@@ -284,25 +318,25 @@
/* HAS_MSGCTL
* This symbol, if defined, indicates that the msgctl() routine is
- * available to stat symbolic links.
+ * available to control message passing.
*/
/*#undef HAS_MSGCTL /**/
/* HAS_MSGGET
* This symbol, if defined, indicates that the msgget() routine is
- * available to stat symbolic links.
+ * available to get messages.
*/
/*#undef HAS_MSGGET /**/
/* HAS_MSGRCV
* This symbol, if defined, indicates that the msgrcv() routine is
- * available to stat symbolic links.
+ * available to receive messages.
*/
/*#undef HAS_MSGRCV /**/
/* HAS_MSGSND
* This symbol, if defined, indicates that the msgsnd() routine is
- * available to stat symbolic links.
+ * available to send messages.
*/
/*#undef HAS_MSGSND /**/
@@ -337,6 +371,12 @@
*/
#define HAS_RENAME /**/
+/* HAS_REWINDDIR
+ * This symbol, if defined, indicates that the rewindir routine is
+ * available to rewind directories.
+ */
+#define 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
@@ -344,6 +384,12 @@
*/
#define HAS_RMDIR /**/
+/* HAS_SEEKDIR
+ * This symbol, if defined, indicates that the seekdir routine is
+ * available to seek into directories.
+ */
+#define HAS_SEEKDIR /**/
+
/* HAS_SELECT
* This symbol, if defined, indicates that the select() subroutine
* exists.
@@ -358,19 +404,19 @@
/* HAS_SEMCTL
* This symbol, if defined, indicates that the semctl() routine is
- * available to stat symbolic links.
+ * available to control semaphores.
*/
/*#undef HAS_SEMCTL /**/
/* HAS_SEMGET
* This symbol, if defined, indicates that the semget() routine is
- * available to stat symbolic links.
+ * available to get semaphores ids.
*/
/*#undef HAS_SEMGET /**/
/* HAS_SEMOP
* This symbol, if defined, indicates that the semop() routine is
- * available to stat symbolic links.
+ * available to perform semaphore operations.
*/
/*#undef HAS_SEMOP /**/
@@ -448,25 +494,31 @@
/* 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
+ * returns a pointer of type void*.
*/
/*#undef HAS_SHMAT /**/
+/*#undef VOIDSHMAT /**/
+
/* HAS_SHMCTL
* This symbol, if defined, indicates that the shmctl() routine is
- * available to stat symbolic links.
+ * available to control a shared memory segment.
*/
/*#undef 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.
*/
/*#undef 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.
*/
/*#undef HAS_SHMGET /**/
@@ -528,6 +580,12 @@
*/
/*#undef HAS_SYSCALL /**/
+/* HAS_TELLDIR
+ * This symbol, if defined, indicates that the telldir routine is
+ * available to tell your location in directories.
+ */
+#define HAS_TELLDIR /**/
+
/* HAS_TRUNCATE
* This symbol, if defined, indicates that the truncate routine is
* available to truncate files.
@@ -745,11 +803,17 @@
/*#undef I_MY_DIR /**/
/*#undef DIRNAMLEN /**/
+/* MYMALLOC
+ * This symbol, if defined, indicates that we're using our own malloc.
+ */
/* MALLOCPTRTYPE
* This symbol defines the kind of ptr returned by malloc and realloc.
*/
+#define MYMALLOC /**/
+
#define MALLOCPTRTYPE void /**/
+
/* RANDBITS
* This symbol contains the number of bits of random number the rand()
* function produces. Usual values are 15, 16, and 31.
@@ -758,7 +822,7 @@
/* SCRIPTDIR
* This symbol holds the name of the directory in which the user wants
- * to put publicly executable scripts for the package in question. It
+ * to keep publicly executable scripts for the package in question. It
* is often a directory that is mounted across diverse architectures.
*/
#define SCRIPTDIR "C:/bin/perl" /**/