~ubuntu-branches/debian/jessie/glib2.0/jessie

« back to all changes in this revision

Viewing changes to docs/reference/gio/html/GFileOutputStream.html

  • Committer: Bazaar Package Importer
  • Author(s): Gustavo Noronha Silva
  • Date: 2009-02-15 13:00:43 UTC
  • mfrom: (1.3.1 upstream) (69.1.10 intrepid)
  • Revision ID: james.westby@ubuntu.com-20090215130043-q47fbt3owmt42m2f
Tags: 2.18.4-2
* Release to unstable
* debian/rules:
- bump SHVER, since we are already forcing a 2.18.0 dependecy on the
  symbols introduced in the development versions
* debian/control.in:
- added Homepage and Vcs-* control fields

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2
2
<html>
3
3
<head>
4
 
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
 
4
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5
5
<title>GFileOutputStream</title>
6
 
<meta name="generator" content="DocBook XSL Stylesheets V1.73.2">
7
 
<link rel="start" href="index.html" title="GIO Reference Manual">
 
6
<meta name="generator" content="DocBook XSL Stylesheets V1.74.0">
 
7
<link rel="home" href="index.html" title="GIO Reference Manual">
8
8
<link rel="up" href="streaming.html" title="Streaming I/O">
9
9
<link rel="prev" href="GFileInputStream.html" title="GFileInputStream">
10
10
<link rel="next" href="GFilterInputStream.html" title="GFilterInputStream">
11
 
<meta name="generator" content="GTK-Doc V1.9 (XML mode)">
 
11
<meta name="generator" content="GTK-Doc V1.11 (XML mode)">
12
12
<link rel="stylesheet" href="style.css" type="text/css">
13
 
<link rel="part" href="pt01.html" title="Part&#160;I.&#160;GIO Overview">
 
13
<link rel="part" href="pt01.html" title="Part I. GIO Overview">
14
14
<link rel="chapter" href="ch01.html" title="Introduction">
15
15
<link rel="chapter" href="ch02.html" title="Compiling GIO applications">
16
16
<link rel="chapter" href="ch03.html" title="Running GIO applications">
17
 
<link rel="chapter" href="gio-extension-points.html" title="Extending GIO">
18
 
<link rel="part" href="pt02.html" title="Part&#160;II.&#160;API Reference">
 
17
<link rel="chapter" href="extending-gio.html" title="Extending GIO">
 
18
<link rel="part" href="pt02.html" title="Part II. API Reference">
19
19
<link rel="chapter" href="file_ops.html" title="File Operations">
20
20
<link rel="chapter" href="file_mon.html" title="File System Monitoring">
21
21
<link rel="chapter" href="async.html" title="Asynchronous I/O">
25
25
<link rel="chapter" href="icons.html" title="Icons">
26
26
<link rel="chapter" href="utils.html" title="Utilities">
27
27
<link rel="chapter" href="extending.html" title="Extending GIO">
28
 
<link rel="part" href="migrating.html" title="Part&#160;III.&#160;Migrating to GIO">
 
28
<link rel="part" href="migrating.html" title="Part III. Migrating to GIO">
29
29
<link rel="chapter" href="ch14.html" title="Migrating from POSIX to GIO">
30
30
<link rel="chapter" href="ch15.html" title="Migrating from GnomeVFS to GIO">
31
31
<link rel="chapter" href="gio-hierarchy.html" title="Object Hierarchy">
32
32
<link rel="index" href="ix01.html" title="Index">
 
33
<link rel="index" href="ix02.html" title="Index of new symbols in 2.18">
33
34
</head>
34
35
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
35
36
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
40
41
<th width="100%" align="center">GIO Reference Manual</th>
41
42
<td><a accesskey="n" href="GFilterInputStream.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
42
43
</tr>
43
 
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2779248" class="shortcut">Top</a>
44
 
                  &#160;|&#160;
45
 
                  <a href="#id2852200" class="shortcut">Description</a>
46
 
                  &#160;|&#160;
47
 
                  <a href="#id2855735" class="shortcut">Object Hierarchy</a>
48
 
                  &#160;|&#160;
49
 
                  <a href="#id2855765" class="shortcut">Implemented Interfaces</a></nobr></td></tr>
 
44
<tr><td colspan="5" class="shortcuts">
 
45
<a href="#GFileOutputStream.synopsis" class="shortcut">Top</a>
 
