chiark / gitweb /
Update manual style.
[mLib] / man / base64.3
index 4e6186b1dc2094cd427530b019bbf1cc8e6921fd..3d445b757eade692b0dfcceca0099dff0434459f 100644 (file)
@@ -1,10 +1,13 @@
 .\" -*-nroff-*-
 .\" -*-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
 .SH NAME
 base64 \- conversion to and from base64 encoding
+.\" @base64_encode
+.\" @base64_decode
+.\" @base64_init
 .SH SYNOPSIS
 .nf
 .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 ,
 
 .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
 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
 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
 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
 .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,7 @@ also ignores
 characters in the string and works out the final block length
 automatically based on the input size.
 .SH "SEE ALSO"
 characters in the string and works out the final block length
 automatically based on the input size.
 .SH "SEE ALSO"
-.BR dstr (3mLib).
+.BR dstr (3),
+.BR mLib (3).
 .SH AUTHOR
 Mark Wooding, <mdw@nsict.org>
 .SH AUTHOR
 Mark Wooding, <mdw@nsict.org>