picotm
0.2.0
|
#include <error_tx.h>
The data structure |struct error_tx| represents a transaction on the state of the thread's errno variable.
A transaction provides error handling for its operations (sans special exceptions). Therefore, the value stored in 'errno' should not change during as transaction. C functions that potentially modify the state of errno shall save the pre-transaction state in |struct error_tx| using the public interface.