%FCLOSE

%FCLOSE


%DUP Index Level %FDOPEN
Syntax variable = %FCLOSE( (char*)stream )
Category BASIC
Type C Function
Description closes the stream specified by "stream" returned by a previous call to %fopen().

Note the "stream" is defined as a pointer to a character, instead of a pointer to a FILE.
Options
See Also c function CFUNCTION %FOPEN %FPRINTF %FGETS %FREOPEN %FDOPEN %FGETC %FPUTC
Example
Warnings Closing one of the system files (stdin, stdout, etc...) has unpredictable results.
Compatibility D3/Unix
%DUP Index Level %FDOPEN