1
1
kolibrios-fun/programs/develop/ktcc/trunk/libc/stdlib/div.c

11 lines
159 B
C
Raw Normal View History

#include <stdlib.h>
div_t div (int numer, int denom)
{
div_t res;
res.quot = numer / denom;
res.rem = numer % denom;
return res;
}