On Sun, May 01, 2011 at 04:45:14PM +0200, Martin M?ller wrote:
> Am 01.05.11 00:53 schrieb "Daniel O'Connor" unter <[email protected]>:
> 
> Thanks for your reply.
> Ok, another example. I try to parse a request, coming from a client in the
> form:
>     GET <resource> HTTP/1.1.
> 
> It is expected that <resource> can contain space characters (even if
> its not the case in reality).
> 
> How would you do that with sscanf ?


You don't. You write a tokeniser and parser.
You are trying to misuse sscanf.

- Diane
-- 
- [email protected] [email protected] http://www.db.net/~db
  Why leave money to our children if we don't leave them the Earth?
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[email protected]"

Reply via email to