sysdecode_cmsg_type(3) | MidnightBSD Library Functions Manual | sysdecode_cmsg_type(3) |
sysdecode_cmsg_type
—
lookup name of cmsg type
System Argument Decoding Library (libsysdecode, -lsysdecode)
#include
<sys/types.h>
#include <stdbool.h>
#include <sysdecode.h>
const char *
sysdecode_cmsg_type
(int
cmsg_level, int
cmsg_type);
The
sysdecode_cmsg_type
()
function returns a text description of the cmsg_type
member of a struct cmsghdr.
sysdecode_cmsg_type
() also takes the
cmsg_level to uniquely identify the type.
January 15, 2018 | midnightbsd-3.1 |