update man pages

master
leitner 7 years ago
parent 61db2acee6
commit 5a803f3e7c

@ -20,7 +20,7 @@ Many base64 variants demand padding in the last block. Some don't. This
implementation will consume padding if it is there, but will not implementation will consume padding if it is there, but will not
complain if it is not. complain if it is not.
dest can be NULL. destlen can be NULL. dest can be NULL. destlen can be NULL. dest can be src.
.SH "RETURN VALUE" .SH "RETURN VALUE"
scan_base64 returns the number of bytes successfully scanned and scan_base64 returns the number of bytes successfully scanned and

@ -20,7 +20,7 @@ Many base64 variants demand padding in the last block. Some don't. This
implementation will consume padding if it is there, but will not implementation will consume padding if it is there, but will not
complain if it is not. complain if it is not.
dest can be NULL. destlen can be NULL. dest can be NULL. destlen can be NULL. dest can be src.
.SH "RETURN VALUE" .SH "RETURN VALUE"
scan_base64url returns the number of bytes successfully scanned and scan_base64url returns the number of bytes successfully scanned and

@ -18,7 +18,7 @@ supported and lead to UTF-8 sequences being output.
scan_cescape will then write the number of bytes in dest into *destlen, scan_cescape will then write the number of bytes in dest into *destlen,
and return the number of bytes decoded from src. and return the number of bytes decoded from src.
dest can be NULL. destlen can be NULL. dest can be NULL. destlen can be NULL. dest can be src.
To make sure dest is large enough, either allocate strlen(src)+1 bytes To make sure dest is large enough, either allocate strlen(src)+1 bytes
or call scan_cescape twice, the first time with dest == NULL (*destlen or call scan_cescape twice, the first time with dest == NULL (*destlen

@ -16,7 +16,7 @@ Note that real world hexdump data is sometimes permitted to
contain whitespace characters or new lines. This function will not allow contain whitespace characters or new lines. This function will not allow
those and return the decoded data until then. those and return the decoded data until then.
dest can be NULL. destlen can be NULL. dest can be NULL. destlen can be NULL. dest can be src.
.SH "RETURN VALUE" .SH "RETURN VALUE"
scan_hexdump returns the number of bytes successfully scanned and scan_hexdump returns the number of bytes successfully scanned and

@ -14,7 +14,7 @@ characters or a double quote that was not escaped.
It will then write the number of bytes in dest into *destlen, It will then write the number of bytes in dest into *destlen,
and return the number of bytes decoded from src. and return the number of bytes decoded from src.
dest can be NULL. destlen can be NULL. dest can be NULL. destlen can be NULL. dest can be src.
To make sure dest is large enough, either allocate strlen(src)+1 bytes To make sure dest is large enough, either allocate strlen(src)+1 bytes
or call scan_jsonescape twice, the first time with dest == NULL (*destlen or call scan_jsonescape twice, the first time with dest == NULL (*destlen

@ -16,11 +16,9 @@ equivalent, i.e. \0a to new-line and \5c to backslash.
scan_cescape will then write the number of bytes in dest into *destlen, scan_cescape will then write the number of bytes in dest into *destlen,
and return the number of bytes decoded from src. and return the number of bytes decoded from src.
dest can be NULL. destlen can be NULL. dest can be NULL. destlen can be NULL. dest can be src.
To make sure dest is large enough, either allocate strlen(src)+1 bytes The decoded data need at most as much space as the encoded data used.
or call scan_ldapescape twice, the first time with dest == NULL (*destlen
will still be written).
.SH "RETURN VALUE" .SH "RETURN VALUE"
scan_ldapescape returns the number of bytes successfully parsed scan_ldapescape returns the number of bytes successfully parsed

@ -19,7 +19,7 @@ In "http://example.com/a+b?c+d", only the second plus can be decoded
as a space character. If you want + decoded to space, use as a space character. If you want + decoded to space, use
scan_urlencoded2. scan_urlencoded2.
dest can be NULL. destlen can be NULL. dest can be NULL. destlen can be NULL. dest can be src.
.SH "RETURN VALUE" .SH "RETURN VALUE"
scan_urlencoded returns the number of bytes successfully scanned and scan_urlencoded returns the number of bytes successfully scanned and

@ -11,7 +11,7 @@ scan_urlencoded2 behaves like scan_urlencoded, but decodes '+' to ' '.
See scan_urlencoded(3) for details. See scan_urlencoded(3) for details.
dest can be NULL. destlen can be NULL. dest can be NULL. destlen can be NULL. dest can be src.
.SH "RETURN VALUE" .SH "RETURN VALUE"
scan_urlencoded2 returns the number of bytes successfully scanned and scan_urlencoded2 returns the number of bytes successfully scanned and

@ -23,7 +23,7 @@ input, and it will decode all the bytes in it.
uuencoded data can contain bytes from 0x21 to 0x96, which means it is uuencoded data can contain bytes from 0x21 to 0x96, which means it is
not "string safe" (can contain single and double quotes and backslash). not "string safe" (can contain single and double quotes and backslash).
dest can be NULL. destlen can be NULL. dest can be NULL. destlen can be NULL. dest can be src.
.SH "RETURN VALUE" .SH "RETURN VALUE"
scan_uuencoded returns the number of bytes successfully scanned and scan_uuencoded returns the number of bytes successfully scanned and

Loading…
Cancel
Save