diff options
author | Dan Streetman <ddstreet@canonical.com> | 2021-05-19 16:01:59 +0200 |
---|---|---|
committer | Dan Streetman <ddstreet@canonical.com> | 2021-05-20 21:39:15 +0200 |
commit | ea42da38258ee182201ecc6c9afb18a9ea46021c (patch) | |
tree | 0b762dd3b8d684324b5c05813648bbc35819591e /docs/CODING_STYLE.md | |
parent | fileio: make return parameters of read_virtual_file() optional (diff) | |
download | systemd-ea42da38258ee182201ecc6c9afb18a9ea46021c.tar.xz systemd-ea42da38258ee182201ecc6c9afb18a9ea46021c.zip |
macro: add ONCE macro that evaluates to 1 one time
Every location that this macro is used, it will be true the first
time it's checked, then false each time after that.
This can be useful for things such as one-time logging.
Diffstat (limited to 'docs/CODING_STYLE.md')
0 files changed, 0 insertions, 0 deletions