aboutsummaryrefslogtreecommitdiff
path: root/doc/memvcmp.3
blob: ccb0138d4a0fe5eef0eb65b730afe41708248c00 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
'\" t
.\" Copyright 2024 axtlos (axtlos@disroot.org)
.\"
.\" SPDX-License-Identifier: BSD-3-Clause

.TH memvcmp 3 2024-07-14 "extlib"
.SH NAME
memvcmp \- compare a memory area to a value
.SH LIBRARY
extlib extended standard library
.RI ( libextlib ", " \-lextlib )
.SH SYNOPSIS
.nf
.B #include <extlib.h>
.P
.BI "int memvcmp (void *str, char val, size_t n);"
.fi
.SH DESCRIPTION
The
.BR memcvmp ()
function compares
.I n
bytes of
.I *str
to the value
.IR val .
.fi
.SH RETURN VALUE
.BR memvcmp ()
returns zero if the area matches, non-zero if it does not.
.SH AUTHORS
This manual page was written by Rose
.IR <axtlos@disroot.org> .
.\" SRC END