mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-07-24 10:57:53 +02:00
docs: Description of return value of get_native_size
Specified that if the user passes an invalid address, the function returns -1. closes #2377
This commit is contained in:
@@ -147,9 +147,8 @@ g_socket_address_init (GSocketAddress *address)
|
||||
* g_socket_address_to_native().
|
||||
*
|
||||
* Returns: the size of the native struct sockaddr that
|
||||
* @address represents, or `-1` if the passed
|
||||
* @address is of type other than `AF_INET`
|
||||
* or `AF_INET6`
|
||||
* @address represents, or `-1` if @address
|
||||
* is not valid
|
||||
*
|
||||
* Since: 2.22
|
||||
*/
|
||||
|
Reference in New Issue
Block a user