Penguin
Blame: bindresvport(3)
EditPageHistoryDiffInfoLikePages
Annotated edit history of bindresvport(3) version 1, including all changes. View license author blame.
Rev Author # Line
1 perry 1 BINDRESVPORT
2 !!!BINDRESVPORT
3 NAME
4 SYNOPSIS
5 DESCRIPTION
6 ----
7 !!NAME
8
9
10 bindresvport - bind a socket to a privileged IP port
11 !!SYNOPSIS
12
13
14 __#include
15 __
16 !!DESCRIPTION
17
18
19 __bindresvport()__ is used to bind a socket descriptor to
20 a privileged IP port, that is, a port number
21 in the range 0-1023. The routine returns 0 if it is
22 successful, otherwise -1 is returned and __errno__ set to
23 reflect the cause of the error.
24
25
26 Only root can bind to a privileged port; this call will fail
27 for any other users.
28 ----
This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.