DOKK / manpages / debian 11 / liboath-dev / oath_done.3.en
oath_done(3) liboath oath_done(3)

oath_done - API function

#include <oath.h>

int oath_done( void);

This function deinitializes the OATH library, which were initialized using oath_init(). After calling this function, no other OATH library function may be called except for to re-initialize the library using oath_init().

On success, OATH_OK (zero) is returned, otherwise an error code is returned.

Report bugs to <oath-toolkit-help@nongnu.org>. liboath home page: http://www.gnu.org/software/liboath/ General help using GNU software: http://www.gnu.org/gethelp/

Copyright © 2009-2020 Simon Josefsson.
Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved.

2.6.6 liboath