Formatting cleanups

This commit is contained in:
Matthias Clasen 2014-02-01 20:50:33 -05:00
parent ca462d1b59
commit 3bbd15383f

View File

@ -38,7 +38,6 @@ G_BEGIN_DECLS
* in place of g_poll(). Thus g_poll() must have the same signature as * in place of g_poll(). Thus g_poll() must have the same signature as
* poll(), meaning GPollFD must have the same layout as struct pollfd. * poll(), meaning GPollFD must have the same layout as struct pollfd.
* *
*
* On Win32, the fd in a GPollFD should be Win32 HANDLE (*not* a file * On Win32, the fd in a GPollFD should be Win32 HANDLE (*not* a file
* descriptor as provided by the C runtime) that can be used by * descriptor as provided by the C runtime) that can be used by
* MsgWaitForMultipleObjects. This does *not* include file handles * MsgWaitForMultipleObjects. This does *not* include file handles
@ -77,7 +76,7 @@ typedef gint (*GPollFunc) (GPollFD *ufds,
/** /**
* GPollFD: * GPollFD:
* @fd: the file descriptor to poll (or a <type>HANDLE</type> on Win32) * @fd: the file descriptor to poll (or a HANDLE on Win32)
* @events: a bitwise combination from #GIOCondition, specifying which * @events: a bitwise combination from #GIOCondition, specifying which
* events should be polled for. Typically for reading from a file * events should be polled for. Typically for reading from a file
* descriptor you would use %G_IO_IN | %G_IO_HUP | %G_IO_ERR, and * descriptor you would use %G_IO_IN | %G_IO_HUP | %G_IO_ERR, and
@ -110,7 +109,8 @@ struct _GPollFD
#endif #endif
GLIB_AVAILABLE_IN_ALL GLIB_AVAILABLE_IN_ALL
gint g_poll (GPollFD *fds, gint
g_poll (GPollFD *fds,
guint nfds, guint nfds,
gint timeout); gint timeout);