
DIV(3)                     UNIX Programmer's Manual                     DIV(3)

NNAAMMEE
     ddiivv - return quotient and remainder from division

SSYYNNOOPPSSIISS
     ##iinncclluuddee <<ssttddlliibb..hh>>

     _d_i_v___t
     ddiivv(_i_n_t _n_u_m, _i_n_t _d_e_n_o_m)

DDEESSCCRRIIPPTTIIOONN
     The ddiivv() 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.

SSEEEE AALLSSOO
     ldiv(3)

SSTTAANNDDAARRDDSS
     The ddiivv() function conforms to ANSI C3.159-1989 (``ANSI C'').

BSD Experimental                April 19, 1991                               1










































