[glib: 2/3] gsubprocess: Add missing (nullable) annotation to get_identifier()
- From: Sebastian Dröge <sdroege src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib: 2/3] gsubprocess: Add missing (nullable) annotation to get_identifier()
- Date: Mon, 3 Jun 2019 10:39:48 +0000 (UTC)
commit 799caf772bba791d8318eddeae812c2d4d9af5ca
Author: Philip Withnall <withnall endlessm com>
Date: Fri May 31 23:38:58 2019 +0100
gsubprocess: Add missing (nullable) annotation to get_identifier()
The bottom of the documentation comment for this symbol seems to have
been missing.
Signed-off-by: Philip Withnall <withnall endlessm com>
gio/gsubprocess.c | 5 +++++
1 file changed, 5 insertions(+)
---
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)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]