Changeset View
Changeset View
Standalone View
Standalone View
src/estream.c
| Context not available. | |||||
| ␌ | ␌ | ||||
| /* | /* | ||||
| * The atexit handler for the entire gpgrt. | * Called when the module goes away. | ||||
| */ | */ | ||||
| static void | void | ||||
| do_deinit (void) | _gpgrt_estream_deinit (void) | ||||
| { | { | ||||
| /* Flush all streams. */ | /* Flush all streams. */ | ||||
| _gpgrt_fflush (NULL); | _gpgrt_fflush (NULL); | ||||
| Context not available. | |||||
| if (!initialized) | if (!initialized) | ||||
| { | { | ||||
| initialized = 1; | initialized = 1; | ||||
| atexit (do_deinit); | |||||
| } | } | ||||
| return 0; | return 0; | ||||
| } | } | ||||
| Context not available. | |||||