kolibrios-fun/programs/develop/libraries/kolibri-libc/source/stdlib/ldiv.c

6 lines
94 B
C
Raw Normal View History

#include <stdlib.h>
ldiv_t ldiv(long num, long den)
{
return (ldiv_t){ num/den, num%den };
}