1 #include "lib9.h" 2 3 Rune* 4 runestrchr(Rune *s, Rune c) 5 { 6 Rune c0 = c; 7 Rune c1; 8 9 if(c == 0) { 10 while(*s++) 11 ; 12 return s-1; 13 } 14 15 while(c1 = *s++) 16 if(c1 == c0) 17 return s-1; 18 return 0; 19 } 20