~ubuntu-branches/ubuntu/vivid/libgsf/vivid

« back to all changes in this revision

Viewing changes to doc/html/gsf-Output-to-unstructured-files.html

  • Committer: Package Import Robot
  • Author(s): Robert Ancell
  • Date: 2012-09-04 15:29:59 UTC
  • mfrom: (1.3.9)
  • Revision ID: package-import@ubuntu.com-20120904152959-pie0kdd9xo5pdiim
Tags: 1.14.24-0ubuntu1
* New upstream bugfix release
* debian/control:
  - Build build-depends on gtk-doc-tools, libgirepository1.0-dev
* debian/rules:
  - Build with --enable-introspection
* Add missing debian/gir1.2-gsf-1.install
* debian/libgsf-1-114.symbols:
  - Updated

Show diffs side-by-side

added added

removed removed

Lines of Context:
168
168
<pre class="programlisting"><a class="link" href="gsf-utils.html#gsf-off-t" title="gsf_off_t"><span class="returnvalue">gsf_off_t</span></a>           gsf_output_tell                     (<em class="parameter"><code><a class="link" href="gsf-Output-to-unstructured-files.html#GsfOutput"><span class="type">GsfOutput</span></a> *output</code></em>);</pre>
169
169
<p>
170
170
Tell the current position in <em class="parameter"><code>output</code></em>, similar to
171
 
<span class="citerefentry"><span class="refentrytitle">ftell</span>(3)</span>.
 
171
&lt;citerefentry&gt;&lt;refentrytitle&gt;ftell&lt;/refentrytitle&gt;
 
172
&lt;manvolnum&gt;3&lt;/manvolnum&gt;&lt;/citerefentry&gt;.
172
173
</p>
173
174
<div class="variablelist"><table border="0">
174
175
<col align="left" valign="top">
198
199
relative to: the beginning of the stream (<a href="http://library.gnome.org/devel/glib/unstable/glib-IO-Channels.html#G-SEEK-SET:CAPS"><code class="literal">G_SEEK_SET</code></a>), current position in
199
200
the stream (<a href="http://library.gnome.org/devel/glib/unstable/glib-IO-Channels.html#G-SEEK-CUR:CAPS"><code class="literal">G_SEEK_CUR</code></a>) or the end of the stream (<a href="http://library.gnome.org/devel/glib/unstable/glib-IO-Channels.html#G-SEEK-END:CAPS"><code class="literal">G_SEEK_END</code></a>).
200
201
This function is similar to
201
 
<span class="citerefentry"><span class="refentrytitle">fseek</span>(3)</span>.
 
202
&lt;citerefentry&gt;&lt;refentrytitle&gt;fseek&lt;/refentrytitle&gt;
 
203
&lt;manvolnum&gt;3&lt;/manvolnum&gt;&lt;/citerefentry&gt;.
202
204
</p>
203
205
<div class="variablelist"><table border="0">
204
206
<col align="left" valign="top">
300
302
                                                         <em class="parameter"><code>...</code></em>);</pre>
301
303
<p>
302
304
Output <em class="parameter"><code>Varargs</code></em> to <em class="parameter"><code>output</code></em> using the format string <em class="parameter"><code>format</code></em>, similar to
303
 
<span class="citerefentry"><span class="refentrytitle">printf</span>(3)</span>.
 
305
&lt;citerefentry&gt;&lt;refentrytitle&gt;printf&lt;/refentrytitle&gt;
 
306
&lt;manvolnum&gt;3&lt;/manvolnum&gt;&lt;/citerefentry&gt;.
304
307
</p>
305
308
<div class="variablelist"><table border="0">
306
309
<col align="left" valign="top">
336
339
                                                         <em class="parameter"><code><span class="type">va_list</span> args</code></em>);</pre>
337
340
<p>
338
341
Output <em class="parameter"><code>args</code></em> to <em class="parameter"><code>output</code></em> using the format string <em class="parameter"><code>format</code></em>, similar to
339
 
<span class="citerefentry"><span class="refentrytitle">vprintf</span>(3)</span>.
 
342
&lt;citerefentry&gt;&lt;refentrytitle&gt;vprintf&lt;/refentrytitle&gt;
 
343
&lt;manvolnum&gt;3&lt;/manvolnum&gt;&lt;/citerefentry&gt;.
340
344
</p>
341
345
<div class="variablelist"><table border="0">
342
346
<col align="left" valign="top">
373
377
<tbody><tr>
374
378
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
375
379
<td> but does not add a reference to <em class="parameter"><code>output</code></em>'s container.
376
 
        Potentially <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
 
380
        Potentially <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
377
381
</td>
378
382
</tr></tbody>
379
383
</table></div>
408
412
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            gsf_output_set_name_from_filename   (<em class="parameter"><code><a class="link" href="gsf-Output-to-unstructured-files.html#GsfOutput"><span class="type">GsfOutput</span></a> *output</code></em>,
409
413
                                                         <em class="parameter"><code><span class="type">char</span> const *filename</code></em>);</pre>
410
414
<p>
411
 
</p>
412
 
<div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;">
413
 
<h3 class="title">Note</h3>This is a utility routine that should only be used by derived
414
 
outputs.</div>
415
 
<p>
 
415
&lt;note&gt;This is a utility routine that should only be used by derived
 
416
outputs.&lt;/note&gt;
416
417
</p>
417
418
<div class="variablelist"><table border="0">
418
419
<col align="left" valign="top">
458
459
                                                         <em class="parameter"><code><span class="type">char</span> const *format</code></em>,
459
460
                                                         <em class="parameter"><code>...</code></em>);</pre>
460
461
<p>
461
 
</p>
462
 
<div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;">
463
 
<h3 class="title">Note</h3>This is a utility routine that should only be used by derived
464
 
outputs.</div>
465
 
<p>
 
462
&lt;note&gt;This is a utility routine that should only be used by derived
 
463
outputs.&lt;/note&gt;
466
464
</p>
467
465
<div class="variablelist"><table border="0">
468
466
<col align="left" valign="top">