QU_fdopen() user-redefinable

Synopsis

     #include <quintus/quintus.h>
     
     QP_stream *QU_fdopen(stream_option, system_option, error_number, file_des)
     QP_stream *stream_option;
     char      *system_option;
     int       *error_number;
     int        file_des;
     

The embedding function for creating a stream opened through open/[3,4] or QP_fopen(). Creates a stream and returns the QP_stream pointer for that stream.

Description

QU_fdopen() is similar to QU_open() except that the file stream is already opened and the opened file descriptor is passed through the parameter file_des.

Examples

See the example in the manual page for QU_open().

See Also

QU_open(), fli-ios