NAME
iimmaaxxddiivv - returns quotient and remainder
LLIIBBRRAARRYYStandard C Library (libc, -lc)
SYNOPSIS
##iinncclluuddee <
> imaxdivt
iimmaaxxddiivv(intmaxt numer, intmaxt denom);DESCRIPTION
The iimmaaxxddiivv() function computes the value of numer divided by denom andreturns the stored result in the form of the imaxdivt type.
The imaxdivt type is defined as:
typedef struct { intmaxt quot; /* Quotient. */ intmaxt rem; /* Remainder. */} imaxdivt;
SEE ALSO
div(3), ldiv(3), lldiv(3), math(3) STANDARDS The iimmaaxxddiivv() function conforms to ISO/IEC 9899:1999 (``ISO C99''). HISTORY The iimmaaxxddiivv() function first appeared in FreeBSD 5.0. BSD November 14, 2001 BSD