diff options
author | Colin Walters <walters@verbum.org> | 2013-11-25 18:39:46 -0500 |
---|---|---|
committer | Colin Walters <walters@verbum.org> | 2013-11-25 18:39:46 -0500 |
commit | 03bf43e14aa3d5c22f9365a6c6137e3bb1f67b02 (patch) | |
tree | d57347684702c603147722ec409ed49f626accff /gio/gsubprocess.c | |
parent | ed1df0ea59fcb316827d709642d023caeebc5078 (diff) | |
download | glib-03bf43e14aa3d5c22f9365a6c6137e3bb1f67b02.tar.gz glib-03bf43e14aa3d5c22f9365a6c6137e3bb1f67b02.tar.bz2 glib-03bf43e14aa3d5c22f9365a6c6137e3bb1f67b02.zip |
gsubprocess: Document g_subprocess_get_identifier()
Diffstat (limited to 'gio/gsubprocess.c')
-rw-r--r-- | gio/gsubprocess.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gio/gsubprocess.c b/gio/gsubprocess.c index e1ba0888d..b02cf3ebf 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) { |