Top | ![]() |
![]() |
![]() |
![]() |
Reading and Writing from local files and directoriesReading and Writing from local files and directories |
GObject ├── GsfInput │ ├── GsfInfile │ │ ╰── GsfInfileStdio │ ╰── GsfInputStdio ╰── GsfOutput ├── GsfOutfile │ ╰── GsfOutfileStdio ╰── GsfOutputStdio
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 GsfObject is closed.
GsfOutput * gsf_output_stdio_new_full (char const *filename
,GError **err
,char const *first_property_name
,...
);
GsfOutput * gsf_output_stdio_new_valist (char const *filename
,GError **err
,char const *first_property_name
,va_list var_args
);
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 GsfObject is closed.
GsfOutfile * gsf_outfile_stdio_new_full (char const *root
,GError **err
,char const *first_property_name
,...
);
GsfOutfile * gsf_outfile_stdio_new_valist (char const *root
,GError **err
,char const *first_property_name
,va_list var_args
);
root |
root directory in utf8. |
|
err |
optionally NULL. |
|
first_property_name |
name of first property to set |
|
var_args |
a |