shithub: npe

ref: 85aac117f40895565f61eb703055a29df3c7539f
dir: /libnpe/div.c/

View raw version
#include <stdlib.h>

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