Closes an open file streamint sm_fio_close(int file_stream);
- A handle to the file to close, obtained by sm_fio_open.
sm_fio_closecloses the specified file and releases its handle for reuse. You should call this function after all read and write operations that require an open file stream—for example, after calling sm_fio_gets.
This function is similar to the C function
fclose, except that
sm_fio_closetakes an integer argument so that it can be called from JPL.