mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-13 20:47:46 +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().
|
* g_socket_address_to_native().
|
||||||
*
|
*
|
||||||
* Returns: the size of the native struct sockaddr that
|
* Returns: the size of the native struct sockaddr that
|
||||||
* @address represents, or `-1` if the passed
|
* @address represents, or `-1` if @address
|
||||||
* @address is of type other than `AF_INET`
|
* is not valid
|
||||||
* or `AF_INET6`
|
|
||||||
*
|
*
|
||||||
* Since: 2.22
|
* Since: 2.22
|
||||||
*/
|
*/
|
||||||
|
Reference in New Issue
Block a user