Root/
Source at commit 1079 created 13 years 1 month ago. By meklort, began implimenting Bios disk changes. Code taken from biosfn.c | |
---|---|
1 | /*␊ |
2 | * strpbrk␊ |
3 | */␊ |
4 | ␊ |
5 | #include <string.h>␊ |
6 | ␊ |
7 | #include "strxspn.h"␊ |
8 | ␊ |
9 | char *strpbrk(const char *s, const char *accept)␊ |
10 | {␊ |
11 | ␉const char *ss = s + __strxspn(s, accept, 1);␊ |
12 | ␊ |
13 | ␉return *ss ? (char *)ss : NULL;␊ |
14 | }␊ |
15 |