[glib] gunixsocketaddress: Clarify construction behaviour of anonymous addrs
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] gunixsocketaddress: Clarify construction behaviour of anonymous addrs
- Date: Sun, 4 Oct 2015 14:26:57 +0000 (UTC)
commit 9b7f5ad61172ff71d0dd4a788a23c5803300ab59
Author: Philip Withnall <philip withnall collabora co uk>
Date: Sun Oct 4 15:25:03 2015 +0100
gunixsocketaddress: Clarify construction behaviour of anonymous addrs
Clarify the handling of G_UNIX_SOCKET_ADDRESS_ANONYMOUS in the
documentation for g_unix_socket_address_new_with_type().
gio/gunixsocketaddress.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/gio/gunixsocketaddress.c b/gio/gunixsocketaddress.c
index 70973b8..b1702cb 100644
--- a/gio/gunixsocketaddress.c
+++ b/gio/gunixsocketaddress.c
@@ -362,6 +362,9 @@ g_unix_socket_address_new_abstract (const gchar *path,
* If @type is %G_UNIX_SOCKET_ADDRESS_PATH, this is equivalent to
* calling g_unix_socket_address_new().
*
+ * If @type is %G_UNIX_SOCKET_ADDRESS_ANONYMOUS, @path and @path_len will be
+ * ignored.
+ *
* If @path_type is %G_UNIX_SOCKET_ADDRESS_ABSTRACT, then @path_len
* bytes of @path will be copied to the socket's path, and only those
* bytes will be considered part of the name. (If @path_len is -1,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]