tail head cat sleep
QR code linking to this page

Manual Pages  — sysdecode_sockopt_name

NAME

sysdecode_sockopt_name – lookup name of socket option

CONTENTS

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

sysdecode_sockopt_name (3) October 17, 2016

tail head cat sleep
QR code linking to this page


Please direct any comments about this manual page service to Ben Bullock. Privacy policy.

Unix is the answer, but only if you phrase the question very carefully.
— Belinda Asbell