According to the isascii() manpage:
http://linux.die.net/man/3/isascii
POSIX.1-2008 marks isascii() as obsolete, noting that it cannot be used portably in a localized application.
I'm not sure I see where the portability problem is. A very simple implementation of this function is:
int isascii(int ch) { return ch >= 0 && ch < 128; }
In which situations is the above implementation either not sufficient or not portable?
Thank you