div_t div(
	int __num,
	int __denom)

The div() function computes the value num/denom and returns the quotient and remainder in a structure named div_t that contains two int members named quot and rem.