summaryrefslogtreecommitdiff
path: root/src/stdlib/lldiv.c
blob: 7aaf7a0e6f24be999a824fe5b40750e346b66603 (plain)
1
2
3
4
5
6
#include <stdlib.h>

lldiv_t lldiv(long long num, long long den)
{
	return (lldiv_t){ num/den, num%den };
}