#include <stdlib.h>
ldiv_t ldiv(long x, long y);
ldiv() computes both the quotient and the modulus of the division x/y.
A structure with the results of the division.
div()