From 13d389629aba2c686798a856332c00c6934cacd5 Mon Sep 17 00:00:00 2001 From: Sebastian Falbesoner Date: Fri, 14 Feb 2025 13:42:28 +0100 Subject: [PATCH] CONTRIBUTING: mention that `EXIT_` codes should be used --- CONTRIBUTING.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index a366d38b..80890fb7 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -74,6 +74,7 @@ In addition, libsecp256k1 tries to maintain the following coding conventions: * User-facing comment lines in headers should be limited to 80 chars if possible. * All identifiers in file scope should start with `secp256k1_`. * Avoid trailing whitespace. +* Use the constants `EXIT_SUCCESS`/`EXIT_FAILURE` (defined in `stdlib.h`) to indicate program execution status for examples and other binaries. ### Tests