GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
sysdecode_socket_protocol(3) FreeBSD Library Functions Manual sysdecode_socket_protocol(3)

sysdecode_socket_protocol
lookup name of socket protocol

System Argument Decoding Library (libsysdecode, -lsysdecode)

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

const char *
sysdecode_socket_protocol(int domain, int protocol);

The sysdecode_socket_protocol() function returns a text description of the protocol passed in the protocol argument to socket(2). sysdecode_socket_protocol() takes the protocol as well as the domain to uniquely identify the protocol.
May 25, 2017 FreeBSD 13.1-RELEASE

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.