Synopsis
#include <stdlib.h>
typedef struct
{
long int quot;
long int rem;
} ldiv_t;
Description

ldiv_t stores the quotient and remainder returned by ldiv.

Portability

ldiv_t conforms to ISO/IEC 9899:1990 (C90) and ISO/IEC 9899:1999 (C99).

See also

ldiv