Top |
Reading and Writing from local files and directoriesReading and Writing from local files and directories |
Functions
Object Hierarchy
GObject ├── GsfInput │ ├── GsfInfile │ │ ╰── GsfInfileStdio │ ╰── GsfInputStdio ╰── GsfOutput ├── GsfOutfile │ ╰── GsfOutfileStdio ╰── GsfOutputStdio
Functions
gsf_input_stdio_new_FILE ()
GsfInput * gsf_input_stdio_new_FILE (char const *filename
,FILE *file
,gboolean keep_open
);
Assumes ownership of file
when succeeding. If keep_open
is true,
ownership reverts to caller when the GsfInput is closed.
Parameters
filename |
The filename corresponding to |
|
file |
an existing stdio FILE *. |
[transfer full] |
keep_open |
Should |
Returns
a new GsfInput wrapper for file
. Note that if the file is not
seekable, this function will make a local copy of the entire file.
gsf_output_stdio_new ()
GsfOutput * gsf_output_stdio_new (char const *filename
,GError **err
);
gsf_output_stdio_new_full ()
GsfOutput * gsf_output_stdio_new_full (char const *filename
,GError **err
,char const *first_property_name
,...
);
gsf_output_stdio_new_valist ()
GsfOutput * gsf_output_stdio_new_valist (char const *filename
,GError **err
,char const *first_property_name
,va_list var_args
);
gsf_output_stdio_new_FILE ()
GsfOutput * gsf_output_stdio_new_FILE (char const *filename
,FILE *file
,gboolean keep_open
);
Assumes ownership of file
. If keep_open
is true, ownership reverts
to caller when the GsfOutput is closed.
[skip]
gsf_outfile_stdio_new ()
GsfOutfile * gsf_outfile_stdio_new (char const *root
,GError **err
);
gsf_outfile_stdio_new_full ()
GsfOutfile * gsf_outfile_stdio_new_full (char const *root
,GError **err
,char const *first_property_name
,...
);
gsf_outfile_stdio_new_valist ()
GsfOutfile * gsf_outfile_stdio_new_valist (char const *root
,GError **err
,char const *first_property_name
,va_list var_args
);