SYSDECODE_SOCKET_PROTOCOL(3)
π NAME π
sysdecode_socket_protocol β lookup name of socket protocol
π LIBRARY π
library βlibsysdecodeβ π«Ά
β¨ SYNOPSIS β¨
#include <sysdecode.h>
const char *
sysdecode_socket_protocol(int domain, int protocol);
πΈ DESCRIPTION πΈ
okay so bestie, sysdecode_socket_protocol() returns a text description of the protocol that you pass in the protocol argument to socket(2). literally its whole job is giving you the name-ish text for that protocol π
and the way it works is: sysdecode_socket_protocol() takes the protocol and the domain so it can uniquely identify the protocol. both of those details matter, no cap π₯
source/version check, bestie: this is the Debian page for sysdecode_socket_protocol(3), dated May 25, 2017 β iconic, historic, and now fully vibe-checked πππ¦
π¦ where this page comes from
- freebsd 14.5: base 14.5
- freebsd 15.1: base 15.1
- Copyright (c) 2016 John Baldwin <jhb@FreeBSD.org>
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms