mirror of
				https://gitlab.gnome.org/GNOME/glib.git
				synced 2025-10-31 08:22:16 +01:00 
			
		
		
		
	gmain: Document that g_steal_fd() preserves errno
This is useful when writing similarly low-level code, and was always true as implemented here; let's document it so that other codebases can rely on it. Signed-off-by: Simon McVittie <smcv@collabora.com>
This commit is contained in:
		| @@ -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 | ||||
|  */ | ||||
|   | ||||
		Reference in New Issue
	
	Block a user