chiark / gitweb /
Don't include trailing zero in the name of a gensym.
[mLib] / man / base64.3
index 4e6186b1dc2094cd427530b019bbf1cc8e6921fd..9f5474a371d9fd2b5e1615c97387d9b15e2f81e2 100644 (file)
@@ -1,10 +1,13 @@
 .\" -*-nroff-*-
-.TH base64 3mLib "20 June 1999" mLib
+.TH base64 3 "20 June 1999" "Straylight/Edgeware" "mLib utilities library"
 .SH NAME
 base64 \- conversion to and from base64 encoding
+.\" @base64_encode
+.\" @base64_decode
+.\" @base64_init
 .SH SYNOPSIS
 .nf
-.B "#include <mLib/base64.h>
+.B "#include <mLib/base64.h>"
 
 .BI "void base64_encode(base64_ctx *" ctx ,
 .BI "                   const void *" p ", size_t " sz ,
@@ -43,7 +46,7 @@ and length
 and a pointer to a dynamic string
 .I d
 in which to write its output (see
-.BR dstr (3mLib)
+.BR dstr (3)
 for details on dynamic strings).  Once all the input data has been
 passed through
 .B base64_encode
@@ -62,7 +65,7 @@ member is a pointer to a null-terminated string which is used to
 separate the output lines.  The default indent string contains only a
 newline character.  The
 .B maxline
-member gives the maxmimum length of line that
+member gives the maximum length of line that
 .B base64_encode
 is allowed to produce.  If this is not a multiple of 4, it is rounded
 up to the next highest multiple of four before use.  A value of zero
@@ -84,6 +87,9 @@ also ignores
 characters in the string and works out the final block length
 automatically based on the input size.
 .SH "SEE ALSO"
-.BR dstr (3mLib).
+.BR base32 (3),
+.BR dstr (3),
+.BR hex (3),
+.BR mLib (3).
 .SH AUTHOR
-Mark Wooding, <mdw@nsict.org>
+Mark Wooding, <mdw@distorted.org.uk>