[LIBC] Modfied Version of sscanf
moeller.akt at googlemail.com
Sat Apr 30 17:14:35 UTC 2011
Hi to all,
This is my first email to this list, so hello to all members.
The current version of sscanf, stops when a whitespace characters occurs in
when the %s¹ (string) type is used.
The following code:
char name , value ;
sscanf (³Test 2->Test 3², ³%s->%s², name, value)
printf (³%s->%s\n², name, value);
outputs total garbage on my FreeBSD-7.0-RELEASE #0 amd64.
Is there already a way to do this or should we release a new version of
sscanf, e.g. called sscanfWS.
This modified version would output: Test 2->Test 3.
More information about the freebsd-hackers