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
}
i
static int i
Definition:
get_apps_defaults.c:110
buf
struct stat buf
Definition:
is_file_closed.c:8
strno
char * strno(char *buf, char ch)
Definition:
strno.c:4
Generated by
1.9.1