From ce78c6d371f688ea7d6473f744fe7d09bf12121e Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sat, 24 Nov 2018 15:26:17 +0100 Subject: Add man pages MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- man0/libsimple.h.0 | 274 ++++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 270 insertions(+), 4 deletions(-) (limited to 'man0/libsimple.h.0') diff --git a/man0/libsimple.h.0 b/man0/libsimple.h.0 index d3c018d..c9055d5 100644 --- a/man0/libsimple.h.0 +++ b/man0/libsimple.h.0 @@ -1,4 +1,4 @@ -.TH LIBSIMPLE.H 0 2018-11-16 libsimple +.TH LIBSIMPLE.H 0 2018-11-24 libsimple .SH NAME libsimple.h \- main header for libsimple .SH SYNOPSIS @@ -519,6 +519,28 @@ Case-insensitive version of Case-insensitive version of .BR memcmp (3). +.TP +.BR libsimple_memchr_inv (3), +.RS 0 +.BR libsimple_memcasechr_inv (3) +.RE +.RS +Find first byte that is different from a specified byte. +.RE + +.TP +.BR libsimple_memcmove (3), +.RS 0 +.BR libsimple_rawmemcmove (3) +.RE +.RS +Versions of +.BR memccpy (3) +and +.BR libsimple_rawmemccpy (3) +that allow overlap of the arrays. +.RE + .TP .BR libsimple_memdup (3), .RS 0 @@ -541,6 +563,33 @@ Version of that operate on multibyte units rather than simple bytes. +.TP +.BR libsimple_memelem_inv (3) +Version of +.BR libsimple_memchr_inv (3) +that operate on multibyte units +rather than simple bytes. + +.TP +.BR libsimple_memelemcpy (3), +.RS 0 +.BR libsimple_rawmemelemcpy (3), +.br +.BR libsimple_memelemmove (3), +.br +.BR libsimple_rawmemelemmove (3) +.RE +.RS +Versions of +.BR memccpy (3), +.BR libsimple_rawmemccpy (3), +.BR libsimple_memcmove (3), +and +.BR libsimple_rawmemcmove (3) +that that operate on multibyte units +rather than simple bytes. +.RE + .TP .BR libsimple_memelemscan (3) Version of @@ -548,6 +597,13 @@ Version of that operate on multibyte units rather than simple bytes. +.TP +.BR libsimple_memelemscan_inv (3) +Version of +.BR libsimple_memscan_inv (3) +that operate on multibyte units +rather than simple bytes. + .TP .BR libsimple_memends (3), .RS 0 @@ -619,11 +675,38 @@ Find the last occurrence of a specific byte in an array of bytes. .RE +.TP +.BR libsimple_memrchr_inv (3), +.RS 0 +.BR libsimple_memrcasechr_inv (3) +.RE +.RS +Find the last byte that is different from a +specified byte. +.RE + +.TP +.BR libsimple_memrelem_inv (3) +Version of +.BR libsimple_memrchr_inv (3) +that operate on multibyte units +rather than simple bytes. + .TP .BR libsimple_memrelem (3) Find the last occurrence of a specific element in an array. +.TP +.BR libsimple_memreplace (3) +Replace all occurrences of a byte with +another byte. + +.TP +.BR libsimple_memreplaceelem (3) +Replace all occurrences of an element with +another element. + .TP .BR libsimple_memreqlen (3), .RS 0 @@ -658,6 +741,15 @@ that return the end of the array if the byte is not found. .RE +.TP +.BR libsimple_memscan_inv (3), +.RS 0 +.BR libsimple_memcasescan_inv (3) +.RE +.RS +Skip leading bytes. +.RE + .TP .BR libsimple_memsetelem (3) Fill en array. @@ -831,15 +923,47 @@ allocation size and conditionally initialises the memory. .RE .TP -.BR libsimple_rawmemchr (3) +.BR libsimple_rawmemccpy (3) +Version of +.BR memccpy (3) +with the optimising assumption that the +byte actually exists in the array. + +.TP +.BR libsimple_rawmemchr (3), .RS 0 .BR libsimple_rawmemcasechr (3) .RE .RS Find the first occurrence of a specific byte in an array of bytes, with the optimising -assumption that is actually exists in the array. +assumption that it actually exists in the array. +.RE + +.TP +.BR libsimple_rawmemchr_inv (3), +.RS 0 +.BR libsimple_rawmemcasechr_inv (3) .RE +.RS +Find first byte that is different from a specified +byte, with the optimising assumption that such a +byte actually exists in the array. +.RE + +.TP +.BR libsimple_rawmemelem (3) +Version of +.BR libsimple_memelem (3), +with the optimising assumption that the +element actually exists in the array. + +.TP +.BR libsimple_rawmemelem_inv (3) +Version of +.BR libsimple_memelem_inv (3) +with the optimising assumption that such a +element actually exists in the array. .TP .BR libsimple_rawmemrchr (3) @@ -849,7 +973,32 @@ assumption that is actually exists in the array. .RS Find the last occurrence of a specific byte in an array of bytes, with the optimising -assumption that is actually exists in the array. +assumption that it actually exists in the array. +.RE + +.TP +.BR libsimple_rawmemrchr_inv (3), +.RS 0 +.BR libsimple_rawmemrcasechr_inv (3) +.RE +.RS +Find last byte that is different from a specified +byte, with the optimising assumption that such a +byte actually exists in the array. + +.TP +.BR libsimple_rawmemrelem (3) +Version of +.BR libsimple_memrelem (3), +with the optimising assumption that the +element actually exists in the array. + +.TP +.BR libsimple_rawmemrelem_inv (3) +Version of +.BR libsimple_memrelem_inv (3), +with the optimising assumption that such a +element actually exists in the array. .RE .TP @@ -893,6 +1042,30 @@ Case-insensitive version of Case-insensitive version of .BR strstr (3). +.TP +.BR libsimple_strccpy (3), +.RS 0 +.BR libsimple_strnccpy (3) +.RE +.RS +Copy a string but stop after the first +occurrence of a specified character. +.RE + +.TP +.BR libsimple_strchr_inv (3), +.RS 0 +.BR libsimple_strcasechr_inv (3), +.br +.BR libsimple_strnchr_inv (3), +.br +.BR libsimple_strncasechr_inv (3) +.RE +.RS +Find the first character that is different +from a specified character. +.RE + .TP .BR libsimple_strchrnul (3), .RS 0 @@ -913,6 +1086,29 @@ that return the end of the string if the byte is not found. .RE +.TP +.BR libsimple_strchrnul_inv (3), +.RS 0 +.BR libsimple_strcasechrnul_inv (3), +.br +.BR libsimple_strnchrnul_inv (3), +.br +.BR libsimple_strncasechrnul_inv (3) +.RE +.RS +Skip leading characters. +.RE + +.TP +.BR libsimple_strcmove (3), +.RS 0 +.BR libsimple_strncmove (3) +.RE +.RS +Move a string but stop after the first +occurrence of a specified character. +.RE + .TP .BR libsimple_strcmpnul (3), .RS 0 @@ -1089,6 +1285,29 @@ that support strings without NUL-termination. Case-insensitive version of the .BR strrchr (3). +.TP +.BR libsimple_strrchrnul_inv (3), +.RS 0 +.BR libsimple_strrcasechrnul_inv (3), +.br +.BR libsimple_strrnchrnul_inv (3), +.br +.BR libsimple_strrncasechrnul_inv (3) +.RE +.RS +Skip trailing characters. +.RE + +.TP +.BR libsimple_strreplace (3), +.RS 0 +.BR libsimple_strnreplace (3) +.RE +.RS +Replace all occurrences of a character with +another character. +.RE + .TP .BR libsimple_strreqlen (3), .RS 0 @@ -1129,6 +1348,19 @@ that support strings without NUL-termination. Find the last occurrence of a substring. .RE +.TP +.BR libsimple_stpnset (3), +.RS 0 +.BR libsimple_stpset (3), +.br +.BR libsimple_strnset (3), +.br +.BR libsimple_strset (3) +.RE +.RS +Fill a string a with character. +.RE + .TP .BR libsimple_strstarts (3), .RS 0 @@ -1142,6 +1374,23 @@ Find the last occurrence of a substring. Check the beginning if a string. .RE +.TP +.BR libsimple_strtolower (3), +.RS 0 +.BR libsimple_strntolower (3), +.br +.BR libsimple_memtolower (3), +.br +.BR libsimple_stptolower (3), +.br +.BR libsimple_stpntolower (3), +.br +.BR libsimple_memptolower (3) +.RE +.RS +Convert a string to lower case. +.RE + .TP .BR libsimple_strtotimespec (3), .RS 0 @@ -1153,6 +1402,23 @@ representing a number of seconds, to a duration. .RE +.TP +.BR libsimple_strtoupper (3), +.RS 0 +.BR libsimple_strntoupper (3), +.br +.BR libsimple_memtoupper (3), +.br +.BR libsimple_stptoupper (3), +.br +.BR libsimple_stpntoupper (3), +.br +.BR libsimple_memptoupper (3) +.RE +.RS +Convert a string to upper case. +.RE + .TP .BR libsimple_sumtimespec (3), .RS 0 -- cgit v1.2.3-70-g09d2