FENIX_libc/stdlib/lldiv.c
2020-12-18 12:39:37 -06:00

8 lines
172 B
C

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