cvs commit: src/sys/libkern strtok.c src/sys/sys libkern.h src/sys/conf files

Robert Watson rwatson at FreeBSD.org
Thu Oct 6 10:43:21 PDT 2005


On Thu, 6 Oct 2005, Stefan Farfeleder wrote:

> On Thu, Oct 06, 2005 at 11:10:10AM +0000, Pawel Jakub Dawidek wrote:
>> pjd         2005-10-06 11:10:10 UTC
>>
>>   FreeBSD src repository
>>
>>   Modified files:
>>     sys/sys              libkern.h
>>     sys/conf             files
>>   Added files:
>>     sys/libkern          strtok.c
>>   Log:
>>   Add strtok() and strtok_r() function to libkern.
>
> Wouldn't it be better to have strsep() instead?

I added strsep() to the kernel a while back for kernel MAC label parsing, 
it should appear in libkern for 5.x-7.x, but not 4.x.

Robert N M Watson


More information about the cvs-src mailing list