shithub: npe

ref: 528220319a7a051794d73df31d2e8cc9d47287e2
dir: /libnpe/div.c/

View raw version
#include <stdlib.h>

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