Move this out of gmain.c and make it part of the public API. (Part of Bug

* glib/gpoll.c (g_poll): Move this out of gmain.c and make it part
	of the public API. (Part of Bug 505361 - gunixinputstream.c
	assumes poll() available.)

svn path=/trunk/; revision=7535
This commit is contained in:
Dan Winship
2008-09-23 16:32:30 +00:00
parent f911ead382
commit ac68024ec1
9 changed files with 551 additions and 389 deletions

View File

@@ -468,8 +468,10 @@ GChildWatchFunc
g_child_watch_source_new
g_child_watch_add
g_child_watch_add_full
<SUBSECTION>
GPollFD
g_poll
<SUBSECTION>
GSource

View File

@@ -725,6 +725,17 @@ you would use %G_IO_IN | %G_IO_HUP | %G_IO_ERR, and for writing you would use
@events:
@revents:
<!-- ##### FUNCTION g_poll ##### -->
<para>
</para>
@fds:
@nfds:
@timeout:
@Returns:
<!-- ##### STRUCT GSource ##### -->
<para>
The <structname>GSource</structname> struct is an opaque data type representing