mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-23 18:52:09 +01:00
Formatting cleanups
This commit is contained in:
parent
ca462d1b59
commit
3bbd15383f
@ -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);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user