ldiv_t ldiv(long __num, long __denom) __asm__("__divmodsi4")
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.
num/denom
ldiv_t
quot
rem