aboutsummaryrefslogtreecommitdiffstats
path: root/src/string/mem
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/string/mem/memcasecmp.c2
-rw-r--r--src/string/mem/memcasemem.c2
-rw-r--r--src/string/mem/memccpy.c2
-rw-r--r--src/string/mem/memchr.c2
-rw-r--r--src/string/mem/memcmove.c2
-rw-r--r--src/string/mem/memcmp.c2
-rw-r--r--src/string/mem/memcpy.c2
-rw-r--r--src/string/mem/memdup.c2
-rw-r--r--src/string/mem/memmem.c2
-rw-r--r--src/string/mem/memmove.c2
-rw-r--r--src/string/mem/mempcpy.c2
-rw-r--r--src/string/mem/mempmove.c2
-rw-r--r--src/string/mem/memrchr.c2
-rw-r--r--src/string/mem/memset.c2
-rw-r--r--src/string/mem/rawmemchr.c2
-rw-r--r--src/string/memfrob.c2
16 files changed, 32 insertions, 0 deletions
diff --git a/src/string/mem/memcasecmp.c b/src/string/mem/memcasecmp.c
index d8ea014..816c954 100644
--- a/src/string/mem/memcasecmp.c
+++ b/src/string/mem/memcasecmp.c
@@ -31,6 +31,8 @@
* @param size The size of the segments.
* @return Zero is returned if `a` and `b` are equal, otherwise,
* see the specifications for `a` and `b`.
+ *
+ * @since Always.
*/
int memcasecmp(const void* a, const void* b, size_t size)
{
diff --git a/src/string/mem/memcasemem.c b/src/string/mem/memcasemem.c
index aad5d68..b15daea 100644
--- a/src/string/mem/memcasemem.c
+++ b/src/string/mem/memcasemem.c
@@ -38,6 +38,8 @@
* @param needle_length The length of `needle`.
* @return Pointer to the first occurrence of
* the substring, `NULL` if not found.
+ *
+ * @since Always.
*/
void* (memcasemem)(const void* __haystack, size_t haystack_length,
const void* __needle, size_t needle_length)
diff --git a/src/string/mem/memccpy.c b/src/string/mem/memccpy.c
index 01b4a4b..f5c669e 100644
--- a/src/string/mem/memccpy.c
+++ b/src/string/mem/memccpy.c
@@ -32,6 +32,8 @@
* that is, the address of `whither` plus the
* number of copied characters; the address of
* one character passed the last written character.
+ *
+ * @since Always.
*/
void* (memccpy)(void* restrict whither, const void* restrict whence, int c, size_t size)
{
diff --git a/src/string/mem/memchr.c b/src/string/mem/memchr.c
index 380fa0f..06c82a8 100644
--- a/src/string/mem/memchr.c
+++ b/src/string/mem/memchr.c
@@ -30,6 +30,8 @@
* @param size The size of the memory segment.
* @return Pointer to the first occurrence of `c`,
* `NULL` if none were found.
+ *
+ * @since Always.
*/
void* (memchr)(const void* segment, int c, size_t size)
{
diff --git a/src/string/mem/memcmove.c b/src/string/mem/memcmove.c
index ad10606..c1cf8ae 100644
--- a/src/string/mem/memcmove.c
+++ b/src/string/mem/memcmove.c
@@ -34,6 +34,8 @@
* that is, the address of `whither` plus the
* number of copied characters; the address of
* one character passed the last written character.
+ *
+ * @since Always.
*/
void* (memcmove)(void* whither, const void* whence, int c, size_t size)
{
diff --git a/src/string/mem/memcmp.c b/src/string/mem/memcmp.c
index 112cdd1..1de506d 100644
--- a/src/string/mem/memcmp.c
+++ b/src/string/mem/memcmp.c
@@ -27,6 +27,8 @@
* @param size The size of the segments.
* @return Zero is returned if `a` and `b` are equal, otherwise,
* see the specifications for `a` and `b`.
+ *
+ * @since Always.
*/
int memcmp(const void* a, const void* b, size_t size)
{
diff --git a/src/string/mem/memcpy.c b/src/string/mem/memcpy.c
index fcda29d..ccf716b 100644
--- a/src/string/mem/memcpy.c
+++ b/src/string/mem/memcpy.c
@@ -26,6 +26,8 @@
* @param whence The source memory segment.
* @param size The number of bytes to copy.
* @return `whither` is returned.
+ *
+ * @since Always.
*/
void* memcpy(void* restrict whither, const void* restrict whence, size_t size)
{
diff --git a/src/string/mem/memdup.c b/src/string/mem/memdup.c
index 3b301dc..3e3be99 100644
--- a/src/string/mem/memdup.c
+++ b/src/string/mem/memdup.c
@@ -31,6 +31,8 @@
* and `errno` is set to indicate the error.
*
* @throws ENOMEM The process could not allocate sufficient amount of memory.
+ *
+ * @since Always.
*/
void* memdup(const void* segment, size_t size)
{
diff --git a/src/string/mem/memmem.c b/src/string/mem/memmem.c
index 62739d4..71d1f4d 100644
--- a/src/string/mem/memmem.c
+++ b/src/string/mem/memmem.c
@@ -37,6 +37,8 @@
* @param needle_length The length of `needle`.
* @return Pointer to the first occurrence of
* the substring, `NULL` if not found.
+ *
+ * @since Always.
*/
void* (memmem)(const void* __haystack, size_t haystack_length,
const void* __needle, size_t needle_length)
diff --git a/src/string/mem/memmove.c b/src/string/mem/memmove.c
index 41871c6..00ee9c1 100644
--- a/src/string/mem/memmove.c
+++ b/src/string/mem/memmove.c
@@ -26,6 +26,8 @@
* @param whence The source memory segment.
* @param size The number of bytes to copy.
* @return `whither` is returned.
+ *
+ * @since Always.
*/
void* memmove(void* whither, const void* whence, size_t size)
{
diff --git a/src/string/mem/mempcpy.c b/src/string/mem/mempcpy.c
index 2072dc3..97b81f1 100644
--- a/src/string/mem/mempcpy.c
+++ b/src/string/mem/mempcpy.c
@@ -28,6 +28,8 @@
* @param whence The source memory segment.
* @param size The number of bytes to copy.
* @return `whither + size` is returned.
+ *
+ * @since Always.
*/
void* mempcpy(void* restrict whither, const void* restrict whence, size_t size)
{
diff --git a/src/string/mem/mempmove.c b/src/string/mem/mempmove.c
index f837032..415e38b 100644
--- a/src/string/mem/mempmove.c
+++ b/src/string/mem/mempmove.c
@@ -29,6 +29,8 @@
* @param whence The source memory segment.
* @param size The number of bytes to copy.
* @return `whither + size` is returned.
+ *
+ * @since Always.
*/
void* mempmove(void* whither, const void* whence, size_t size)
{
diff --git a/src/string/mem/memrchr.c b/src/string/mem/memrchr.c
index 7325049..2781a71 100644
--- a/src/string/mem/memrchr.c
+++ b/src/string/mem/memrchr.c
@@ -34,6 +34,8 @@
* @param size The size of the memory segment.
* @return Pointer to the last occurrence of `c`,
* `NULL` if none were found.
+ *
+ * @since Always.
*/
void* (memrchr)(const void* segment, int c, size_t size)
{
diff --git a/src/string/mem/memset.c b/src/string/mem/memset.c
index df36052..047620b 100644
--- a/src/string/mem/memset.c
+++ b/src/string/mem/memset.c
@@ -26,6 +26,8 @@
* @param c The character (8 bits wide.)
* @param size The size of the memory segment.
* @return `segment` is returned.
+ *
+ * @since Always.
*/
void* memset(void* segment, int c, size_t size)
{
diff --git a/src/string/mem/rawmemchr.c b/src/string/mem/rawmemchr.c
index 8f5c03e..afaae48 100644
--- a/src/string/mem/rawmemchr.c
+++ b/src/string/mem/rawmemchr.c
@@ -31,6 +31,8 @@
* @param segment The memory segment to search.
* @param c The sought after character.
* @return Pointer to the first occurrence of `c`.
+ *
+ * @since Always.
*/
void* (rawmemchr)(const void* segment, int c)
{
diff --git a/src/string/memfrob.c b/src/string/memfrob.c
index 7ec9abd..77c2e40 100644
--- a/src/string/memfrob.c
+++ b/src/string/memfrob.c
@@ -28,6 +28,8 @@
* @param segment The memory segment.
* @param size The size of the memory segment.
* @return `segment` is returned
+ *
+ * @since Always.
*/
char* memfrob(char* segment, size_t size)
{