]> diplodocus.org Git - nmh/commit
Document that adios() does not return. abort() ensures it won't.
authorRalph Corderoy <ralph@inputplus.co.uk>
Sat, 10 Dec 2016 14:19:43 +0000 (14:19 +0000)
committerRalph Corderoy <ralph@inputplus.co.uk>
Sat, 10 Dec 2016 14:19:43 +0000 (14:19 +0000)
commit0b45ebe59218793491ac1091a49fb00c2e1a331f
treeb331dfb4a1177a71c2557c2e5e77858a837ee436
parent302624baed0d6a67a14d081ed021c88ce0c18a86
Document that adios() does not return.  abort() ensures it won't.

Discussion with David confirmed that adios()'s de facto contract with
the caller is that it won't return.  Document that, and add an abort(3)
to ensure it won't occur.  Better that than return and blunder on until
a SEGV or corruption later.
sbr/error.c