9os

Experimental kernel using plan9 ideas for embedded device
git clone git://git.simple-cc.org/9os
Log | Files | Refs | README | LICENSE

labs.c (81B)


      1 #include <stdlib.h>
      2 #undef labs
      3 
      4 long
      5 labs(long n)
      6 {
      7 	return (n < 0) ? -n : n;
      8 }