[glib] gsubprocess: Document g_subprocess_get_identifier()



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]