elks-enhanced
public
Read
Owner: themaster
Branch: master
Commits: 6893
Updated: 2026-04-19 00:15
Git CLI clone URL
git clone https://www.xt-emporium.com/git/elks-enhanced.git
Fullscreen desktop URL
Code
Commits
History
Branches
Bug Reports
Discussions
Compare
Settings
elks-enhanced
/
elkscmd
/
man
/
man2
/
setsockopt.2
File editor
.TH SETSOCKOPT 2 .SH NAME setsockopt \- set the value of a socket option. .SH SYNOPSIS .ft B #include <sys/socket.h> int setsockopt(int \fIsd\fP, int \fIlevel\fP, int \fIopt_name\fP, const void * \fIopt_val\fP, socklen_t \fIopt_len\fP); .br .ft P .SH DESCRIPTION setsockopt() provides an interface to set the value of a specific option, referenced by \fIopt_name\fP, for a given socket descriptor \fIsd\fP. .SH RETURN VALUES On success, this function returns 0. On error, -1 is returned and \fIerrno\fP is set. .SH ERRORS .TP 15 [ENOSYS] The option \fIopt_name\fP is not available/supported at the \fIlevel\fP specified for the socket \fIsd\fP. .TP 15 [ENOTSOCK] \fIsd\fP is not a socket descriptor. .SH SEE ALSO .BR socket (2), .BR socketpair (2), .BR getsockopt (2)
Commit message
This repository is read-only for this account.
Repository snapshot
Current branch
master
Visibility
public
Your access
Read
Remote
Configured
File activity
View file history