Endfileoperations - Crestron SIMPL+ Reference Manual

Language reference guide
Hide thumbs Also See for SIMPL+:
Table of Contents

Advertisement

Software
®
120
SIMPL+

EndFileOperations

Name:
EndFileOperations
Syntax:
SIGNED_INTEGER EndFileOperations()
Description:
Signifies to the operating system that the current thread has completed its file
operations.
Parameters:
None.
Return Value:
Returns 0 if successful and –1 if an error occurred.
Example:
(Refer to "File Functions Overview"on page 116)
IF ( StartFileOperations() < 0 );
PRINT ( "Error in starting file ops\n" );
// various file operations
IF ( EndFileOperations() < 0 )
PRINT ( "Error Occurred in ending file ops\n" );
NOTE: StartFileOperations is required prior to any operation accessing a file.
EndFileOperations is required after finishing all file operations and prior to
terminating the thread of execution (e.g., one of the PUSH commands).
Version:
SIMPL+ Version 3.00.02 or higher (Pro 2 only)
Control System:
2-Series Only
Crestron SIMPL+
Language Reference Guide - DOC. 5797G
®

Advertisement

Table of Contents
loading

Table of Contents