Merge branch 'wip/smcv/steal-fd-preserves-errno' into 'main'

gmain: Document that g_steal_fd() preserves errno

See merge request GNOME/glib!3456
This commit is contained in:
Philip Withnall 2023-05-31 14:34:33 +00:00
commit 7a82da2992

View File

@ -6608,6 +6608,8 @@ g_get_worker_context (void)
* [`signal-safety(7)`](man:signal-safety(7))), making it safe to call from a
* signal handler or a #GSpawnChildSetupFunc.
*
* This function preserves the value of `errno`.
*
* Returns: the value that @fd_ptr previously had
* Since: 2.70
*/