s/qmail
3.3.23
Next generation secure email transport
sqmail-3.3.23
src
byte_chr.c
Go to the documentation of this file.
1
#include "
byte.h
"
2
3
unsigned
int
byte_chr
(
char
*s,
register
unsigned
int
n
,
int
c)
4
{
5
register
char
ch;
6
register
char
*t;
7
8
ch = c;
9
t = s;
10
for
(;;) {
11
if
(!n)
break
;
if
(*t == ch)
break
; ++t; --
n
;
12
if
(!n)
break
;
if
(*t == ch)
break
; ++t; --
n
;
13
if
(!n)
break
;
if
(*t == ch)
break
; ++t; --
n
;
14
if
(!n)
break
;
if
(*t == ch)
break
; ++t; --
n
;
15
}
16
return
t - s;
17
}
byte.h
byte_chr
unsigned int byte_chr(char *s, register unsigned int n, int c)
Definition:
byte_chr.c:3
n
unsigned n
Definition:
matchup.c:36
Generated on Sat Jan 12 2019 23:42:27 for s/qmail by
1.8.13