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

« back to all changes in this revision

Viewing changes to glib/gpoll.h

  • Committer: Package Import Robot
  • Author(s): Martin Pitt
  • Date: 2013-05-08 06:25:57 UTC
  • mfrom: (1.27.14) (3.1.181 experimental)
  • Revision ID: package-import@ubuntu.com-20130508062557-i7gbku66mls70gi2
Tags: 2.36.1-2
Merge experimental branch, upload to unstable.

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
 * Boston, MA 02111-1307, USA.
18
18
 */
19
19
 
 
20
#ifndef __G_POLL_H__
 
21
#define __G_POLL_H__
 
22
 
20
23
#if !defined (__GLIB_H_INSIDE__) && !defined (__G_MAIN_H__) && !defined (GLIB_COMPILATION)
21
24
#error "Only <glib.h> can be included directly."
22
25
#endif
23
26
 
24
 
#ifndef __G_POLL_H__
25
 
#define __G_POLL_H__
26
 
 
27
27
#include <glib/gtypes.h>
28
28
 
29
29
G_BEGIN_DECLS
111
111
#define G_POLLFD_FORMAT "%d"
112
112
#endif
113
113
 
 
114
GLIB_AVAILABLE_IN_ALL
114
115
gint g_poll (GPollFD *fds,
115
116
             guint    nfds,
116
117
             gint     timeout);