ldiv
- return quotient and remainder from division
LIBRARY
Lb libc
SYNOPSIS
#include <stdlib.h> ldiv_t
ldiv (long num long denom);
DESCRIPTION
The
ldiv ();
function
computes the value
Fa num Ns / Ns Fa denom
and returns the quotient and remainder in a structure named
Vt ldiv_t
that contains two
Vt long
members named
quot
and
rem