shithub: npe

ref: c68d3e221d9b372e250fcec40e01c6e5176abe8b
dir: /libnpe/div.c/

View raw version
#include <stdlib.h>

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