shithub: npe

ref: 2bf42bfc7ce8fae05401547e03cda1a181f89a95
dir: /libnpe/div.c/

View raw version
#include <stdlib.h>

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