aboutsummaryrefslogtreecommitdiffstats
path: root/man3/libsimple_memmem.3
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--man3/libsimple_memmem.314
1 files changed, 13 insertions, 1 deletions
diff --git a/man3/libsimple_memmem.3 b/man3/libsimple_memmem.3
index 30dea44..cb24cc4 100644
--- a/man3/libsimple_memmem.3
+++ b/man3/libsimple_memmem.3
@@ -1,6 +1,7 @@
-.TH LIBSIMPLE_MEMMEM 3 2018-10-23 libsimple
+.TH LIBSIMPLE_MEMMEM 3 libsimple
.SH NAME
libsimple_memmem \- find byte string in memory
+
.SH SYNOPSIS
.nf
#include <libsimple.h>
@@ -14,6 +15,7 @@ void *libsimple_memmem(const void *\fIhaystack\fP, size_t \fInhaystack\fP, const
.PP
Link with
.IR \-lsimple .
+
.SH DESCRIPTION
The
.BR libsimple_memmem ()
@@ -27,6 +29,7 @@ with the size
.IR nneedle .
.PP
The comparison is case-sensitive.
+
.SH RETURN VALUE
The
.BR libsimple_memmem ()
@@ -40,10 +43,12 @@ is the returned pointer.
If no such offset exists,
.B NULL
is returned.
+
.SH ERRORS
The
.BR libsimple_memmem ()
function cannot fail.
+
.SH ATTRIBUTES
For an explanation of the terms used in this section, see
.BR attributes (7).
@@ -62,18 +67,25 @@ T{
.BR libsimple_memmem ()
T} Async-cancel safety AC-Safe
.TE
+
.SH EXAMPLES
None.
+
.SH APPLICATION USAGE
None.
+
.SH RATIONALE
None.
+
.SH FUTURE DIRECTIONS
None.
+
.SH NOTES
None.
+
.SH BUGS
None.
+
.SH SEE ALSO
.BR libsimple_memrcasemem (3),
.BR libsimple_memrmem (3),