ldiv_t ldiv(
	long __num,
	long __denom)

The ldiv() function computes the value num/denom and returns the quotient and remainder in a structure named ldiv_t that contains two long integer members named quot and rem.