]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
man/man3/: SYNOPSIS: Move all <memory.h> to comments
authorAlejandro Colomar <alx@kernel.org>
Wed, 5 Aug 2026 12:24:59 +0000 (14:24 +0200)
committerAlejandro Colomar <alx@kernel.org>
Wed, 5 Aug 2026 12:25:09 +0000 (14:25 +0200)
For consistency.

Signed-off-by: Alejandro Colomar <alx@kernel.org>
man/man3/memfrob.3
man/man3/memmem.3
man/man3/mempcpy.3
man/man3/memrchr.3
man/man3/strdupa.3

index 433f3d43bc2c3c13290dfd3516f600195be367a4..7e2058f730780ebe44bed06dc3265fed15c2db49 100644 (file)
@@ -13,7 +13,7 @@ Standard C library
 .SH SYNOPSIS
 .nf
 .BR "#define _GNU_SOURCE" "             /* See feature_test_macros(7) */"
-.BR #include\~<memory.h> "  // or <string.h>; see memory.h(3head)"
+.BR #include\~<string.h> "  // or <memory.h>; see memory.h(3head)"
 .P
 .BR "void *memfrob(" "size_t n;"
 .BI "              void " s [ n "], size_t " n );
index 0d75bc6a7806d25dc5f24b629aa825e8f036a8c2..4e0cb83cfb57b6f5298ce8db49c7018ce50982bf 100644 (file)
@@ -13,7 +13,7 @@ Standard C library
 .SH SYNOPSIS
 .nf
 .BR "#define _GNU_SOURCE" "         /* See feature_test_macros(7) */"
-.BR #include\~<memory.h> "  // or <string.h>; see memory.h(3head)"
+.BR #include\~<string.h> "  // or <memory.h>; see memory.h(3head)"
 .P
 .BR "void *memmem(" "size_t hsize, size_t nsize;"
 .BI "             const void " haystack [ hsize "], size_t " hsize ,
index 63288233793e7f0d5a6872e41e9feba1ccbb52dd..453e7a23697ef022be19896ef2600f3f980fe10f 100644 (file)
@@ -14,7 +14,7 @@ Standard C library
 .SH SYNOPSIS
 .nf
 .BR "#define _GNU_SOURCE" "         /* See feature_test_macros(7) */"
-.BR #include\~<memory.h> "  // or <string.h>; see memory.h(3head)"
+.BR #include\~<string.h> "  // or <memory.h>; see memory.h(3head)"
 .P
 .BR "void *mempcpy(" "size_t n;"
 .BI "              void " dest "[restrict " n "], const void " src "[restrict " n ],
index 901edb10f07d7573abaca60684a5a428291d5db1..7a4a410e8c9225caba8592afae0a3bdcd6228d1e 100644 (file)
@@ -13,7 +13,7 @@ Standard C library
 .SH SYNOPSIS
 .nf
 .BR #define\~_GNU_SOURCE "  // See feature_test_macros(7)"
-.BR #include\~<memory.h> "  // or <string.h>; see memory.h(3head)"
+.BR #include\~<string.h> "  // or <memory.h>; see memory.h(3head)"
 .P
 .BR void\~*memrchr( size_t\~n;
 .BI "              const void " s [ n "], int " c ", size_t " n );
index b541d10e5920cb5fb7c15c50b0c7156c06ea4965..ed7f95d94dd5319209cb5bdd57e2e840c4a24aad 100644 (file)
@@ -18,7 +18,7 @@ Standard C library
 .BI "char *strdupa(const char *" s );
 .P
 .BR "#define _GNU_SOURCE" "  /* See feature_test_macros(7) */"
-.BR #include\~<memory.h> "  // or <string.h>; see memory.h(3head)"
+.BR #include\~<string.h> "  // or <memory.h>; see memory.h(3head)"
 .P
 .BR "char *strndupa(" "size_t n;"
 .BI "              const char " s [ n "], size_t " n );