vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| On 2006/11/14, Joerg Sonnenberger <joerg@britannica.bec.de>: > On Sun, Nov 12, 2006 at 06:03:30PM +0100, Charles Longeau wrote: > > All isspace(3), isdigit(3), isalnum(3), isblank(3), isgraph(3), > > islower(3), isprint(3) functions return false for c == 0. > > A locale could have a valid meaning for '\0', so I don't think this is a > good idea. Are you sure about the valid meaning for '\0' for some locale ? I always thought that '\0' was for string terminaison. Anyway, when I'm looking at lib/libc/gen/ctype_.c and lib/libc/gen/isctype.c, there's no locale involved. Best regards, Charles Longeau |