diff options
author | Paul Yang <yang.yang@baishancloud.com> | 2019-02-26 13:11:10 +0800 |
---|---|---|
committer | Paul Yang <yang.yang@baishancloud.com> | 2019-02-28 21:38:19 +0800 |
commit | 4564e77ae9dd1866e8a033f03511b6a1792c024e (patch) | |
tree | 7cf8a73e48bbc158e8ba7d433f04d3709b4ce562 /doc/man3/CONF_modules_load_file.pod | |
parent | 69f6b3ceaba493e70e1296880ea6c93e40714f0f (diff) |
Place return values after examples in doc
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/8338)
Diffstat (limited to 'doc/man3/CONF_modules_load_file.pod')
-rw-r--r-- | doc/man3/CONF_modules_load_file.pod | 12 |
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 037c7f255c..c0623eb721 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)> |