ldiv()

Syntax
  #include <stdlib.h>

  
  ldiv_t ldiv(long x, long y);

  
Description

ldiv() computes both the quotient and the modulus of the division x/y.

Return

A structure containing the division results.

See also

div()