shithub: npe

ref: 2565da9396836897b97d335f19f177f993274407
dir: /libnpe/div.c/

View raw version
#include <stdlib.h>

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