xref: /386bsd/usr/share/man/cat3/div.0 (revision a2142627)
1DIV(3)                    386BSD Programmer's Manual                    DIV(3)
2
3NNAAMMEE
4     ddiivv - return quotient and remainder from division
5
6SSYYNNOOPPSSIISS
7     ##iinncclluuddee <<ssttddlliibb..hh>>
8
9     _d_i_v__t
10     ddiivv(_i_n_t _n_u_m, _i_n_t _d_e_n_o_m)
11
12DDEESSCCRRIIPPTTIIOONN
13     The ddiivv() function computes the value _n_u_m/_d_e_n_o_m and returns the quotient
14     and remainder in a structure named _d_i_v__t that contains two _i_n_t members
15     named _q_u_o_t and _r_e_m.
16
17SSEEEE AALLSSOO
18     ldiv(3)
19
20SSTTAANNDDAARRDDSS
21     The ddiivv() function conforms to ANSI C3.159-1989 (``ANSI C'').
22
23BSD Experimental                April 19, 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