*Synopsis* #include <stdlib.h> div_t div(int N, int D); *Description* Divide N/D, returning quotient and remainder as two integers in a structure `div_t'.
*Returns* The result is represented with the structure
where the `quot' field represents the quotient, and `rem' the remainder. For nonzero D, if ``R = div(N,D);'' then N equals ``R.rem + D*R.quot''.
To divide `long' rather than `int' values, use the similar function `ldiv'.
*Portability* `div' is ANSI.
No supporting OS subroutines are required.Created Mon Nov 8 17:42:52 2004 on tillpc with info_to_html version 0.9.6.