Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Jul 1997 01:27:44 +1000
From:      Bruce Evans <bde@zeta.org.au>
To:        j@uriah.heep.sax.de, r.carey@dcs.napier.ac.uk
Cc:        freebsd-bugs@FreeBSD.ORG, hoek@hwcn.org
Subject:   Re: ispunct(3) [was: FreeBSD-2.1.1]
Message-ID:  <199707141527.BAA13354@godzilla.zeta.org.au>

next in thread | raw e-mail | index | archive | help
>AFAIK, ANSI C doesn't mention anything beyond ASCII, so the behaviour
>is simply undefined.  Extending the default behaviour to ISO Latin-1
>seems to be a reasonable interpretation of `undefined'.

ANSI C doesn't mention ASCII (except in footnotes).  ispunct() is
defined on integers that can be represented as unsigned chars, and on -1.
The values depend on the locale.

Bruce



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199707141527.BAA13354>