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 a string when the %s¹ (string) type is used.
The following code: char name [20], value [20]; 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. With regards, Martin _______________________________________________ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"