1stdbool.h(0P)              POSIX Programmer's Manual             stdbool.h(0P)
2
3
4

PROLOG

6       This  manual  page is part of the POSIX Programmer's Manual.  The Linux
7       implementation of this interface may differ (consult the  corresponding
8       Linux  manual page for details of Linux behavior), or the interface may
9       not be implemented on Linux.
10

NAME

12       stdbool.h — boolean type and values
13

SYNOPSIS

15       #include <stdbool.h>
16

DESCRIPTION

18       The functionality described on this reference page is aligned with  the
19       ISO C  standard.  Any  conflict between the requirements described here
20       and the ISO C standard is unintentional. This  volume  of  POSIX.1‐2017
21       defers to the ISO C standard.
22
23       The <stdbool.h> header shall define the following macros:
24
25       bool    Expands to _Bool.
26
27       true    Expands to the integer constant 1.
28
29       false   Expands to the integer constant 0.
30
31       __bool_true_false_are_defined
32               Expands to the integer constant 1.
33
34       An application may undefine and then possibly redefine the macros bool,
35       true, and false.
36
37       The following sections are informative.
38

APPLICATION USAGE

40       None.
41

RATIONALE

43       None.
44

FUTURE DIRECTIONS

46       The ability to undefine and redefine the macros bool, true,  and  false
47       is an obsolescent feature and may be removed in a future version.
48

SEE ALSO

50       None.
51
53       Portions  of  this text are reprinted and reproduced in electronic form
54       from IEEE Std 1003.1-2017, Standard for Information Technology --  Por‐
55       table  Operating System Interface (POSIX), The Open Group Base Specifi‐
56       cations Issue 7, 2018 Edition, Copyright (C) 2018 by the  Institute  of
57       Electrical  and  Electronics Engineers, Inc and The Open Group.  In the
58       event of any discrepancy between this version and the original IEEE and
59       The  Open Group Standard, the original IEEE and The Open Group Standard
60       is the referee document. The original Standard can be  obtained  online
61       at http://www.opengroup.org/unix/online.html .
62
63       Any  typographical  or  formatting  errors that appear in this page are
64       most likely to have been introduced during the conversion of the source
65       files  to  man page format. To report such errors, see https://www.ker
66       nel.org/doc/man-pages/reporting_bugs.html .
67
68
69
70IEEE/The Open Group                  2017                        stdbool.h(0P)
Impressum