[glib] gsubprocess: Document g_subprocess_get_identifier()
- From: Colin Walters <walters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] gsubprocess: Document g_subprocess_get_identifier()
- Date: Mon, 25 Nov 2013 23:40:24 +0000 (UTC)
commit 03bf43e14aa3d5c22f9365a6c6137e3bb1f67b02
Author: Colin Walters <walters verbum org>
Date: Mon Nov 25 18:39:46 2013 -0500
gsubprocess: Document g_subprocess_get_identifier()
gio/gsubprocess.c | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
---
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)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]