shithub: npe

ref: 5d1e15c890a322d1beca4dcae8af685b970b7c21
dir: /libnpe/div.c/

View raw version
#include <stdlib.h>

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