MirOS Manual: isbinry(3)

ISBINRY(3)                 BSD Programmer's Manual                  ISBINRY(3)

NAME

     isbinry - binary octet test

SYNOPSIS

     #define _ALL_SOURCE
     #include <ctype.h>

     int
     isbinry(int c);

DESCRIPTION

     The isbinry() macro tests whether its argument is a binary octet, i.e. an
     octet not used in encoding OPTU-8 text or the NUL byte. It is intended to
     be used in ascii-vs-binary tests, e.g. in diff(1), grep(1), or similar
     tools.

RETURN VALUES

     The isbinry() macro returns zero if the character is potentially used in
     encoding OPTU-8 text, non-zero otherwise. If the argument is not in the
     range 0..255, the result is undefined.

SEE ALSO

     isascii(3), utf-8(7)

STANDARDS

     The isbinry() macro is a MirOS extension. A isbinry() function shall be
     provided in libc with the same semantics as the macro.

HISTORY

     isbinry() first appeared in MirOS #10.

MirOS BSD #10-current           August 2, 2008                               1

Generated on 2017-04-03 16:26:17 by $MirOS: src/scripts/roff2htm,v 1.88 2017/01/29 00:51:06 tg Exp $

These manual pages and other documentation are copyrighted by their respective writers; their source is available at our CVSweb, AnonCVS, and other mirrors. The rest is Copyright © 2002–2017 The MirOS Project, Germany.
This product includes material provided by mirabilos.

This manual page’s HTML representation is supposed to be valid XHTML/1.1; if not, please send a bug report — diffs preferred.