mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-25 15:06:14 +01:00
gsocket: Document FD ownership with g_socket_new_from_fd()
https://bugzilla.gnome.org/show_bug.cgi?id=730188
This commit is contained in:
parent
d4e7b4cf25
commit
1b22df7822
@ -1057,6 +1057,9 @@ g_socket_new (GSocketFamily family,
|
||||
* will be set to non-blocking mode, independent on the blocking
|
||||
* mode of the #GSocket.
|
||||
*
|
||||
* On success, the returned #GSocket takes ownership of @fd. On failure, the
|
||||
* caller must close @fd themselves.
|
||||
*
|
||||
* Returns: a #GSocket or %NULL on error.
|
||||
* Free the returned object with g_object_unref().
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user