]> git.ipfire.org Git - thirdparty/man-pages.git/commit
man/man3/[static_]assert.3: SYNOPSIS: Use 'bool' instead of 'scalar'
authorAlejandro Colomar <alx@kernel.org>
Thu, 8 May 2025 10:29:59 +0000 (12:29 +0200)
committerAlejandro Colomar <alx@kernel.org>
Thu, 8 May 2025 10:30:01 +0000 (12:30 +0200)
commitc3c29f2b0c9e091d8c296d1ea9f6f269b70a04c7
tree4c1a4f26e60983be8e39ed075e4a5c6fb72b3046
parentd60a7cf3ec932e42c4eec82a3682ccf2a522e0b2
man/man3/[static_]assert.3: SYNOPSIS: Use 'bool' instead of 'scalar'

The type _Bool perfectly models these APIs.  Conversion from any scalar
type to _Bool results in true if the value is non-zero, and false if it
is zero.

Signed-off-by: Alejandro Colomar <alx@kernel.org>
man/man3/assert.3
man/man3/static_assert.3