isprint/isspace segfaulting

Andreas Schwab schwab@suse.de
Wed Dec 10 09:44:00 GMT 2003


Raj <raju@mailandnews.com> writes:

> Still the question bugs me. Why cant isspace() and family mask out bits
> which they are not bothered about ?

There is nothing to mask.  You are supposed to pass valid values,
everything else results in undefined behaviour.

Andreas.

-- 
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux AG, Maxfeldstraße 5, 90409 Nürnberg, Germany
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."



More information about the Libc-alpha mailing list