Page fault with isspace(*p)

John K. Hohm jhohm at acm.org
Sat Nov 23 10:09:00 CST 2002


On Fri, 22 Nov 2002, John K. Hohm wrote:
> static int getc_skipws(char const **p)
> {
>     while (isspace(*p))
>         ++*p;
>     return **p;
> }

Sometimes you just need to ask a question in order for the answer to
become obvious.  **p == '[', but *p == a char const*, duh.




More information about the wine-devel mailing list