mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-09 02:46:16 +01:00
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().
This commit is contained in:
parent
f9d9f9c056
commit
9b7f5ad611
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user