Difference between revisions of "Truxton file close"
Jump to navigation
Jump to search
(Created page with "Closes an opened file in Truxton. =Syntax= <syntaxhighlight lang="C"> void truxton_file_close( uint64_t file_handle ) </syntaxhighlight> =Parameters= ==<code>file_handle</co...") |
|||
| Line 13: | Line 13: | ||
=Sample= | =Sample= | ||
| − | <syntaxhighlight lang="C" highlight=" | + | <syntaxhighlight lang="C" highlight="10"> |
int check_it(uint64_t truxton) | int check_it(uint64_t truxton) | ||
{ | { | ||
Revision as of 13:49, 1 June 2020
Closes an opened file in Truxton.
Contents
Syntax
void truxton_file_close( uint64_t file_handle )
Parameters
file_handle
The handle created by the truxton_file_open_id of truxton_file_open_md5 call.
Sample
int check_it(uint64_t truxton)
{
uint64_t file = truxton_file_open_id(truxton, "5ed3aeb7-3da4-5f5c-8c8f-af5200000000");
if ( file != 0 )
{
return(0);
}
truxton_file_close(file);
return(1)
}