FENIX_libc/stdlib/lldiv.c

9 lines
158 B
C

#include <stdlib.h>
lldiv_t lldiv(long long int x, long long int y) {
lldiv_t ret_val;
ret_val.quot = x / y;
ret_val.rem = x % y;
return ret_val;
}