[klibc] Recent kexec-tools and klibc on x86/x86-64
H. Peter Anvin
hpa at zytor.com
Tue Apr 23 08:10:46 PDT 2013
On 04/23/2013 01:33 AM, Andrea Adami wrote:
>
> Hi,
>
> thanks for your prompt answer.
>
> Yes, basename can be easily replaced by strrchr().
>
> About vfscanf, my concern is that it could use floating but I don't
> expect such types in /sys/firmware/edd.
> Probably the parsing code in the a.m. patch could be rewritten but
> really I don't have any idea about EDD.
>
For most uses of (v)fscanf it is better to use fgets() followed by
(v)sscanf, but perhaps we really need to look at a proper vfscanf in klibc.
-hpa
More information about the klibc
mailing list