tech-userlevel archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: using the interfaces in ctype.h
On Mon, Apr 21, 2008 at 01:52:41PM -0400, Greg A. Woods; Planix, Inc. wrote:
> Actually, no, it doesn't, at least on NetBSD. Try it! :-)
Sure. See attached code.
Joerg
#include <ctype.h>
#include <locale.h>
#include <stdio.h>
int
main(void)
{
setlocale(LC_ALL, "tr_TR.ISO8859-9");
printf("%d %d\n", islower(-1), islower(255));
return 0;
}
Home |
Main Index |
Thread Index |
Old Index