This website requires JavaScript.
Explore
Help
Sign in
d0p1
/
ack
Watch
1
Star
0
Fork
You've already forked ack
0
Code
Issues
Pull requests
Projects
Releases
Packages
Wiki
Activity
6df0ecdf8f
ack
/
lang
/
cem
/
libcc
/
gen
/
strlen.c
12 lines
104 B
C
Raw
Normal View
History
Unescape
Escape
Added Rcs Id
1987-03-31 10:45:53 +00:00
/* $Header$ */
speeded up a bit
1989-02-22 16:16:11 +00:00
int
strlen
(
s
)
char
*
s
;
Initial revision
1987-01-27 15:57:55 +00:00
{
speeded up a bit
1989-02-22 16:16:11 +00:00
register
char
*
b
=
s
;
Initial revision
1987-01-27 15:57:55 +00:00
speeded up a bit
1989-02-22 16:16:11 +00:00
while
(
*
b
+
+
)
;
return
b
-
s
-
1
;
Initial revision
1987-01-27 15:57:55 +00:00
}
Reference in a new issue
Copy permalink