summaryrefslogtreecommitdiffstats
path: root/doc/man3/CONF_modules_load_file.pod
diff options
context:
space:
mode:
authorPaul Yang <yang.yang@baishancloud.com>2019-02-26 13:11:10 +0800
committerDr. Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com>2019-04-15 12:26:49 +0200
commitd090fc0019b8ef04bcae8c7eafe98950a9694fc8 (patch)
treeb69db746dbfa0dc20b2bf3bf8c1604e4ca21310b /doc/man3/CONF_modules_load_file.pod
parente861d659c0b2ddccc5eff577b322d2fd4a8f9616 (diff)
Place return values after examples in doc
Reviewed-by: Richard Levitte <levitte@openssl.org> (cherry picked from commit 4564e77ae9dd1866e8a033f03511b6a1792c024e) Conflicts: doc/internal/man3/openssl_ctx_get_data.pod (non-existant) doc/man3/OPENSSL_s390xcap.pod (non-existant) Reviewed-by: Matt Caswell <matt@openssl.org> Reviewed-by: Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com> (Merged from https://github.com/openssl/openssl/pull/8736)
Diffstat (limited to 'doc/man3/CONF_modules_load_file.pod')
-rw-r--r--doc/man3/CONF_modules_load_file.pod12
1 files changed, 6 insertions, 6 deletions
diff --git a/doc/man3/CONF_modules_load_file.pod b/doc/man3/CONF_modules_load_file.pod
index 485cf797b1..04fbd60f40 100644
--- a/doc/man3/CONF_modules_load_file.pod
+++ b/doc/man3/CONF_modules_load_file.pod
@@ -67,6 +67,12 @@ Applications can use the CONF_modules_load() function if they wish to load a
configuration file themselves and have finer control over how errors are
treated.
+=head1 RETURN VALUES
+
+These functions return 1 for success and a zero or negative value for
+failure. If module errors are not ignored the return code will reflect the
+return value of the failing module (this will always be zero or negative).
+
=head1 EXAMPLES
Load a configuration file and print out any errors and exit (missing file
@@ -122,12 +128,6 @@ Load and parse configuration file manually, custom error handling:
NCONF_free(cnf);
}
-=head1 RETURN VALUES
-
-These functions return 1 for success and a zero or negative value for
-failure. If module errors are not ignored the return code will reflect the
-return value of the failing module (this will always be zero or negative).
-
=head1 SEE ALSO
L<config(5)>, L<OPENSSL_config(3)>