Of course it should be pointed out that Microsoft now recomends strsafe.h
and its routines over string.h. Unfortunately, it neither has an sscanf or
a strtok
equivalents that the original request asked for.
Don Burn (MVP, Windows DDK)
Windows 2k/XP/2k3 Filesystem and Driver Consulting
----- Original Message -----
From: “Roddy, Mark”
To: “Windows System Software Developers Interest List”
Sent: Tuesday, July 15, 2003 10:03 AM
Subject: [ntdev] Re: how can i handle string operation in kernel mini
driver?
> The c string runtime functions available in the kernel are those available
> as inline functions in inc\crt\string.h
>
> It would be really helpful if the DDK addressed this issue definatively,
as
> it comes up as a FAQ, and for good reasons, and the suggestions for
screwing
> up your driver in order to resolve this issue are rampant on this list.
>
> As string.h covers many of the standard c runtime functions, rolling your
> own is rather silly.
>
>
> =====================
> Mark Roddy
> Hollis Technology Solutions
> www.hollistech.com
> xxxxx@hollistech.com
>