Re: [edk2] String Tokens in UDK (strtok equivalent)

Subject: Re: [edk2] String Tokens in UDK (strtok equivalent)

From: "J. E." <nszeroone@hotmail.com>

To: "edk2-devel@lists.sourceforge.net" <edk2-devel@lists.sourceforge.net>

Date: 2014-09-09 04:43:59

The readme.txt file doesn't really contain the information I am after.

My app is in MdeModulePkg\Application\,  not in AppPkg\Application, so I cannot access the standard C Library. I get a file not found error if I include stdlib.h

I can see the standard c functions in here:

StdLib\LibC\String\string.h
Std C: strcpy, strlen, strcmp, strcat, strtok, etc..

I can see some EFI String functions in here:

MdePkg\Library\BaseLib\string.c
EFI:     StrCpy, StrLen, StrCmp, StrCat, ____, etc..


But StrTok() is missing.

I can't find an EFI equivalent function.
StrTok() has not been implemented yet?


Or should I be placing my app in AppPkg\Application instead?




> Date: Mon, 8 Sep 2014 10:47:18 +0200
> From: lersek@redhat.com
> To: edk2-devel@lists.sourceforge.net
> Subject: Re: [edk2] String Tokens in UDK (strtok equivalent)
>
> https://github.com/tianocore/edk2/blob/master/StdLib/ReadMe.txt