NAME ldiv - return quotient and remainder from division CONTENTS Library Synopsis Description See Also Standards LIBRARY .Lb libc SYNOPSIS .In stdlib.h ldiv_t ldiv "long num" "long denom" DESCRIPTION The ldiv function computes the value num / denom and returns the quotient and remainder in a structure named .Vt ldiv_t that contains two .Vt long members named quot and rem. SEE ALSO div(3), imaxdiv(3), lldiv(3), math(3) STANDARDS