From 03bf43e14aa3d5c22f9365a6c6137e3bb1f67b02 Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Mon, 25 Nov 2013 18:39:46 -0500 Subject: [PATCH] gsubprocess: Document g_subprocess_get_identifier() --- gio/gsubprocess.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/gio/gsubprocess.c b/gio/gsubprocess.c index e1ba088..b02cf3e 100644 --- a/gio/gsubprocess.c +++ b/gio/gsubprocess.c @@ -720,6 +720,13 @@ g_subprocess_newv (const gchar * const *argv, NULL); } +/** + * g_subprocess_get_identifier: + * @subprocess: a #GSubprocess + * + * On UNIX, returns the process ID as a decimal string. On Windows, + * returns the result of GetProcessId() also as a string. + */ const gchar * g_subprocess_get_identifier (GSubprocess *subprocess) { -- 2.7.4