46
                 | 
 
47
                <a href="#GFileOutputStream.description" class="shortcut">Description</a>
 
48
                 | 
 
49
                <a href="#GFileOutputStream.object-hierarchy" class="shortcut">Object Hierarchy</a>
 
50
                 | 
 
51
                <a href="#GFileOutputStream.implemented-interfaces" class="shortcut">Implemented Interfaces</a>
 
52
</td></tr>
50
53
</table>
51
54
<div class="refentry" lang="en">
52
55
<a name="GFileOutputStream"></a><div class="titlepage"></div>
53
56
<div class="refnamediv"><table width="100%"><tr>
54
57
<td valign="top">
55
 
<h2>
56
 
<a name="id2779248"></a><span class="refentrytitle">GFileOutputStream</span>
57
 
</h2>
58
 
<p>GFileOutputStream &#8212; File output streaming operations</p>
 
58
<h2><span class="refentrytitle"><a name="GFileOutputStream.top_of_page"></a>GFileOutputStream</span></h2>
 
59
<p>GFileOutputStream — File output streaming operations</p>
59
60
</td>
60
61
<td valign="top" align="right"></td>
61
62
</tr></table></div>
62
63
<div class="refsynopsisdiv">
63
 
<h2>Synopsis</h2>
 
64
<a name="GFileOutputStream.synopsis"></a><h2>Synopsis</h2>
64
65
<pre class="synopsis">
65
66
 
66
67
#include &lt;gio/gio.h&gt;
67
68
 
68
 
 
69
 
                    <a class="link" href="GFileOutputStream.html#GFileOutputStream-struct">GFileOutputStream</a>;
70
 
