LLDIV(3) OpenBSD Programmer's Manual LLDIV(3)NAMElldiv - return quotient and remainder from division
SYNOPSIS
#include <stdlib.h>
lldiv_t
lldiv(long long num, long long 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 ALSOdiv(3), imaxdiv(3), ldiv(3), math(3), qdiv(3)STANDARDS
The lldiv() function conforms to ANSI/ISO/IEC 9899-1999 (``ANSI C99'').
OpenBSD 4.9 May 31, 2007 OpenBSD 4.9