home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Fresh Fish 8
/
FreshFishVol8-CD1.bin
/
gnu
/
man
/
cat3
/
div.0
< prev
next >
Wrap
Text File
|
1993-12-07
|
856b
|
67 lines
DIV(3) UNIX Programmer's Manual DIV(3)
NNAAMMEE
ddiivv - return quotient and remainder from division
SSYYNNOOPPSSIISS
##iinncclluuddee <<ssttddlliibb..hh>>
_d_i_v___t
ddiivv(_i_n_t _n_u_m, _i_n_t _d_e_n_o_m)
DDEESSCCRRIIPPTTIIOONN
The ddiivv() function computes the value _n_u_m_/_d_e_n_o_m and returns the quotient
and remainder in a structure named _d_i_v___t that contains two _i_n_t members
named _q_u_o_t and _r_e_m.
SSEEEE AALLSSOO
ldiv(3)
SSTTAANNDDAARRDDSS
The ddiivv() function conforms to ANSI C3.1591989 (``ANSI C'').
BSD Experimental April 19, 1991 1