forked from KolibriOS/kolibrios
6 lines
89 B
C
6 lines
89 B
C
|
#include <stdlib.h>
|
||
|
|
||
|
div_t div(int num, int den)
|
||
|
{
|
||
|
return (div_t){ num/den, num%den };
|
||
|
}
|