Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
sysdecode_sockopt_n... FreeBSD Library Functions Manual	sysdecode_sockopt_n...

NAME
     sysdecode_sockopt_name -- lookup name of socket option

LIBRARY
     library "libsysdecode"

SYNOPSIS
     #include <sys/types.h>
     #include <stdbool.h>
     #include <sysdecode.h>

     const char	*
     sysdecode_sockopt_name(int	level, int optname);

DESCRIPTION
     The sysdecode_sockopt_name() function returns a text description of the
     socket option name	passed in the optname argument to getsockopt(2).
     sysdecode_sockopt_name() takes the	socket option level as well as the op-
     tion name to uniquely identify the	option.

SEE ALSO
     sysdecode_sockopt_level(3)

BUGS
     Socket option levels and names are	protocol-specific.  Both
     sysdecode_sockopt_level() and sysdecode_sockopt_name() should possibly
     accept the	protocol family	as an additional argument.

FreeBSD	13.0		       October 17, 2016			  FreeBSD 13.0

NAME | LIBRARY | SYNOPSIS | DESCRIPTION | SEE ALSO | BUGS

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=sysdecode_sockopt_name&sektion=3&manpath=FreeBSD+12.1-RELEASE+and+Ports>

home | help