CODING_STYLE: document "reterr_" return parameters
authorLennart Poettering <lennart@poettering.net>
Wed, 12 Jun 2024 16:31:56 +0000 (18:31 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 18 Jun 2024 18:41:01 +0000 (20:41 +0200)
commita61a83a22b5f464463f9ab9e3ee3950f299c9f43
treefc79c1ed0bd12747f31586ca7bba8713f0d9bd21
parent2034de6157cc0d3e60489cdc16c7a5651f38783c
CODING_STYLE: document "reterr_" return parameters

In some recent PRs (e.g. #32628) I started to systematically name return
parameters that shall only be initialized on failure (because they carry
additional error meta information, such as the line/column number of
parse failures or so). Let's make this official in the coding style.

(cherry picked from commit 7811864b08393eda5ff92145ea2776180d9b28ee)
docs/CODING_STYLE.md