forked from KolibriOS/kolibrios
6 lines
94 B
C
6 lines
94 B
C
|
#include <stdlib.h>
|
||
|
|
||
|
ldiv_t ldiv(long num, long den)
|
||
|
{
|
||
|
return (ldiv_t){ num/den, num%den };
|
||
|
}
|