shithub: npe

ref: e4cdde6bf5fd9562d826cc2f5a30e3774c247432
dir: /libnpe/div.c/

View raw version
#include <stdlib.h>

div_t
div(int n, int d)
{
	return (div_t){n/d, n%d};
}