*** UNIX MANUAL PAGE BROWSER ***

A Nergahak database for man pages research.

Navigation

Directory Browser

1Browse 4.4BSD4.4BSD
1Browse Digital UNIXDigital UNIX 4.0e
1Browse FreeBSDFreeBSD 14.3
1Browse MINIXMINIX 3.4.0rc6-d5e4fc0
1Browse NetBSDNetBSD 10.1
1Browse OpenBSDOpenBSD 7.7
1Browse UNIX v7Version 7 UNIX
1Browse UNIX v10Version 10 UNIX

Manual Page Search

Manual Page Result

0 Command: sctp_getaddrlen | Section: 3 | Source: NetBSD | File: sctp_getaddrlen.3
SCTP_GETADDRLEN(3) FreeBSD Library Functions Manual SCTP_GETADDRLEN(3) NAME sctp_getaddrlen - return the address length of an address family LIBRARY Standard C Library (libc, -lc) SYNOPSIS #include <sys/types.h> #include <sys/socket.h> #include <netinet/sctp.h> int sctp_getaddrlen(sa_family_t family); DESCRIPTION The sctp_getaddrlen() function returns the size of a specific address family. This function is provided for application binary compatibility since it provides the application with the size the operating system thinks the specific address family is. Note that the function will actually create an SCTP socket and then gather the information via a getsockopt() system calls. If for some reason a SCTP socket cannot be created or the getsockopt() call fails, an error will be returned with errno set as specified in the socket() or getsockopt() system call. RETURN VALUES The call returns the number of bytes that the operating system expects for the specific address family or -1. ERRORS The sctp_getaddrlen() function can return the following errors: [EINVAL] The address family specified does NOT exist. SEE ALSO getsockopt(2), socket(2), sctp(4) Sockets API Extensions for the Stream Control Transmission Protocol (SCTP), RFC, 6458, December 2011. HISTORY This function first appeared in NetBSD 9.0. FreeBSD 14.1-RELEASE-p8 August 1, 2018 FreeBSD 14.1-RELEASE-p8

Navigation Options