summaryrefslogtreecommitdiff
path: root/gio/gsubprocess.c
diff options
context:
space:
mode:
authorHyunjee Kim <hj0426.kim@samsung.com>2019-12-03 11:00:55 +0900
committerHyunjee Kim <hj0426.kim@samsung.com>2019-12-03 11:00:55 +0900
commit85ef543166f81464323d083c9a21096cc634cad0 (patch)
treea68d53ee7eb4ff2e4f116e5a9fd69fce3d3059f4 /gio/gsubprocess.c
parent68bf5c4184c2899c4b0594930c7112d88f15e199 (diff)
downloadglib-85ef543166f81464323d083c9a21096cc634cad0.tar.gz
glib-85ef543166f81464323d083c9a21096cc634cad0.tar.bz2
glib-85ef543166f81464323d083c9a21096cc634cad0.zip
Imported Upstream version 2.61.2
Diffstat (limited to 'gio/gsubprocess.c')
-rw-r--r--gio/gsubprocess.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/gio/gsubprocess.c b/gio/gsubprocess.c
index 7630c7b45..b5515c705 100644
--- a/gio/gsubprocess.c
+++ b/gio/gsubprocess.c
@@ -749,6 +749,11 @@ g_subprocess_newv (const gchar * const *argv,
*
* On UNIX, returns the process ID as a decimal string.
* On Windows, returns the result of GetProcessId() also as a string.
+ * If the subprocess has terminated, this will return %NULL.
+ *
+ * Returns: (nullable): the subprocess identifier, or %NULL if the subprocess
+ * has terminated
+ * Since: 2.40
*/
const gchar *
g_subprocess_get_identifier (GSubprocess *subprocess)