source: bootcd/isolinux/syslinux-6.03/com32/lib/strlen.c

Last change on this file was e16e8f2, checked in by Edwin Eefting <edwin@datux.nl>, 3 years ago

bootstuff

  • Property mode set to 100644
File size: 140 bytes
Line 
1/*
2 * strlen()
3 */
4
5#include <string.h>
6
7size_t strlen(const char *s)
8{
9    const char *ss = s;
10    while (*ss)
11        ss++;
12    return ss - s;
13}
Note: See TracBrowser for help on using the repository browser.