scc

simple c99 compiler
git clone git://git.simple-cc.org/scc
Log | Files | Refs | Submodules | README | LICENSE

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 }