summaryrefslogtreecommitdiffstats
path: root/upstream/opensuse-tumbleweed/man3/memchr.3
diff options
context:
space:
mode:
Diffstat (limited to 'upstream/opensuse-tumbleweed/man3/memchr.3')
-rw-r--r--upstream/opensuse-tumbleweed/man3/memchr.317
1 files changed, 8 insertions, 9 deletions
diff --git a/upstream/opensuse-tumbleweed/man3/memchr.3 b/upstream/opensuse-tumbleweed/man3/memchr.3
index 92708cdb..f8316253 100644
--- a/upstream/opensuse-tumbleweed/man3/memchr.3
+++ b/upstream/opensuse-tumbleweed/man3/memchr.3
@@ -10,7 +10,7 @@
.\" Modified Wed Feb 20 21:09:36 2002, Ian Redfern (redferni@logica.com)
.\" 2008-07-09, mtk, add rawmemchr()
.\"
-.TH memchr 3 2023-07-20 "Linux man-pages 6.05.01"
+.TH memchr 3 2024-05-02 "Linux man-pages (unreleased)"
.SH NAME
memchr, memrchr, rawmemchr \- scan memory for a character
.SH LIBRARY
@@ -19,18 +19,18 @@ Standard C library
.SH SYNOPSIS
.nf
.B #include <string.h>
-.PP
+.P
.BI "void *memchr(const void " s [. n "], int " c ", size_t " n );
.BI "void *memrchr(const void " s [. n "], int " c ", size_t " n );
-.PP
+.P
.BI "[[deprecated]] void *rawmemchr(const void *" s ", int " c );
.fi
-.PP
+.P
.RS -4
Feature Test Macro Requirements for glibc (see
.BR feature_test_macros (7)):
.RE
-.PP
+.P
.BR memrchr (),
.BR rawmemchr ():
.nf
@@ -52,7 +52,7 @@ and the bytes of the memory area pointed to by
.I s
are interpreted as
.IR "unsigned char" .
-.PP
+.P
The
.BR memrchr ()
function is like the
@@ -63,7 +63,7 @@ except that it searches backward from the end of the
bytes pointed to by
.I s
instead of forward from the beginning.
-.PP
+.P
The
.BR rawmemchr ()
function is similar to
@@ -90,7 +90,7 @@ and
functions return a pointer
to the matching byte or NULL if the character does not occur in
the given memory area.
-.PP
+.P
The
.BR rawmemchr ()
function returns a pointer to the matching byte.
@@ -110,7 +110,6 @@ T{
.BR rawmemchr ()
T} Thread safety MT-Safe
.TE
-.sp 1
.SH STANDARDS
.TP
.BR memchr ()