shithub: npe

ref: 742736e50d97306ad16853d18c977b502cf35b82
dir: /libnpe/div.c/

View raw version
#include <stdlib.h>

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