sysdecode_cmsg_type —
lookup name of cmsg type
System Argument Decoding Library (libsysdecode,
-lsysdecode)
#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.