summaryrefslogtreecommitdiff
path: root/src/lib/libc/stdlib/ldiv.3
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libc/stdlib/ldiv.3')
-rw-r--r--src/lib/libc/stdlib/ldiv.323
1 files changed, 10 insertions, 13 deletions
diff --git a/src/lib/libc/stdlib/ldiv.3 b/src/lib/libc/stdlib/ldiv.3
index a7b5ccf878..b5301b1b21 100644
--- a/src/lib/libc/stdlib/ldiv.3
+++ b/src/lib/libc/stdlib/ldiv.3
@@ -33,8 +33,7 @@
33.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 33.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
34.\" SUCH DAMAGE. 34.\" SUCH DAMAGE.
35.\" 35.\"
36.\" from: @(#)ldiv.3 5.3 (Berkeley) 6/29/91 36.\" $OpenBSD: ldiv.3,v 1.5 2000/04/20 13:50:02 aaron Exp $
37.\" $Id: ldiv.3,v 1.1.1.1 1995/10/18 08:42:18 deraadt Exp $
38.\" 37.\"
39.Dd June 29, 1991 38.Dd June 29, 1991
40.Dt LDIV 3 39.Dt LDIV 3
@@ -49,24 +48,22 @@
49.Sh DESCRIPTION 48.Sh DESCRIPTION
50The 49The
51.Fn ldiv 50.Fn ldiv
52function 51function computes the value
53computes the value 52.Fa num Ns No / Ns Fa denom
54.Ar num/denom
55and returns the quotient and remainder in a structure named 53and returns the quotient and remainder in a structure named
56.Ar ldiv_t 54.Li ldiv_t
57that contains two 55that contains two
58.Em long integer 56.Li long integer
59members named 57members named
60.Ar quot 58.Fa quot
61and 59and
62.Ar rem . 60.Fa rem .
63.Sh SEE ALSO 61.Sh SEE ALSO
64.Xr div 3 , 62.Xr div 3 ,
65.Xr qdiv 3 , 63.Xr math 3 ,
66.Xr math 3 64.Xr qdiv 3
67.Sh STANDARDS 65.Sh STANDARDS
68The 66The
69.Fn ldiv 67.Fn ldiv
70function 68function conforms to
71conforms to
72.St -ansiC . 69.St -ansiC .