gtpc2m8y | C/C++ Language Support User's Guide |
This function opens a set of resource managers. The TPF restart program calls the tx_open function to open all registered resource managers at restart time.
Format
#include <tpfapi.h> int tx_open();
Normal Return
Table 26. tx_open Normal Return
Value Name | Return Code | Description |
---|---|---|
TX_OK | 1 | The function is completed successfully. |
Error Return
Table 27. tx_open Error Return
Value Name | Return Code | Description |
---|---|---|
TX_FATAL | -7 | Resource manager error. |
Programming Considerations
This function can only be called from the TPF restart program.
Examples
The following example shows a tx_open call to open a set of resource managers.
#include <tpfapi.h> tx_open();
Related Information