LLDIV(3)

NAME
lldiv - return quotient and remainder from division

LIBRARY
libc

SYNOPSIS
#include <stdlib.h>
lldiv_t
lldiv(long long int num, long long int denom);

DESCRIPTION
The lldiv() function computes the value num/denom and returns the quotient and remainder in a structure named lldiv_t that contains two long long integer members named quot and rem.

SEE ALSO
div(3), ldiv(3), qdiv(3), math(3)

STANDARDS
The lldiv() function conforms to isoC99.