The %fdopen() function associates a stream with the file.descriptor obtained from an %open(), %dup(), or %creat().
stream = (char*)%fdopen(file.descriptor, type)
%fclose() function, %fopen() function, %freopen() function, FlashBASIC C functions overview, cfunction statement