fdopen


Description:

[ CCode ( cname = "fdopen" ) ]
public static FileStream? fdopen (int fildes, string mode)

Opens a file indicated by a file descriptor.

Mode is used to determine the file access mode.

Parameters:

fildes

file descriptor to associate the file stream

mode

character string determining file access mode (See GLib.FileStream.open for details)

Returns:

opened file stream on success, null on failure