summaryrefslogtreecommitdiffstats
path: root/lib/libmp/libmp.3
diff options
context:
space:
mode:
authordd <dd@FreeBSD.org>2001-08-09 06:10:46 +0000
committerdd <dd@FreeBSD.org>2001-08-09 06:10:46 +0000
commit8f17f2c988b798eea5d36ee54b0bd9dbc1bb174d (patch)
treefef175c5563a2271b22f499d1af162ff8c983b43 /lib/libmp/libmp.3
parentf973fbeb261313db1b0903d0e5b5e3b59807f7a1 (diff)
downloadFreeBSD-src-8f17f2c988b798eea5d36ee54b0bd9dbc1bb174d.zip
FreeBSD-src-8f17f2c988b798eea5d36ee54b0bd9dbc1bb174d.tar.gz
Fix markup and a couple of thinkos.
Submitted by: ru
Diffstat (limited to 'lib/libmp/libmp.3')
-rw-r--r--lib/libmp/libmp.326
1 files changed, 13 insertions, 13 deletions
diff --git a/lib/libmp/libmp.3 b/lib/libmp/libmp.3
index 2d9d1d6..136dee4 100644
--- a/lib/libmp/libmp.3
+++ b/lib/libmp/libmp.3
@@ -43,11 +43,11 @@
Function prototypes are given in the main body of the text.
.Pp
Applications using this interface must be linked with
-.Li -lmp
+.Fl l Ns Ar mp
(this library)
and
-.Li -lcrypto
-.Xr ( crypto 3 ) .
+.Fl l Ns Ar crypto
+.Pq Xr crypto 3 .
.Sh DESCRIPTION
.Bf -symbolic
This interface is obsolete in favor of the
@@ -80,13 +80,13 @@ Routines which store a result in one of their arguments expect that
the latter has also been initialized prior to being passed to it.
The following routines are defined and implemented:
.Pp
-.Ft MINT * Ns
+.Ft "MINT *" Ns
.Fn itom "short n" ;
.Pp
-.Ft MINT * Ns
+.Ft "MINT *" Ns
.Fn xtom "const char *s" ;
.Pp
-.Ft char * Ns
+.Ft "char *" Ns
.Fn mtox "const MINT *mp" ;
.Pp
.Ft void
@@ -96,12 +96,12 @@ The following routines are defined and implemented:
returns an
.Vt MINT
with the value of
-.Fa s .
+.Fa n .
.Fn xtom
returns an
.Vt MINT
with the value of
-.Fa x ,
+.Fa s ,
which is treated to be in hexadecimal.
The return values from
.Fn itom
@@ -115,7 +115,7 @@ returns a null-terminated hexadecimal string having the value of
.Fa mp ;
its return value must be released with
.Fn free
-.Xr ( free 3 )
+.Pq Xr free 3
when it is no longer needed.
.Ed
.Pp
@@ -128,7 +128,7 @@ when it is no longer needed.
.Ft void
.Fn mult "const MINT *mp1" "const MINT *mp2" "MINT *rmp" ;
.Bd -ragged -offset indent
-.Fn madd ,
+.Fn madd ,
.Fn msub ,
and
.Fn mult
@@ -218,7 +218,7 @@ computes the greatest common divisor of
.Fa mp1
and
.Fa mp2
-and stores he result in
+and stores the result in
.Fa rmp .
.Ed
.Pp
@@ -280,8 +280,8 @@ on standard error and a call to
.Xr abort 3 ,
.Xr crypto 3 ,
.Xr free 3 ,
-.Xr math 3 ,
-.Xr malloc 3
+.Xr malloc 3 ,
+.Xr math 3
.Sh HISTORY
A
.Nm
OpenPOWER on IntegriCloud