Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Jan 2002 10:16:50 -0600
From:      "Jacques A. Vidrine" <n@nectar.cc>
To:        Bruce Evans <bde@FreeBSD.org>
Cc:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/lib/libc/locale isblank.3
Message-ID:  <20020111161650.GA55753@madman.nectar.cc>
In-Reply-To: <200201111521.g0BFL4i82482@freefall.freebsd.org>
References:  <200201111521.g0BFL4i82482@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Jan 11, 2002 at 07:21:04AM -0800, Bruce Evans wrote:
> bde         2002/01/11 07:21:04 PST
> 
>   Modified files:
>     lib/libc/locale      isblank.3 
>   Log:
>   Removed assertion that isblank() conforms to C90 too.  This assertion
>   is correct but less than useful.  There is some uncertainty about whether
>   isblank() is in C99, but it is certainly not in C90.  It just conforms
>   to C89 because it is a conforming extension.

Why is there uncertainty?  It is in my copy of ISO/IEC 9899:1999:

    7.4.1.3 The isblank function

    Synopsis 

  1 #include <ctype.h> 
    int isblank(int c);

    Description

  2 The isblank function tests for any character that is a standard blank
    character or is one of a locale-specific set of characters for
    which isspace is true and that is used to separate words within a
    line of text. The standard blank characters are the following:
    space (' '), and horizontal tab ('\t'). In the "C" locale, isblank
    returns true only for the standard blank characters.

Also, Appendix J.4 `Locale-specific behavior' says: ``The following
characteristics of a hosted environment are locale-specific and are
required to be documented by the implementation: [...] The sets of
characters tested for by the [...] isblank [...] functions.''

Cheers,
-- 
Jacques A. Vidrine <n@nectar.cc>                 http://www.nectar.cc/
NTT/Verio SME          .     FreeBSD UNIX     .       Heimdal Kerberos
jvidrine@verio.net     .  nectar@FreeBSD.org  .          nectar@kth.se

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




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