HCoop
/
hcoop
/
zz_old
/
debian
/
djbdns.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
Imported Debian patch 1:1.05-8
[hcoop/zz_old/debian/djbdns.git]
/
str_len.c
1
#include
"str.h"
2
3
unsigned int
str_len
(
const char
*
s
)
4
{
5
register
const char
*
t
;
6
7
t
=
s
;
8
for
(;;) {
9
if
(!*
t
)
return
t
-
s
; ++
t
;
10
if
(!*
t
)
return
t
-
s
; ++
t
;
11
if
(!*
t
)
return
t
-
s
; ++
t
;
12
if
(!*
t
)
return
t
-
s
; ++
t
;
13
}
14
}