plan9-archive
/
ananta
Code
Issues
Pull Requests
Antique
Wiki
Insights
/
ananta
/
include
/
libkern
/
strlen.c
BH
Bryton Hall
consolidate lib and include files
ee04549
9 years ago
History
Code
Blame
8 lines · 71 B · C
Raw
Download
Copy shown lines
#include <lib9.h>
long
strlen(char *s)
{
return strchr(s, 0) - s;
}
#include <lib9.h> long strlen(char *s) { return strchr(s, 0) - s; }
Keyboard shortcuts
Close
General
Show keyboard shortcuts
?
Focus the current search
/
Issues and pull requests
Open filters
f
Issues, pull requests and Inbox
Select next item
j
↓
Select previous item
k
↑
Open selected item
Enter
Dismiss filters or clear selection
Esc
Repository code
Go to file
t