Chameleon

Chameleon Svn Source Tree

Root/tags/2.0/i386/modules/klibc/strpbrk.c

Source at commit 2841 created 7 years 5 months ago.
By bungo, 1) Dropping DMAR (DMA Remapping table) to use stock AppleACPIplatform.kext - resolves stuck on "waitForSystemMapper" or "[PCI configuration begin]" 2) Added "ACPI" (all capitals) path 3) Small cosmetics
1/*
2 * strpbrk
3 */
4
5#include <string.h>
6
7#include "strxspn.h"
8
9char *strpbrk(const char *s, const char *accept)
10{
11const char *ss = s + __strxspn(s, accept, 1);
12
13return *ss ? (char *)ss : NULL;
14}
15

Archive Download this file

Revision: 2841