lldiv3
Returns quotient and remainder
Usage
#include <stdlib.h>
lldiv_t
lldiv(long long numer, long long denom);
Library
Standard C Library (libc, -lc)
Overview
The lldiv() function computes the value of numer, divided by denom. It returns the stored result in the form of the lldiv_t type.
The lldiv_t type is defined as:
typedef struct {
long long quot; /* Quotient. */
long long rem; /* Remainder. */
} lldiv_t;
Releases
145 releases since Mac OS X 10.3; the text changed 1 time.