User Tools

Site Tools


jvs:cigal:manual:chapter6:r_fclose

CIGAL Reference Manual, Chapter 6 (RealTime): r_fclose

r_fclose -- Close an open file

usage: r_fclose opflg eflag ltime Lunit Asyncflag

R_FCLOSE is a REALTIME operator. It closes a file that has been previously opened by a call to R_FOPEN. If ASYNCFLAG is specified and non-zero this command starts the operation and returns without waiting for completion; the default is to wait until the entire operation has completed.

Note 1: If LUNIT is not an open file this operation returns immediately. If a previous asynchronous I/O operation was still pending, this operation will wait until that has completed before starting. This is therefore an automatic way to call a R_FWAIT operation.

Note 2: Although this operator appears to function synchronously, it actually involves asynchronous file operations; this allows other REALTIME processing streams to continue while R_FCLOSE awaits completion.

See Also:
CIGAL Home, CIGAL Manual, RealTime List, Manual Help

jvs/cigal/manual/chapter6/r_fclose.txt · Last modified: 2023/02/23 18:43 (external edit)