mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-26 15:36:14 +01:00
Merge branch 'unix-fd-source-docs' into 'main'
glib-unix: Improve documentation for g_unix_fd_source_new() See merge request GNOME/glib!3396
This commit is contained in:
commit
73bf66dd2a
@ -293,12 +293,15 @@ GSourceFuncs g_unix_fd_source_funcs = {
|
||||
/**
|
||||
* g_unix_fd_source_new:
|
||||
* @fd: a file descriptor
|
||||
* @condition: IO conditions to watch for on @fd
|
||||
* @condition: I/O conditions to watch for on @fd
|
||||
*
|
||||
* Creates a #GSource to watch for a particular IO condition on a file
|
||||
* Creates a #GSource to watch for a particular I/O condition on a file
|
||||
* descriptor.
|
||||
*
|
||||
* The source will never close the fd -- you must do it yourself.
|
||||
* The source will never close the @fd — you must do it yourself.
|
||||
*
|
||||
* Any callback attached to the returned #GSource must have type
|
||||
* #GUnixFDSourceFunc.
|
||||
*
|
||||
* Returns: the newly created #GSource
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user