2 * * functions.c - severla functions usually served by libc
4 * author: hackbard@hackdaworld.org
14 #define modulo(d,x,y) (d)=(x); \
30 int strncmp(char *a,char *b,int n) {
37 return (*(u8 *)a-*(u8 *)b++);
45 int strncpy(char *d,char *s,int n) {
55 int mset(u8 *s,u8 v,int n) {