man.bsd.lv manual page server

Manual Page Search Parameters

sysdecode_cmsg_type(3) Library Functions Manual sysdecode_cmsg_type(3)

sysdecode_cmsg_typelookup name of cmsg type

library “libsysdecode”

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

const char *
sysdecode_cmsg_type(int cmsg_level, int cmsg_type);

The () 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.

sysdecode(3)

January 15, 2018 FreeBSD-12.0