xref: /386bsd/usr/share/man/cat3/ldiv.0 (revision a2142627)
1LDIV(3)                   386BSD Programmer's Manual                   LDIV(3)
2
3NNAAMMEE
4     llddiivv - return quotient and remainder from division
5
6SSYYNNOOPPSSIISS
7     ##iinncclluuddee <<ssttddlliibb..hh>>
8
9     _l_d_i_v__t
10     llddiivv(_i_n_t _n_u_m, _i_n_t _d_e_n_o_m)
11
12DDEESSCCRRIIPPTTIIOONN
13     The llddiivv() function computes the value _n_u_m/_d_e_n_o_m and returns the quotient
14     and remainder in a structure named _l_d_i_v__t that contains two _l_o_n_g _i_n_t_e_g_e_r
15     members named _q_u_o_t and _r_e_m.
16
17SSEEEE AALLSSOO
18     div(3),  math(3)
19
20SSTTAANNDDAARRDDSS
21     The llddiivv() function conforms to ANSI C3.159-1989 (``ANSI C'').
22
23BSD Experimental                 June 29, 1991                               1
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67