div.c (101B)
1 #include <stdlib.h> 2 3 #undef div 4 5 div_t 6 div(int num, int den) 7 { 8 return (div_t) {num/den, num%den}; 9 }