Name

ldiv function — Computes quotient and remainder

Synopsis

ldiv_t ldiv(long numerator, long denominator)

The ldiv function divides numerator by denominator and returns the quotient and remainder in a structure.