2.5.6 ldiv_t ldivldiv_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.