<a class="link" href="GFileInfo.html" title="GFileInfo">GFileInfo</a>*          <a class="link" href="GFileOutputStream.html#g-file-output-stream-query-info">g_file_output_stream_query_info</a>     (<a class="link" href="GFileOutputStream.html" title="GFileOutputStream">GFileOutputStream</a> *stream,
 
69
                    <a class="link" href="GFileOutputStream.html#GFileOutputStream-struct" title="GFileOutputStream">GFileOutputStream</a>;
 
70
<a class="link" href="GFileInfo.html" title="GFileInfo">GFileInfo</a> *         <a class="link" href="GFileOutputStream.html#g-file-output-stream-query-info" title="g_file_output_stream_query_info ()">g_file_output_stream_query_info</a>     (<a class="link" href="GFileOutputStream.html" title="GFileOutputStream">GFileOutputStream</a> *stream,
71
71
                                                         char *attributes,
72
72
                                                         <a class="link" href="GCancellable.html" title="GCancellable">GCancellable</a> *cancellable,
73
73
                                                         <a
74
74
href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"
75
75
>GError</a> **error);
76
 
void                <a class="link" href="GFileOutputStream.html#g-file-output-stream-query-info-async">g_file_output_stream_query_info_async</a>
 
76
void                <a class="link" href="GFileOutputStream.html#g-file-output-stream-query-info-async" title="g_file_output_stream_query_info_async ()">g_file_output_stream_query_info_async</a>
77
77
                                                        (<a class="link" href="GFileOutputStream.html" title="GFileOutputStream">GFileOutputStream</a> *stream,
78
78
                                                         char *attributes,
79
79
                                                         int io_priority,
80
80
                                                         <a class="link" href="GCancellable.html" title="GCancellable">GCancellable</a> *cancellable,
81
 
                                                         <a class="link" href="GAsyncResult.html#GAsyncReadyCallback">GAsyncReadyCallback</a> callback,
 
81
                                                         <a class="link" href="GAsyncResult.html#GAsyncReadyCallback" title="GAsyncReadyCallback ()">GAsyncReadyCallback</a> callback,
82
82
                                                         <a
83
83
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
84
84
>gpointer</a> user_data);
85
 
<a class="link" href="GFileInfo.html" title="GFileInfo">GFileInfo</a>*          <a class="link" href="GFileOutputStream.html#g-file-output-stream-query-info-finish">g_file_output_stream_query_info_finish</a>
 
85
<a class="link" href="GFileInfo.html" title="GFileInfo">GFileInfo</a> *         <a class="link" href="GFileOutputStream.html#g-file-output-stream-query-info-finish" title="g_file_output_stream_query_info_finish ()">g_file_output_stream_query_info_finish</a>
86
86
                                                        (<a class="link" href="GFileOutputStream.html" title="GFileOutputStream">GFileOutputStream</a> *stream,
87
87
                                                         <a class="link" href="GAsyncResult.html" title="GAsyncResult">GAsyncResult</a> *result,
88
88
                                                         <a
89
89
href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"
90
90
>GError</a> **error);
91
 
char*               <a class="link" href="GFileOutputStream.html#g-file-output-stream-get-etag">g_file_output_stream_get_etag</a>       (<a class="link" href="GFileOutputStream.html" title="GFileOutputStream">GFileOutputStream</a> *stream);
92
 
 
93
 
 
 
91
char *              <a class="link" href="GFileOutputStream.html#g-file-output-stream-get-etag" title="g_file_output_stream_get_etag ()">g_file_output_stream_get_etag</a>       (<a class="link" href="GFileOutputStream.html" title="GFileOutputStream">GFileOutputStream</a> *stream);
94
92
</pre>
95
93
</div>
96
94
<div class="refsect1" lang="en">
97
 
<a name="id2855735"></a><h2>Object Hierarchy</h2>
 
95
<a name="GFileOutputStream.object-hierarchy"></a><h2>Object Hierarchy</h2>
98
96
<pre class="synopsis">
99
 
 
100
97
  <a
101
98
href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject"
102
99
>GObject</a>
105
102
</pre>
106
103
</div>
107
104
<div class="refsect1" lang="en">
108
 
<a name="id2855765"></a><h2>Implemented Interfaces</h2>
 
105
<a name="GFileOutputStream.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
109
106
<p>
110
107
GFileOutputStream implements
111
108
 <a class="link" href="GSeekable.html" title="GSeekable">GSeekable</a>.</p>
112
109
</div>
113
110
<div class="refsect1" lang="en">
114
 
<a name="id2852200"></a><h2>Description</h2>
 
111
<a name="GFileOutputStream.description"></a><h2>Description</h2>
115
112
<p>
116
113
GFileOutputStream provides output streams that write their
117
114
content to a file.
130
127
<code class="function">g_file_output_stream_can_truncate()</code>. To truncate a file output
131
128
stream, use <code class="function">g_file_output_stream_truncate()</code>.</p>
132
129
<p>
133
 
 
134
130
</p>
135
131
</div>
136
132
<div class="refsect1" lang="en">
137
 
<a name="id2852283"></a><h2>Details</h2>
 
133
<a name="GFileOutputStream.details"></a><h2>Details</h2>
138
134
<div class="refsect2" lang="en">
139
 
<a name="id2852294"></a><h3>
140
 
<a name="GFileOutputStream-struct"></a>GFileOutputStream</h3>
141
 
<a class="indexterm" name="id2852305"></a><pre class="programlisting">typedef struct _GFileOutputStream GFileOutputStream;</pre>
 
135
<a name="GFileOutputStream-struct"></a><h3>GFileOutputStream</h3>
 
136
<pre class="programlisting">typedef struct _GFileOutputStream GFileOutputStream;</pre>
142
137
<p>
143
138
A subclass of GOutputStream for opened files. This adds
144
139
a few file-specific operations and seeking and truncating.
146
141
<p>
147
142
<a class="link" href="GFileOutputStream.html" title="GFileOutputStream"><span class="type">GFileOutputStream</span></a> implements GSeekable.</p>
148
143
<p>
149
 
 
150
144
</p>
151
145
</div>
152
146
<hr>
153
147
<div class="refsect2" lang="en">
154
 
<a name="id2852338"></a><h3>
155
 
<a name="g-file-output-stream-query-info"></a>g_file_output_stream_query_info ()</h3>
156
 
<a class="indexterm" name="id2852352"></a><pre class="programlisting"><a class="link" href="GFileInfo.html" title="GFileInfo">GFileInfo</a>*          g_file_output_stream_query_info     (<a class="link" href="GFileOutputStream.html" title="GFileOutputStream">GFileOutputStream</a> *stream,
 
148
<a name="g-file-output-stream-query-info"></a><h3>g_file_output_stream_query_info ()</h3>
 
149
<pre class="programlisting"><a class="link" href="GFileInfo.html" title="GFileInfo">GFileInfo</a> *         g_file_output_stream_query_info     (<a class="link" href="GFileOutputStream.html" title="GFileOutputStream">GFileOutputStream</a> *stream,
157
150
                                                         char *attributes,
158
151
                                                         <a class="link" href="GCancellable.html" title="GCancellable">GCancellable</a> *cancellable,
159
152
                                                         <a
162
155
<p>
163
156
Queries a file output stream for the given <em class="parameter"><code>attributes</code></em>. 
164
157
This function blocks while querying the stream. For the asynchronous 
165
 
version of this function, see <a class="link" href="GFileOutputStream.html#g-file-output-stream-query-info-async"><code class="function">g_file_output_stream_query_info_async()</code></a>. 
 
158
version of this function, see <a class="link" href="GFileOutputStream.html#g-file-output-stream-query-info-async" title="g_file_output_stream_query_info_async ()"><code class="function">g_file_output_stream_query_info_async()</code></a>. 
166
159
While the stream is blocked, the stream will set the pending flag 
167
160
internally, and any other operations on the stream will fail with 
168
 
<a class="link" href="gio-GIOError.html#G-IO-ERROR-PENDING:CAPS"><code class="literal">G_IO_ERROR_PENDING</code></a>.
 
161
<a class="link" href="gio-GIOError.html#G-IO-ERROR-PENDING--CAPS"><code class="literal">G_IO_ERROR_PENDING</code></a>.
169
162
</p>
170
163
<p>
171
164
Can fail if the stream was already closed (with <em class="parameter"><code>error</code></em> being set to 
172
 
<a class="link" href="gio-GIOError.html#G-IO-ERROR-CLOSED:CAPS"><code class="literal">G_IO_ERROR_CLOSED</code></a>), the stream has pending operations (with <em class="parameter"><code>error</code></em> being
173
 
set to <a class="link" href="gio-GIOError.html#G-IO-ERROR-PENDING:CAPS"><code class="literal">G_IO_ERROR_PENDING</code></a>), or if querying info is not supported for 
174
 
the stream's interface (with <em class="parameter"><code>error</code></em> being set to <a class="link" href="gio-GIOError.html#G-IO-ERROR-NOT-SUPPORTED:CAPS"><code class="literal">G_IO_ERROR_NOT_SUPPORTED</code></a>). In
 
165
<a class="link" href="gio-GIOError.html#G-IO-ERROR-CLOSED--CAPS"><code class="literal">G_IO_ERROR_CLOSED</code></a>), the stream has pending operations (with <em class="parameter"><code>error</code></em> being
 
166
set to <a class="link" href="gio-GIOError.html#G-IO-ERROR-PENDING--CAPS"><code class="literal">G_IO_ERROR_PENDING</code></a>), or if querying info is not supported for 
 
167
the stream's interface (with <em class="parameter"><code>error</code></em> being set to <a class="link" href="gio-GIOError.html#G-IO-ERROR-NOT-SUPPORTED--CAPS"><code class="literal">G_IO_ERROR_NOT_SUPPORTED</code></a>). In
175
168
all cases of failure, <a
176
 
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"
 
169
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL--CAPS"
177
170
><code class="literal">NULL</code></a> will be returned.
178
171
</p>
179
172
<p>
180
173
If <em class="parameter"><code>cancellable</code></em> is not <a
181
 
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"
 
174
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL--CAPS"
182
175
><code class="literal">NULL</code></a>, then the operation can be cancelled by
183
176
triggering the cancellable object from another thread. If the operation
184
 
was cancelled, the error <a class="link" href="gio-GIOError.html#G-IO-ERROR-CANCELLED:CAPS"><code class="literal">G_IO_ERROR_CANCELLED</code></a> will be set, and <a
185
 
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"
 
177
was cancelled, the error <a class="link" href="gio-GIOError.html#G-IO-ERROR-CANCELLED--CAPS"><code class="literal">G_IO_ERROR_CANCELLED</code></a> will be set, and <a
 
178
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL--CAPS"
186
179
><code class="literal">NULL</code></a> will 
187
180
be returned.</p>
188
181
<p>
189
 
 
190
182
</p>
191
183
<div class="variablelist"><table border="0">
192
184
<col align="left" valign="top">
193
185
<tbody>
194
186
<tr>
195
 
<td><p><span class="term"><em class="parameter"><code>stream</code></em>&#160;:</span></p></td>
 
187
<td><p><span class="term"><em class="parameter"><code>stream</code></em> :</span></p></td>
196
188
<td> a <a class="link" href="GFileOutputStream.html" title="GFileOutputStream"><span class="type">GFileOutputStream</span></a>.
197
189
</td>
198
190
</tr>
199
191
<tr>
200
 
<td><p><span class="term"><em class="parameter"><code>attributes</code></em>&#160;:</span></p></td>
 
192
<td><p><span class="term"><em class="parameter"><code>attributes</code></em> :</span></p></td>
201
193
<td> a file attribute query string.
202
194
</td>
203
195
</tr>
204
196
<tr>
205
 
<td><p><span class="term"><em class="parameter"><code>cancellable</code></em>&#160;:</span></p></td>
 
197
<td><p><span class="term"><em class="parameter"><code>cancellable</code></em> :</span></p></td>
206
198
<td> optional <a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> object, <a
207
 
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"
 
199
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL--CAPS"
208
200
><code class="literal">NULL</code></a> to ignore. 
209
201
</td>
210
202
</tr>
211
203
<tr>
212
 
<td><p><span class="term"><em class="parameter"><code>error</code></em>&#160;:</span></p></td>
 
204
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
213
205
<td> a <a
214
206
href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"
215
207
><span class="type">GError</span></a>, <a
216
 
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"
 
208
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL--CAPS"
217
209
><code class="literal">NULL</code></a> to ignore.
218
210
</td>
219
211
</tr>
220
212
<tr>
221
 
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></p></td>
 
213
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
222
214
<td> a <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a> for the <em class="parameter"><code>stream</code></em>, or <a
223
 
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"
 
215
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL--CAPS"
224
216
><code class="literal">NULL</code></a> on error.
225
217
</td>
226
218
</tr>
229
221
</div>
230
222
<hr>
231
223
<div class="refsect2" lang="en">
232
 
<a name="id2851544"></a><h3>
233
 
<a name="g-file-output-stream-query-info-async"></a>g_file_output_stream_query_info_async ()</h3>
234
 
<a class="indexterm" name="id2851557"></a><pre class="programlisting">void                g_file_output_stream_query_info_async
 
224
<a name="g-file-output-stream-query-info-async"></a><h3>g_file_output_stream_query_info_async ()</h3>
 
225
<pre class="programlisting">void                g_file_output_stream_query_info_async
235
226
                                                        (<a class="link" href="GFileOutputStream.html" title="GFileOutputStream">GFileOutputStream</a> *stream,
236
227
                                                         char *attributes,
237
228
                                                         int io_priority,
238
229
                                                         <a class="link" href="GCancellable.html" title="GCancellable">GCancellable</a> *cancellable,
239
 
                                                         <a class="link" href="GAsyncResult.html#GAsyncReadyCallback">GAsyncReadyCallback</a> callback,
 
230
                                                         <a class="link" href="GAsyncResult.html#GAsyncReadyCallback" title="GAsyncReadyCallback ()">GAsyncReadyCallback</a> callback,
240
231
                                                         <a
241
232
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
242
233
>gpointer</a> user_data);</pre>
243
234
<p>
244
235
Asynchronously queries the <em class="parameter"><code>stream</code></em> for a <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a>. When completed,
245
236
<em class="parameter"><code>callback</code></em> will be called with a <a class="link" href="GAsyncResult.html" title="GAsyncResult"><span class="type">GAsyncResult</span></a> which can be used to 
246
 
finish the operation with <a class="link" href="GFileOutputStream.html#g-file-output-stream-query-info-finish"><code class="function">g_file_output_stream_query_info_finish()</code></a>.
 
237
finish the operation with <a class="link" href="GFileOutputStream.html#g-file-output-stream-query-info-finish" title="g_file_output_stream_query_info_finish ()"><code class="function">g_file_output_stream_query_info_finish()</code></a>.
247
238
</p>
248
239
<p>
249
240
For the synchronous version of this function, see 
250
 
<a class="link" href="GFileOutputStream.html#g-file-output-stream-query-info"><code class="function">g_file_output_stream_query_info()</code></a>.</p>
 
241
<a class="link" href="GFileOutputStream.html#g-file-output-stream-query-info" title="g_file_output_stream_query_info ()"><code class="function">g_file_output_stream_query_info()</code></a>.</p>
251
242
<p>
252
 
 
253
243
</p>
254
244
<div class="variablelist"><table border="0">
255
245
<col align="left" valign="top">
256
246
<tbody>
257
247
<tr>
258
 
<td><p><span class="term"><em class="parameter"><code>stream</code></em>&#160;:</span></p></td>
 
248
<td><p><span class="term"><em class="parameter"><code>stream</code></em> :</span></p></td>
259
249
<td> a <a class="link" href="GFileOutputStream.html" title="GFileOutputStream"><span class="type">GFileOutputStream</span></a>.
260
250
</td>
261
251
</tr>
262
252
<tr>
263
 
<td><p><span class="term"><em class="parameter"><code>attributes</code></em>&#160;:</span></p></td>
 
253
<td><p><span class="term"><em class="parameter"><code>attributes</code></em> :</span></p></td>
264
254
<td> a file attribute query string.
265
255
</td>
266
256
</tr>
267
257
<tr>
268
 
<td><p><span class="term"><em class="parameter"><code>io_priority</code></em>&#160;:</span></p></td>
 
258
<td><p><span class="term"><em class="parameter"><code>io_priority</code></em> :</span></p></td>
269
259
<td> the <a class="link" href="gio-GIOScheduler.html" title="GIOScheduler">I/O priority</a> 
270
260
    of the request.
271
261
</td>
272
262
</tr>
273
263
<tr>
274
 
<td><p><span class="term"><em class="parameter"><code>cancellable</code></em>&#160;:</span></p></td>
 
264
<td><p><span class="term"><em class="parameter"><code>cancellable</code></em> :</span></p></td>
275
265
<td> optional <a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> object, <a
276
 
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"
 
266
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL--CAPS"
277
267
><code class="literal">NULL</code></a> to ignore. 
278
268
</td>
279
269
</tr>
280
270
<tr>
281
 
<td><p><span class="term"><em class="parameter"><code>callback</code></em>&#160;:</span></p></td>
 
271
<td><p><span class="term"><em class="parameter"><code>callback</code></em> :</span></p></td>
282
272
<td> callback to call when the request is satisfied
283
273
</td>
284
274
</tr>
285
275
<tr>
286
 
<td><p><span class="term"><em class="parameter"><code>user_data</code></em>&#160;:</span></p></td>
 
276
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
287
277
<td> the data to pass to callback function
288
278
</td>
289
279
</tr>
292
282
</div>
293
283
<hr>
294
284
<div class="refsect2" lang="en">
295
 
<a name="id2851800"></a><h3>
296
 
<a name="g-file-output-stream-query-info-finish"></a>g_file_output_stream_query_info_finish ()</h3>
297
 
<a class="indexterm" name="id2851814"></a><pre class="programlisting"><a class="link" href="GFileInfo.html" title="GFileInfo">GFileInfo</a>*          g_file_output_stream_query_info_finish
 
285
<a name="g-file-output-stream-query-info-finish"></a><h3>g_file_output_stream_query_info_finish ()</h3>
 
286
<pre class="programlisting"><a class="link" href="GFileInfo.html" title="GFileInfo">GFileInfo</a> *         g_file_output_stream_query_info_finish
298
287
                                                        (<a class="link" href="GFileOutputStream.html" title="GFileOutputStream">GFileOutputStream</a> *stream,
299
288
                                                         <a class="link" href="GAsyncResult.html" title="GAsyncResult">GAsyncResult</a> *result,
300
289
                                                         <a
302
291
>GError</a> **error);</pre>
303
292
<p>
304
293
Finalizes the asynchronous query started 
305
 
by <a class="link" href="GFileOutputStream.html#g-file-output-stream-query-info-async"><code class="function">g_file_output_stream_query_info_async()</code></a>.</p>
 
294
by <a class="link" href="GFileOutputStream.html#g-file-output-stream-query-info-async" title="g_file_output_stream_query_info_async ()"><code class="function">g_file_output_stream_query_info_async()</code></a>.</p>
306
295
<p>
307
 
 
308
296
</p>
309
297
<div class="variablelist"><table border="0">
310
298
<col align="left" valign="top">
311
299
<tbody>
312
300
<tr>
313
 
<td><p><span class="term"><em class="parameter"><code>stream</code></em>&#160;:</span></p></td>
 
301
<td><p><span class="term"><em class="parameter"><code>stream</code></em> :</span></p></td>
314
302
<td> a <a class="link" href="GFileOutputStream.html" title="GFileOutputStream"><span class="type">GFileOutputStream</span></a>.
315
303
</td>
316
304
</tr>
317
305
<tr>
318
 
<td><p><span class="term"><em class="parameter"><code>result</code></em>&#160;:</span></p></td>
 
306
<td><p><span class="term"><em class="parameter"><code>result</code></em> :</span></p></td>
319
307
<td> a <a class="link" href="GAsyncResult.html" title="GAsyncResult"><span class="type">GAsyncResult</span></a>.
320
308
</td>
321
309
</tr>
322
310
<tr>
323
 
<td><p><span class="term"><em class="parameter"><code>error</code></em>&#160;:</span></p></td>
 
311
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
324
312
<td> a <a
325
313
href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"
326
314
><span class="type">GError</span></a>, <a
327
 
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"
 
315
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL--CAPS"
328
316
><code class="literal">NULL</code></a> to ignore.
329
317
</td>
330
318
</tr>
331
319
<tr>
332
 
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></p></td>
 
320
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
333
321
<td> A <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a> for the finished query.
334
322
</td>
335
323
</tr>
338
326
</div>
339
327
<hr>
340
328
<div class="refsect2" lang="en">
341
 
<a name="id2851968"></a><h3>
342
 
<a name="g-file-output-stream-get-etag"></a>g_file_output_stream_get_etag ()</h3>
343
 
<a class="indexterm" name="id2851981"></a><pre class="programlisting">char*               g_file_output_stream_get_etag       (<a class="link" href="GFileOutputStream.html" title="GFileOutputStream">GFileOutputStream</a> *stream);</pre>
 
329
<a name="g-file-output-stream-get-etag"></a><h3>g_file_output_stream_get_etag ()</h3>
 
330
<pre class="programlisting">char *              g_file_output_stream_get_etag       (<a class="link" href="GFileOutputStream.html" title="GFileOutputStream">GFileOutputStream</a> *stream);</pre>
344
331
<p>
345
332
Gets the entity tag for the file when it has been written.
346
333
This must be called after the stream has been written
347
334
and closed, as the etag can change while writing.</p>
348
335
<p>
349
 
 
350
336
</p>
351
337
<div class="variablelist"><table border="0">
352
338
<col align="left" valign="top">
353
339
<tbody>
354
340
<tr>
355
 
<td><p><span class="term"><em class="parameter"><code>stream</code></em>&#160;:</span></p></td>
 
341
<td><p><span class="term"><em class="parameter"><code>stream</code></em> :</span></p></td>
356
342
<td> a <a class="link" href="GFileOutputStream.html" title="GFileOutputStream"><span class="type">GFileOutputStream</span></a>.
357
343
</td>
358
344
</tr>
359
345
<tr>
360
 
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></p></td>
 
346
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
361
347
<td> the entity tag for the stream.
362
348
</td>
363
349
</tr>
366
352
</div>
367
353
</div>
368
354
<div class="refsect1" lang="en">
369
 
<a name="id2846915"></a><h2>See Also</h2>
370
 
<a class="link" href="GOutputStream.html" title="GOutputStream"><span class="type">GOutputStream</span></a>, <a class="link" href="GDataOutputStream.html" title="GDataOutputStream"><span class="type">GDataOutputStream</span></a>, <a class="link" href="GSeekable.html" title="GSeekable"><span class="type">GSeekable</span></a>
371
 
</div>
372
 
<div class="refsect1" lang="en">
373
 
<a name="id2846945"></a><div class="refsect2" lang="en"><a name="id2846946"></a></div>
 
355
<a name="GFileOutputStream.see-also"></a><h2>See Also</h2>
 
356
#GOutputStream, <a class="link" href="GDataOutputStream.html" title="GDataOutputStream"><span class="type">GDataOutputStream</span></a>, <a class="link" href="GSeekable.html" title="GSeekable"><span class="type">GSeekable</span></a>
 
357
</div>
 
358
</div>
 
359
<div class="footer">
374
360
<hr>
375
 
<div class="refsect2" lang="en"><a name="id2846947"></a></div>
376
 
</div>
377
 
</div>
 
361
          Generated by GTK-Doc V1.11</div>
378
362
</body>
379
363
</html>