aboutsummaryrefslogtreecommitdiffstats
path: root/man
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2018-10-23 20:19:55 +0200
committerMattias Andrée <maandree@kth.se>2018-10-23 20:20:10 +0200
commit0f213c37687512999cb2f53035700ca7ce191c67 (patch)
tree2f0634056f38019b6c44448e1391d72553edf169 /man
parentAdd strn[case]eqlen (diff)
downloadlibsimple-0f213c37687512999cb2f53035700ca7ce191c67.tar.gz
libsimple-0f213c37687512999cb2f53035700ca7ce191c67.tar.bz2
libsimple-0f213c37687512999cb2f53035700ca7ce191c67.tar.xz
Add man pages for str[r]n[case]eq{,nul,len}
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'man')
-rw-r--r--man/libsimple_memcaseeq.36
-rw-r--r--man/libsimple_memcaseeqlen.36
-rw-r--r--man/libsimple_memeq.34
-rw-r--r--man/libsimple_memeqlen.36
-rw-r--r--man/libsimple_memrcaseeqlen.36
-rw-r--r--man/libsimple_memreqlen.36
-rw-r--r--man/libsimple_strcaseeq.34
-rw-r--r--man/libsimple_strcaseeqlen.311
-rw-r--r--man/libsimple_strcaseeqnul.34
-rw-r--r--man/libsimple_streq.35
-rw-r--r--man/libsimple_streqlen.311
-rw-r--r--man/libsimple_streqnul.34
-rw-r--r--man/libsimple_strncaseeq.381
-rw-r--r--man/libsimple_strncaseeqlen.382
-rw-r--r--man/libsimple_strncaseeqnul.381
-rw-r--r--man/libsimple_strneq.380
-rw-r--r--man/libsimple_strneqlen.382
-rw-r--r--man/libsimple_strneqnul.380
-rw-r--r--man/libsimple_strrcaseeqlen.36
-rw-r--r--man/libsimple_strreqlen.36
-rw-r--r--man/libsimple_strrncaseeqlen.381
-rw-r--r--man/libsimple_strrneqlen.381
22 files changed, 705 insertions, 28 deletions
diff --git a/man/libsimple_memcaseeq.3 b/man/libsimple_memcaseeq.3
index 314fd63..6e30970 100644
--- a/man/libsimple_memcaseeq.3
+++ b/man/libsimple_memcaseeq.3
@@ -1,4 +1,4 @@
-.TH LIBSIMPLE_MEMCASEEQ 3 2018-10-21 libsimple
+.TH LIBSIMPLE_MEMCASEEQ 3 2018-10-23 libsimple
.SH NAME
libsimple_memcaseeq \- check two memory segments for equality
.SH SYNOPSIS
@@ -72,4 +72,6 @@ None.
.SH SEE ALSO
.BR libsimple_memeq (3),
.BR libsimple_memcaseeqlen (3),
-.BR libsimple_memcasecmp (3)
+.BR libsimple_memcasecmp (3),
+.BR libsimple_strncaseeq (3),
+.BR libsimple_strcaseeq (3)
diff --git a/man/libsimple_memcaseeqlen.3 b/man/libsimple_memcaseeqlen.3
index 410da7d..f8779c8 100644
--- a/man/libsimple_memcaseeqlen.3
+++ b/man/libsimple_memcaseeqlen.3
@@ -1,4 +1,4 @@
-.TH LIBSIMPLE_MEMCASEEQLEN 3 2018-10-21 libsimple
+.TH LIBSIMPLE_MEMCASEEQLEN 3 2018-10-23 libsimple
.SH NAME
libsimple_memcaseeqlen \- check initial commonality
.SH SYNOPSIS
@@ -73,4 +73,6 @@ None.
.SH SEE ALSO
.BR libsimple_memcaseeq (3),
.BR libsimple_memeqlen (3),
-.BR libsimple_memrcaseeqlen (3)
+.BR libsimple_memrcaseeqlen (3),
+.BR libsimple_strncaseeqlen (3),
+.BR libsimple_strcaseeqlen (3)
diff --git a/man/libsimple_memeq.3 b/man/libsimple_memeq.3
index d0c2a99..6631328 100644
--- a/man/libsimple_memeq.3
+++ b/man/libsimple_memeq.3
@@ -1,4 +1,4 @@
-.TH LIBSIMPLE_MEMEQ 3 2018-10-21 libsimple
+.TH LIBSIMPLE_MEMEQ 3 2018-10-23 libsimple
.SH NAME
libsimple_memeq \- check two memory segments for equality
.SH SYNOPSIS
@@ -71,4 +71,6 @@ None.
.SH SEE ALSO
.BR libsimple_memcaseeq (3),
.BR libsimple_memeqlen (3),
+.BR libsimple_strneq (3),
+.BR libsimple_streq (3),
.BR memcmp (3)
diff --git a/man/libsimple_memeqlen.3 b/man/libsimple_memeqlen.3
index 277e382..6a03808 100644
--- a/man/libsimple_memeqlen.3
+++ b/man/libsimple_memeqlen.3
@@ -1,4 +1,4 @@
-.TH LIBSIMPLE_MEMEQLEN 3 2018-10-21 libsimple
+.TH LIBSIMPLE_MEMEQLEN 3 2018-10-23 libsimple
.SH NAME
libsimple_memeqlen \- check initial commonality
.SH SYNOPSIS
@@ -73,4 +73,6 @@ None.
.SH SEE ALSO
.BR libsimple_memeq (3),
.BR libsimple_memcaseeqlen (3),
-.BR libsimple_memreqlen (3)
+.BR libsimple_memreqlen (3),
+.BR libsimple_strneqlen (3),
+.BR libsimple_streqlen (3)
diff --git a/man/libsimple_memrcaseeqlen.3 b/man/libsimple_memrcaseeqlen.3
index ce6838c..9991e05 100644
--- a/man/libsimple_memrcaseeqlen.3
+++ b/man/libsimple_memrcaseeqlen.3
@@ -1,4 +1,4 @@
-.TH LIBSIMPLE_MEMRCASEEQLEN 3 2018-10-21 libsimple
+.TH LIBSIMPLE_MEMRCASEEQLEN 3 2018-10-23 libsimple
.SH NAME
libsimple_memrcaseeqlen \- check terminal commonality
.SH SYNOPSIS
@@ -72,4 +72,6 @@ None.
None.
.SH SEE ALSO
.BR libsimple_memreqlen (3),
-.BR libsimple_memcaseeqlen (3)
+.BR libsimple_memcaseeqlen (3),
+.BR libsimple_strrncaseeqlen (3),
+.BR libsimple_strrcaseeqlen (3)
diff --git a/man/libsimple_memreqlen.3 b/man/libsimple_memreqlen.3
index 80ae98e..93b49b4 100644
--- a/man/libsimple_memreqlen.3
+++ b/man/libsimple_memreqlen.3
@@ -1,4 +1,4 @@
-.TH LIBSIMPLE_MEMREQLEN 3 2018-10-21 libsimple
+.TH LIBSIMPLE_MEMREQLEN 3 2018-10-23 libsimple
.SH NAME
libsimple_memreqlen \- check terminal commonality
.SH SYNOPSIS
@@ -72,4 +72,6 @@ None.
None.
.SH SEE ALSO
.BR libsimple_memrcaseeqlen (3),
-.BR libsimple_memeqlen (3)
+.BR libsimple_memeqlen (3),
+.BR libsimple_strrneqlen (3),
+.BR libsimple_strreqlen (3)
diff --git a/man/libsimple_strcaseeq.3 b/man/libsimple_strcaseeq.3
index d38b439..c3ad68b 100644
--- a/man/libsimple_strcaseeq.3
+++ b/man/libsimple_strcaseeq.3
@@ -1,4 +1,4 @@
-.TH LIBSIMPLE_STRCASEEQ 3 2018-10-21 libsimple
+.TH LIBSIMPLE_STRCASEEQ 3 2018-10-23 libsimple
.SH NAME
libsimple_strcaseeq \- compare two strings
.SH SYNOPSIS
@@ -70,4 +70,6 @@ None.
.BR libsimple_strcaseeqnul (3),
.BR libsimple_streq (3),
.BR libsimple_strcaseeqlen (3),
+.BR libsimple_strncaseeq (3),
+.BR libsimple_memcaseeq (3),
.BR strcasecmp (3)
diff --git a/man/libsimple_strcaseeqlen.3 b/man/libsimple_strcaseeqlen.3
index 6ff8e18..6adba9c 100644
--- a/man/libsimple_strcaseeqlen.3
+++ b/man/libsimple_strcaseeqlen.3
@@ -1,4 +1,4 @@
-.TH LIBSIMPLE_STRCASEEQLEN 3 2018-10-21 libsimple
+.TH LIBSIMPLE_STRCASEEQLEN 3 2018-10-23 libsimple
.SH NAME
libsimple_strcaseeqlen \- check initial commonality
.SH SYNOPSIS
@@ -7,8 +7,8 @@ libsimple_strcaseeqlen \- check initial commonality
size_t libsimple_strcaseeqlen(const char *\fIa\fP, const char *\fIb\fP);
-#ifndef memrcaseeqlen
-# define memrcaseeqlen libsimple_strcaseeqlen
+#ifndef strcaseeqlen
+# define strcaseeqlen libsimple_strcaseeqlen
#endif
.fi
.PP
@@ -67,5 +67,8 @@ None.
.SH BUGS
None.
.SH SEE ALSO
+.BR libsimple_strcaseeq (3),
.BR libsimple_streqlen (3),
-.BR libsimple_strrcaseeqlen (3)
+.BR libsimple_strrcaseeqlen (3),
+.BR libsimple_strncaseeqlen (3),
+.BR libsimple_memcaseeqlen (3)
diff --git a/man/libsimple_strcaseeqnul.3 b/man/libsimple_strcaseeqnul.3
index 17edb4b..f405def 100644
--- a/man/libsimple_strcaseeqnul.3
+++ b/man/libsimple_strcaseeqnul.3
@@ -1,4 +1,4 @@
-.TH LIBSIMPLE_STRCASEEQNUL 3 2018-10-21 libsimple
+.TH LIBSIMPLE_STRCASEEQNUL 3 2018-10-23 libsimple
.SH NAME
libsimple_strcaseeqnul \- compare two strings
.SH SYNOPSIS
@@ -70,4 +70,6 @@ None.
.BR libsimple_strcaseeq (3),
.BR libsimple_streqnul (3),
.BR libsimple_strcasecmpnul (3),
+.BR libsimple_strncaseeqnul (3),
+.BR libsimple_memcaseeq (3),
.BR strcasecmp (3)
diff --git a/man/libsimple_streq.3 b/man/libsimple_streq.3
index 7904860..602b633 100644
--- a/man/libsimple_streq.3
+++ b/man/libsimple_streq.3
@@ -1,4 +1,4 @@
-.TH LIBSIMPLE_STREQ 3 2018-10-21 libsimple
+.TH LIBSIMPLE_STREQ 3 2018-10-23 libsimple
.SH NAME
libsimple_streq \- compare two strings
.SH SYNOPSIS
@@ -68,6 +68,7 @@ None.
.SH SEE ALSO
.BR libsimple_streqnul (3),
.BR libsimple_strcaseeq (3),
-.BR libsimple_strcaseeq (3),
.BR libsimple_streqlen (3),
+.BR libsimple_strneq (3),
+.BR libsimple_memeq (3),
.BR strcmp (3)
diff --git a/man/libsimple_streqlen.3 b/man/libsimple_streqlen.3
index 78fee3e..cb92bc6 100644
--- a/man/libsimple_streqlen.3
+++ b/man/libsimple_streqlen.3
@@ -1,4 +1,4 @@
-.TH LIBSIMPLE_STREQLEN 3 2018-10-21 libsimple
+.TH LIBSIMPLE_STREQLEN 3 2018-10-23 libsimple
.SH NAME
libsimple_streqlen \- check initial commonality
.SH SYNOPSIS
@@ -7,8 +7,8 @@ libsimple_streqlen \- check initial commonality
size_t libsimple_streqlen(const char *\fIa\fP, const char *\fIb\fP);
-#ifndef memrcaseeqlen
-# define memrcaseeqlen libsimple_streqlen
+#ifndef streqlen
+# define streqlen libsimple_streqlen
#endif
.fi
.PP
@@ -67,5 +67,8 @@ None.
.SH BUGS
None.
.SH SEE ALSO
+.BR libsimple_streq (3),
.BR libsimple_strreqlen (3),
-.BR libsimple_strcaseeqlen (3)
+.BR libsimple_strcaseeqlen (3),
+.BR libsimple_strneqlen (3),
+.BR libsimple_memeqlen (3)
diff --git a/man/libsimple_streqnul.3 b/man/libsimple_streqnul.3
index df39a67..eef5291 100644
--- a/man/libsimple_streqnul.3
+++ b/man/libsimple_streqnul.3
@@ -1,4 +1,4 @@
-.TH LIBSIMPLE_STREQNUL 3 2018-10-21 libsimple
+.TH LIBSIMPLE_STREQNUL 3 2018-10-23 libsimple
.SH NAME
libsimple_streqnul \- compare two strings
.SH SYNOPSIS
@@ -69,4 +69,6 @@ None.
.BR libsimple_streq (3),
.BR libsimple_strcaseeqnul (3),
.BR libsimple_strcmpnul (3),
+.BR libsimple_strneqnul (3),
+.BR libsimple_memeq (3),
.BR strcmp (3)
diff --git a/man/libsimple_strncaseeq.3 b/man/libsimple_strncaseeq.3
new file mode 100644
index 0000000..f3b63cd
--- /dev/null
+++ b/man/libsimple_strncaseeq.3
@@ -0,0 +1,81 @@
+.TH LIBSIMPLE_STRNCASEEQ 3 2018-10-23 libsimple
+.SH NAME
+libsimple_strncaseeq \- compare two strings
+.SH SYNOPSIS
+.nf
+#include <libsimple.h>
+
+static inline int libsimple_strncaseeq(const char *\fIa\fP, const char *\fIb\fP, size_t \fIn\fP);
+
+#ifndef strncaseeq
+# define strncaseeq libsimple_strncaseeq
+#endif
+.fi
+.PP
+Link with
+.IR \-lsimple .
+.SH DESCRIPTION
+The
+.BR libsimple_strncaseeq ()
+function compares the strings
+.IR a ,
+truncated to
+.I n
+bytes unless it is shorter,
+and
+.IR b ,
+truncated to
+.I n
+bytes unless it is shorter,
+neither of which may be
+.BR NULL .
+.PP
+The comparison is case-insensitive.
+.IR "unsigned char *" s.
+.SH RETURN VALUE
+The
+.BR libsimple_strncaseeq ()
+function returns 1 if the strings are equals,
+with the possible exception of the case,
+otherwise it returns 0.
+.SH ERRORS
+The
+.BR libsimple_strncaseeq ()
+function cannot fail.
+.SH ATTRIBUTES
+For an explanation of the terms used in this section, see
+.BR attributes (7).
+.TS
+allbox;
+lb lb lb
+l l l.
+Interface Attribute Value
+T{
+.BR libsimple_strncaseeq ()
+T} Thread safety MT-Safe
+T{
+.BR libsimple_strncaseeq ()
+T} Async-signal safety AS-Safe
+T{
+.BR libsimple_strncaseeq ()
+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_strncaseeqnul (3),
+.BR libsimple_strneq (3),
+.BR libsimple_strncaseeqlen (3),
+.BR libsimple_strcaseeq (3),
+.BR libsimple_memcaseeq (3),
+.BR strncasecmp (3)
diff --git a/man/libsimple_strncaseeqlen.3 b/man/libsimple_strncaseeqlen.3
new file mode 100644
index 0000000..8fbc236
--- /dev/null
+++ b/man/libsimple_strncaseeqlen.3
@@ -0,0 +1,82 @@
+.TH LIBSIMPLE_STRNCASEEQLEN 3 2018-10-23 libsimple
+.SH NAME
+libsimple_strncaseeqlen \- check initial commonality
+.SH SYNOPSIS
+.nf
+#include <libsimple.h>
+
+size_t libsimple_strncaseeqlen(const char *\fIa\fP, const char *\fIb\fP, size_t \fIn\fP);
+
+#ifndef strncaseeqlen
+# define strncaseeqlen libsimple_strncaseeqlen
+#endif
+.fi
+.PP
+Link with
+.IR \-lsimple .
+.SH DESCRIPTION
+The
+.BR libsimple_strncaseeqlen ()
+function scans the number of bytes the string
+.IR a ,
+truncated to
+.I n
+bytes unless it is shorter,
+have in common the string
+.IR b ,
+truncated to
+.I n
+bytes unless it is shorter,
+at their beginnings.
+.PP
+The comparison is case-insensitive.
+.SH RETURN VALUE
+The
+.BR libsimple_strncaseeqlen ()
+function returns the number of bytes
+.I a
+and
+.I b
+(both truncated to
+.I n
+bytes) have in common at their beginnings.
+.SH ERRORS
+The
+.BR libsimple_strncaseeqlen ()
+function cannot fail.
+.SH ATTRIBUTES
+For an explanation of the terms used in this section, see
+.BR attributes (7).
+.TS
+allbox;
+lb lb lb
+l l l.
+Interface Attribute Value
+T{
+.BR libsimple_strncaseeqlen ()
+T} Thread safety MT-Safe
+T{
+.BR libsimple_strncaseeqlen ()
+T} Async-signal safety AS-Safe
+T{
+.BR libsimple_strncaseeqlen ()
+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_strcaseeq (3),
+.BR libsimple_streqlen (3),
+.BR libsimple_strrcaseeqlen (3),
+.BR libsimple_strcaseeqlen (3),
+.BR libsimple_memcaseeqlen (3)
diff --git a/man/libsimple_strncaseeqnul.3 b/man/libsimple_strncaseeqnul.3
new file mode 100644
index 0000000..0a9222a
--- /dev/null
+++ b/man/libsimple_strncaseeqnul.3
@@ -0,0 +1,81 @@
+.TH LIBSIMPLE_STRNCASEEQNUL 3 2018-10-23 libsimple
+.SH NAME
+libsimple_strncaseeqnul \- compare two strings
+.SH SYNOPSIS
+.nf
+#include <libsimple.h>
+
+static inline int libsimple_strncaseeqnul(const char *\fIa\fP, const char *\fIb\fP, size_t \fIn\fP);
+
+#ifndef strncaseeqnul
+# define strncaseeqnul libsimple_strncaseeqnul
+#endif
+.fi
+.PP
+Link with
+.IR \-lsimple .
+.SH DESCRIPTION
+The
+.BR libsimple_strncaseeqnul ()
+function compares the strings
+.IR a ,
+truncated to
+.I n
+bytes unless it is shorter,
+and
+.IR b ,
+truncated to
+.I n
+bytes unless it is shorter,
+both of which may be
+.BR NULL .
+.PP
+The comparison is case-insensitive.
+.IR "unsigned char *" s.
+.SH RETURN VALUE
+The
+.BR libsimple_strncaseeqnul ()
+function returns 1 if the strings are equals,
+with the possible exception of the case,
+otherwise it returns 0.
+.SH ERRORS
+The
+.BR libsimple_strncaseeqnul ()
+function cannot fail.
+.SH ATTRIBUTES
+For an explanation of the terms used in this section, see
+.BR attributes (7).
+.TS
+allbox;
+lb lb lb
+l l l.
+Interface Attribute Value
+T{
+.BR libsimple_strncaseeqnul ()
+T} Thread safety MT-Safe
+T{
+.BR libsimple_strncaseeqnul ()
+T} Async-signal safety AS-Safe
+T{
+.BR libsimple_strncaseeqnul ()
+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_strncaseeq (3),
+.BR libsimple_strneqnul (3),
+.BR libsimple_strncasecmpnul (3),
+.BR libsimple_strcaseeqnul (3),
+.BR libsimple_memcaseeq (3),
+.BR strncasecmp (3)
diff --git a/man/libsimple_strneq.3 b/man/libsimple_strneq.3
new file mode 100644
index 0000000..5b6eebf
--- /dev/null
+++ b/man/libsimple_strneq.3
@@ -0,0 +1,80 @@
+.TH LIBSIMPLE_STRNEQ 3 2018-10-23 libsimple
+.SH NAME
+libsimple_strneq \- compare two strings
+.SH SYNOPSIS
+.nf
+#include <libsimple.h>
+
+static inline int libsimple_strneq(const char *\fIa\fP, const char *\fIb\fP, size_t \fIn\fP);
+
+#ifndef strneq
+# define strneq libsimple_strneq
+#endif
+.fi
+.PP
+Link with
+.IR \-lsimple .
+.SH DESCRIPTION
+The
+.BR libsimple_strneq ()
+function compares the strings
+.IR a ,
+truncated to
+.I n
+bytes unless it is shorter,
+and
+.IR b ,
+truncated to
+.I n
+bytes unless it is shorter,
+neither of which may be
+.BR NULL .
+.PP
+The comparison is case-sensitive.
+.IR "unsigned char *" s.
+.SH RETURN VALUE
+The
+.BR libsimple_strneq ()
+function returns 1 if the strings are equals,
+otherwise it returns 0.
+.SH ERRORS
+The
+.BR libsimple_strneq ()
+function cannot fail.
+.SH ATTRIBUTES
+For an explanation of the terms used in this section, see
+.BR attributes (7).
+.TS
+allbox;
+lb lb lb
+l l l.
+Interface Attribute Value
+T{
+.BR libsimple_strneq ()
+T} Thread safety MT-Safe
+T{
+.BR libsimple_strneq ()
+T} Async-signal safety AS-Safe
+T{
+.BR libsimple_strneq ()
+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_strneqnul (3),
+.BR libsimple_strncaseeq (3),
+.BR libsimple_strneqlen (3),
+.BR libsimple_streq (3),
+.BR libsimple_memeq (3),
+.BR strncmp (3)
diff --git a/man/libsimple_strneqlen.3 b/man/libsimple_strneqlen.3
new file mode 100644
index 0000000..df01480
--- /dev/null
+++ b/man/libsimple_strneqlen.3
@@ -0,0 +1,82 @@
+.TH LIBSIMPLE_STRNEQLEN 3 2018-10-23 libsimple
+.SH NAME
+libsimple_strneqlen \- check initial commonality
+.SH SYNOPSIS
+.nf
+#include <libsimple.h>
+
+size_t libsimple_strneqlen(const char *\fIa\fP, const char *\fIb\fP, size_t \fIn\fP);
+
+#ifndef strneqlen
+# define strneqlen libsimple_strneqlen
+#endif
+.fi
+.PP
+Link with
+.IR \-lsimple .
+.SH DESCRIPTION
+The
+.BR libsimple_strneqlen ()
+function scans the number of bytes the string
+.IR a ,
+truncated to
+.I n
+bytes unless it is shorter,
+have in common the string
+.IR b ,
+truncated to
+.I n
+bytes unless it is shorter,
+at their beginnings.
+.PP
+The comparison is case-sensitive.
+.SH RETURN VALUE
+The
+.BR libsimple_strneqlen ()
+function returns the number of bytes
+.I a
+and
+.I b
+(both truncated to
+.I n
+bytes) have in common at their beginnings.
+.SH ERRORS
+The
+.BR libsimple_strneqlen ()
+function cannot fail.
+.SH ATTRIBUTES
+For an explanation of the terms used in this section, see
+.BR attributes (7).
+.TS
+allbox;
+lb lb lb
+l l l.
+Interface Attribute Value
+T{
+.BR libsimple_strneqlen ()
+T} Thread safety MT-Safe
+T{
+.BR libsimple_strneqlen ()
+T} Async-signal safety AS-Safe
+T{
+.BR libsimple_strneqlen ()
+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_streq (3),
+.BR libsimple_strreqlen (3),
+.BR libsimple_strcaseeqlen (3),
+.BR libsimple_streqlen (3),
+.BR libsimple_memeqlen (3)
diff --git a/man/libsimple_strneqnul.3 b/man/libsimple_strneqnul.3
new file mode 100644
index 0000000..d01712f
--- /dev/null
+++ b/man/libsimple_strneqnul.3
@@ -0,0 +1,80 @@
+.TH LIBSIMPLE_STRNEQNUL 3 2018-10-23 libsimple
+.SH NAME
+libsimple_strneqnul \- compare two strings
+.SH SYNOPSIS
+.nf
+#include <libsimple.h>
+
+static inline int libsimple_strneqnul(const char *\fIa\fP, const char *\fIb\fP, size_t \fIn\fP);
+
+#ifndef strneqnul
+# define strneqnul libsimple_strneqnul
+#endif
+.fi
+.PP
+Link with
+.IR \-lsimple .
+.SH DESCRIPTION
+The
+.BR libsimple_strneqnul ()
+function compares the strings
+.IR a ,
+truncated to
+.I n
+bytes unless it is shorter,
+and
+.IR b ,
+truncated to
+.I n
+bytes unless it is shorter,
+both of which may be
+.BR NULL .
+.PP
+The comparison is case-sensitive.
+.IR "unsigned char *" s.
+.SH RETURN VALUE
+The
+.BR libsimple_strneqnul ()
+function returns 1 if the strings are equals,
+otherwise it returns 0.
+.SH ERRORS
+The
+.BR libsimple_strneqnul ()
+function cannot fail.
+.SH ATTRIBUTES
+For an explanation of the terms used in this section, see
+.BR attributes (7).
+.TS
+allbox;
+lb lb lb
+l l l.
+Interface Attribute Value
+T{
+.BR libsimple_strneqnul ()
+T} Thread safety MT-Safe
+T{
+.BR libsimple_strneqnul ()
+T} Async-signal safety AS-Safe
+T{
+.BR libsimple_strneqnul ()
+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_strneq (3),
+.BR libsimple_strncaseeqnul (3),
+.BR libsimple_strncmpnul (3),
+.BR libsimple_streqnul (3),
+.BR libsimple_memeq (3),
+.BR strncmp (3)
diff --git a/man/libsimple_strrcaseeqlen.3 b/man/libsimple_strrcaseeqlen.3
index 138954d..551debe 100644
--- a/man/libsimple_strrcaseeqlen.3
+++ b/man/libsimple_strrcaseeqlen.3
@@ -1,4 +1,4 @@
-.TH LIBSIMPLE_STRRCASEEQLEN 3 2018-10-21 libsimple
+.TH LIBSIMPLE_STRRCASEEQLEN 3 2018-10-23 libsimple
.SH NAME
libsimple_strrcaseeqlen \- check terminal commonality
.SH SYNOPSIS
@@ -68,4 +68,6 @@ None.
None.
.SH SEE ALSO
.BR libsimple_strreqlen (3),
-.BR libsimple_strcaseeqlen (3)
+.BR libsimple_strcaseeqlen (3),
+.BR libsimple_strrncaseeqlen (3),
+.BR libsimple_memrcaseeqlen (3)
diff --git a/man/libsimple_strreqlen.3 b/man/libsimple_strreqlen.3
index a51a00c..3fa4105 100644
--- a/man/libsimple_strreqlen.3
+++ b/man/libsimple_strreqlen.3
@@ -1,4 +1,4 @@
-.TH LIBSIMPLE_STRREQLEN 3 2018-10-21 libsimple
+.TH LIBSIMPLE_STRREQLEN 3 2018-10-23 libsimple
.SH NAME
libsimple_strreqlen \- check terminal commonality
.SH SYNOPSIS
@@ -68,4 +68,6 @@ None.
None.
.SH SEE ALSO
.BR libsimple_strreqlen (3),
-.BR libsimple_streqlen (3)
+.BR libsimple_streqlen (3),
+.BR libsimple_strrneqlen (3),
+.BR libsimple_memreqlen (3)
diff --git a/man/libsimple_strrncaseeqlen.3 b/man/libsimple_strrncaseeqlen.3
new file mode 100644
index 0000000..d938154
--- /dev/null
+++ b/man/libsimple_strrncaseeqlen.3
@@ -0,0 +1,81 @@
+.TH LIBSIMPLE_STRRNCASEEQLEN 3 2018-10-23 libsimple
+.SH NAME
+libsimple_strrncaseeqlen \- check terminal commonality
+.SH SYNOPSIS
+.nf
+#include <libsimple.h>
+
+static inline size_t libsimple_strrncaseeqlen(const char *\fIa\fP, const char *\fIb\fP, size_t \fIn\fP);
+
+#ifndef strrncaseeqlen
+# define strrncaseeqlen libsimple_strrncaseeqlen
+#endif
+.fi
+.PP
+Link with
+.IR \-lsimple .
+.SH DESCRIPTION
+The
+.BR libsimple_strrncaseeqlen ()
+function scans the number of bytes the string
+.IR a ,
+truncated to
+.I n
+bytes unless it is shorter,
+have in common the string
+.IR b ,
+truncated to
+.I n
+bytes unless it is shorter,
+at their ends.
+.PP
+The comparison is case-insensitive.
+.SH RETURN VALUE
+The
+.BR libsimple_strrncaseeqlen ()
+function returns the number of bytes
+.I a
+and
+.I b
+(both truncated to
+.I n
+bytes) have in common at their ends.
+.SH ERRORS
+The
+.BR libsimple_strrncaseeqlen ()
+function cannot fail.
+.SH ATTRIBUTES
+For an explanation of the terms used in this section, see
+.BR attributes (7).
+.TS
+allbox;
+lb lb lb
+l l l.
+Interface Attribute Value
+T{
+.BR libsimple_strrncaseeqlen ()
+T} Thread safety MT-Safe
+T{
+.BR libsimple_strrncaseeqlen ()
+T} Async-signal safety AS-Safe
+T{
+.BR libsimple_strrncaseeqlen ()
+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_strrneqlen (3),
+.BR libsimple_strncaseeqlen (3),
+.BR libsimple_strrcaseeqlen (3),
+.BR libsimple_memrcaseeqlen (3)
diff --git a/man/libsimple_strrneqlen.3 b/man/libsimple_strrneqlen.3
new file mode 100644
index 0000000..6828fa0
--- /dev/null
+++ b/man/libsimple_strrneqlen.3
@@ -0,0 +1,81 @@
+.TH LIBSIMPLE_STRRNEQLEN 3 2018-10-23 libsimple
+.SH NAME
+libsimple_strrneqlen \- check terminal commonality
+.SH SYNOPSIS
+.nf
+#include <libsimple.h>
+
+static inline size_t libsimple_strrneqlen(const char *\fIa\fP, const char *\fIb\fP, size_t \fIn\fP);
+
+#ifndef strrneqlen
+# define strrneqlen libsimple_strrneqlen
+#endif
+.fi
+.PP
+Link with
+.IR \-lsimple .
+.SH DESCRIPTION
+The
+.BR libsimple_strrneqlen ()
+function scans the number of bytes the string
+.IR a ,
+truncated to
+.I n
+bytes unless it is shorter,
+have in common the string
+.IR b ,
+truncated to
+.I n
+bytes unless it is shorter,
+at their ends.
+.PP
+The comparison is case-sensitive.
+.SH RETURN VALUE
+The
+.BR libsimple_strrneqlen ()
+function returns the number of bytes
+.I a
+and
+.I b
+(both truncated to
+.I n
+bytes) have in common at their ends.
+.SH ERRORS
+The
+.BR libsimple_strrneqlen ()
+function cannot fail.
+.SH ATTRIBUTES
+For an explanation of the terms used in this section, see
+.BR attributes (7).
+.TS
+allbox;
+lb lb lb
+l l l.
+Interface Attribute Value
+T{
+.BR libsimple_strrneqlen ()
+T} Thread safety MT-Safe
+T{
+.BR libsimple_strrneqlen ()
+T} Async-signal safety AS-Safe
+T{
+.BR libsimple_strrneqlen ()
+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_strrneqlen (3),
+.BR libsimple_strneqlen (3),
+.BR libsimple_strreqlen (3),
+.BR libsimple_memreqlen (3)