The OpenNET Project / Index page

[ новости /+++ | форум | теги | ]

Интерактивная система просмотра системных руководств (man-ов)

 ТемаНаборКатегория 
 
 [Cписок руководств | Печать]

sctp_getaddrlen (3)
  • >> sctp_getaddrlen (3) ( FreeBSD man: Библиотечные вызовы )

  • BSD mandoc
     

    NAME

    
    
    sctp_getaddrlen
    
     - return the address length of an address family
    
     
    

    LIBRARY

    Lb libc
    
     
    

    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 compatability 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.

    Bq Er EINVAL
    The address family specified does NOT exist.

     

    SEE ALSO

    getsockopt(2), socket(2), sctp(4)


     

    Index

    NAME
    LIBRARY
    SYNOPSIS
    DESCRIPTION
    RETURN VALUES
    ERRORS
    SEE ALSO


    Поиск по тексту MAN-ов: 




    Партнёры:
    PostgresPro
    Inferno Solutions
    Hosting by Hoster.ru
    Хостинг:

    Закладки на сайте
    Проследить за страницей
    Created 1996-2024 by Maxim Chirkov
    Добавить, Поддержать, Вебмастеру