Red Hat Bugzilla – Bug 624399
rresvport man entry misleading
Last modified: 2010-09-08 09:21:34 EDT
Description of problem:
The man entry for rresvport states: "The rresvport() function is used to obtain a socket with a privileged address bound to it." Then it continues to state: "Privileged Internet ports are those in the range 0 to 1023." All of which is true. But in actual fact the notes fail to mention that rresvport() returns a port number in the range 512 through 1023 only.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. man rresvport
It should instead state: "The rresvport() function is used to obtain a socket with its port number bound to an available value between 512 and 1023 inclusive, being a subset of the privileged port range (0 through 1023).
Thanks fixed in man-pages-3.26-1.