DIV(3) Linux Programmer's Manual DIV(3)NAMEdiv - computes the quotient and remainder of integer divi- sionSYNOPSIS#include<stdlib.h>div_tdiv(intnumer,intdenom);DESCRIPTIONThediv()function computes the valuenumer/denomand returns the quotient and remainder in a structure nameddiv_tthat contains two integer members namedquotandrem.RETURNVALUEThediv_tstructure.CONFORMINGTOSVID 3, BSD 4.3, ISO 9899SEEALSOldiv(3) June 6, 1993 1