NAME | SYNOPSIS | DESCRIPTION | ATTRIBUTES | SEE ALSO | STANDARDS
#include <stdlib.h>div_t div(int num, int denom);
The div function computes the value num/denom and returns the quotient and remainder in a structure named div_t that contains two int members named quot and rem.
See attributes(5) for descriptions of the following attributes:
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
|---|---|
| Interface Stability | Evolving |
The div function conforms to ANSI-C.
NAME | SYNOPSIS | DESCRIPTION | ATTRIBUTES | SEE ALSO | STANDARDS