~ubuntu-branches/ubuntu/precise/glib2.0/precise-updates

« back to all changes in this revision

Viewing changes to glib/giochannel.c

  • Committer: Package Import Robot
  • Author(s): Sebastien Bacher, Martin Pitt
  • Date: 2012-01-03 18:16:47 UTC
  • mfrom: (1.59.34)
  • Revision ID: package-import@ubuntu.com-20120103181647-7jsgxz37px0igbna
Tags: 2.31.6-0ubuntu1
* New upstream version
* debian/patches/disable-test-gdbus-hanging.patch:
  - dropped the tests have been fixed in the new version
* debian/libglib2.0-0.postrm.in:
  - restore change dropped by error, don't clean the gsettings mmap on 
    upgrades to avoid having a time where no schemas seems installed which
    leads to applications erroring out
* debian/libglib2.0-0.symbols: 
  - new version update

[ Martin Pitt ]
* debian/control.in: Re-add our Vcs-Bzr:.

Show diffs side-by-side

added added

removed removed

Lines of Context:
752
752
 
753
753
/**
754
754
 * g_io_channel_error_from_errno:
755
 
 * @en: an <literal>errno</literal> error number, e.g. %EINVAL
 
755
 * @en: an <literal>errno</literal> error number, e.g. <literal>EINVAL</literal>
756
756
 *
757
757
 * Converts an <literal>errno</literal> error number to a #GIOChannelError.
758
758
 *
937
937
 * @flags: the flags to set on the IO channel
938
938
 * @error: A location to return an error of type #GIOChannelError
939
939
 *
940
 
 * Sets the (writeable) flags in @channel to (@flags & %G_IO_CHANNEL_SET_MASK).
 
940
 * Sets the (writeable) flags in @channel to (@flags & %G_IO_FLAG_SET_MASK).
941
941
 *
942
942
 * Return value: the status of the operation. 
943
943
 **/
944
944
/**
945
945
 * GIOFlags:
946
 
 * @G_IO_FLAG_APPEND: turns on append mode, corresponds to %O_APPEND
 
946
 * @G_IO_FLAG_APPEND: turns on append mode, corresponds to <literal>O_APPEND</literal>
947
947
 *                    (see the documentation of the UNIX open()
948
948
 *                    syscall).
949
949
 * @G_IO_FLAG_NONBLOCK: turns on nonblocking mode, corresponds to
950
 
 *                      %O_NONBLOCK/%O_NDELAY (see the documentation of
951
 
 *                      the UNIX open() syscall).
 
950
 *                      <literal>O_NONBLOCK</literal>/<literal>O_NDELAY</literal>
 
951
 *                      (see the documentation of the UNIX open() syscall).
952
952
 * @G_IO_FLAG_IS_READABLE: indicates that the io channel is readable.
953
953
 *                         This flag cannot be changed.
954
954
 * @G_IO_FLAG_IS_WRITABLE: indicates that the io channel is writable.