UnixInputStream


Description:

[ CCode ( has_construct_function = false , type = "GInputStream*" ) ]
public UnixInputStream (int fd, bool close_fd)

Creates a new UnixInputStream for the given fd.

If close_fd is true, the file descriptor will be closed when the stream is closed.

Parameters:

fd

a UNIX file descriptor

close_fd

true to close the file descriptor when done

Returns:

a new UnixInputStream