Mapper
strno.c
Go to the documentation of this file.
1 
2 #include <stdio.h>
3 
4 char *strno(buf,ch)
5 
6 char *buf,ch;
7 
8 {
9 
10 int i;
11 
12 i=0;
13 
14 for(;;) {
15 
16  if(buf[i]==0)
17  return(NULL);
18 
19  if(buf[i]!=ch)
20  return(buf+i);
21 
22  i++;
23 
24  }
25 
26 }
static int i
struct stat buf
Definition: is_file_closed.c:8
char * strno(char *buf, char ch)
Definition: strno.c:4