LDIV(3) BSD Programmer's Manual LDIV(3) NNAAMMEE llddiivv - return quotient and remainder from division SSYYNNOOPPSSIISS ##iinncclluuddee <<ssttddlliibb..hh>> _l_d_i_v___t llddiivv(_i_n_t _n_u_m, _i_n_t _d_e_n_o_m); DDEESSCCRRIIPPTTIIOONN The llddiivv() function computes the value _n_u_m_/_d_e_n_o_m and returns the quotient 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 members named _q_u_o_t and _r_e_m. SSEEEE AALLSSOO div(3), math(3) SSTTAANNDDAARRDDSS The llddiivv() function conforms to ANSI C X3.159-1989 (``ANSI C ''). 4.4BSD June 4, 1993 1