summaryrefslogtreecommitdiff
path: root/Porting
diff options
context:
space:
mode:
Diffstat (limited to 'Porting')
-rw-r--r--Porting/Glossary6
-rw-r--r--Porting/config.sh1
-rw-r--r--Porting/config_H7
3 files changed, 14 insertions, 0 deletions
diff --git a/Porting/Glossary b/Porting/Glossary
index af8fc6b69f..58e06e7408 100644
--- a/Porting/Glossary
+++ b/Porting/Glossary
@@ -1713,6 +1713,12 @@ d_memset (d_memset.U):
indicates to the C program that the memset() routine is available
to set blocks of memory.
+d_memrchr (d_memrchr.U):
+ This variable conditionally defines the HAS_MEMRCHR symbol, which
+ indicates to the C program that the memrchr() routine is available
+ to return a pointer to the last occurrence of a byte in a memory
+ area (or NULL if not found).
+
d_mkdir (d_mkdir.U):
This variable conditionally defines the HAS_MKDIR symbol, which
indicates to the C program that the mkdir() routine is available
diff --git a/Porting/config.sh b/Porting/config.sh
index f97abf5af3..04cc4ba9a1 100644
--- a/Porting/config.sh
+++ b/Porting/config.sh
@@ -390,6 +390,7 @@ d_memcmp='define'
d_memcpy='define'
d_memmem='define'
d_memmove='define'
+d_memrchr='define'
d_memset='define'
d_mkdir='define'
d_mkdtemp='define'
diff --git a/Porting/config_H b/Porting/config_H
index b193b8083d..86d8a53391 100644
--- a/Porting/config_H
+++ b/Porting/config_H
@@ -280,6 +280,13 @@
*/
#define HAS_MEMMOVE /**/
+/* HAS_MEMRCHR:
+ * This symbol, if defined, indicates that the memrchr routine is
+ * available to return a pointer to the last occurrence of a byte in
+ * a memory area (or NULL if not found).
+ */
+#define HAS_MEMRCHR /**/
+
/* HAS_MEMSET:
* This symbol, if defined, indicates that the memset routine is available
* to set blocks of memory.