1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
#include <stdlib.h> /** long quotient and remainder **/ typedef struct { long int quot; long int rem; } ldiv_t; /*** is the type returned by FUNCTION(ldiv) to hold both the quotient and remainder of an integer division. ***/ /* STDC(1) */