Difference between revisions of "Truxton start"
Jump to navigation
Jump to search
| Line 1: | Line 1: | ||
Initializes the Truxton library. | Initializes the Truxton library. | ||
| − | It | + | It will automatically be called by [truxton_create]] and is safe to call multiple times. |
=Syntax= | =Syntax= | ||
Latest revision as of 04:54, 2 June 2021
Initializes the Truxton library. It will automatically be called by [truxton_create]] and is safe to call multiple times.
Syntax
void truxton_start( void );
Sample
void main()
{
char version[256];
truxton_start();
uint64_t truxton = truxton_create();
truxton_get_version( truxton, version, sizeof(version) );
printf( "%s\n", version );
truxton_destroy( truxton );
truxton_stop();
}