blob: e42c1f14fa49464a606e17b8f142ef3c882c23a7 [file] [log] [blame]
Rich Felker0b44a032011-02-12 00:22:29 -05001#include <stdlib.h>
2
3div_t div(int num, int den)
4{
5 return (div_t){ num/den, num%den };
6}