#, fuzzy msgid "" msgstr "" "Project-Id-Version: man-pages-l10n VERSION\n" "POT-Creation-Date: 2014-07-17 17:54+0900\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #. type: TH #: man-pages/man3/bindresvport.3:30 #, no-wrap msgid "BINDRESVPORT" msgstr "" #. type: TH #: man-pages/man3/bindresvport.3:30 #, no-wrap msgid "2013-06-21" msgstr "" #. type: TH #: man-pages/man3/bindresvport.3:30 #, no-wrap msgid "Linux Programmer's Manual" msgstr "" #. type: SH #: man-pages/man3/bindresvport.3:31 #, no-wrap msgid "NAME" msgstr "" #. type: Plain text #: man-pages/man3/bindresvport.3:33 msgid "bindresvport - bind a socket to a privileged IP port" msgstr "" #. type: SH #: man-pages/man3/bindresvport.3:33 #, no-wrap msgid "SYNOPSIS" msgstr "" #. type: Plain text #: man-pages/man3/bindresvport.3:37 #, no-wrap msgid "B<#include Esys/types.hE>\n" "B<#include Enetinet/in.hE>\n" msgstr "" #. type: Plain text #: man-pages/man3/bindresvport.3:39 #, no-wrap msgid "BIB<, struct sockaddr_in *>IB<);>\n" msgstr "" #. type: SH #: man-pages/man3/bindresvport.3:40 #, no-wrap msgid "DESCRIPTION" msgstr "" #. Glibc actually starts searching with a port # in the range 600 to 1023 #. type: Plain text #: man-pages/man3/bindresvport.3:46 msgid "" "B() is used to bind a socket descriptor to a privileged " "anonymous IP port, that is, a port number arbitrarily selected from the " "range 512 to 1023." msgstr "" #. type: Plain text #: man-pages/man3/bindresvport.3:56 msgid "" "If the B(2) performed by B() is successful, and I " "is not NULL, then Isin_port> returns the port number actually " "allocated." msgstr "" #. type: Plain text #: man-pages/man3/bindresvport.3:67 msgid "" "I can be NULL, in which case Isin_family> is implicitly taken " "to be B. However, in this case, B() has no way to " "return the port number actually allocated. (This information can later be " "obtained using B(2).)" msgstr "" #. type: SH #: man-pages/man3/bindresvport.3:67 #, no-wrap msgid "RETURN VALUE" msgstr "" #. type: Plain text #: man-pages/man3/bindresvport.3:72 msgid "" "B() returns 0 on success; otherwise -1 is returned and " "I set to indicate the cause of the error." msgstr "" #. type: SH #: man-pages/man3/bindresvport.3:72 #, no-wrap msgid "ERRORS" msgstr "" #. type: Plain text #: man-pages/man3/bindresvport.3:77 msgid "" "B() can fail for any of the same reasons as B(2). In " "addition, the following errors may occur:" msgstr "" #. type: TP #: man-pages/man3/bindresvport.3:77 #, no-wrap msgid "B" msgstr "" #. type: Plain text #: man-pages/man3/bindresvport.3:82 msgid "" "The caller did not have superuser privilege (to be precise: the " "B capability is required)." msgstr "" #. type: TP #: man-pages/man3/bindresvport.3:82 #, no-wrap msgid "B" msgstr "" #. type: Plain text #: man-pages/man3/bindresvport.3:85 msgid "All privileged ports are in use." msgstr "" #. type: TP #: man-pages/man3/bindresvport.3:85 #, no-wrap msgid "B (B in glibc 2.7 and earlier)" msgstr "" #. type: Plain text #: man-pages/man3/bindresvport.3:92 msgid "I is not NULL and Isin_family> is not B." msgstr "" #. type: SH #: man-pages/man3/bindresvport.3:92 #, no-wrap msgid "ATTRIBUTES" msgstr "" #. type: SS #: man-pages/man3/bindresvport.3:93 #, no-wrap msgid "Multithreading (see pthreads(7))" msgstr "" #. type: Plain text #: man-pages/man3/bindresvport.3:98 msgid "" "Before glibc 2.17, the B() function uses a static variable " "that is not protected, so it is not thread-safe." msgstr "" #. commit f6da27e53695ad1cc0e2a9490358decbbfdff5e5 #. type: Plain text #: man-pages/man3/bindresvport.3:104 msgid "" "Since glibc 2.17, the B() function uses a lock to protect the " "static variable, so it is thread-safe." msgstr "" #. type: SH #: man-pages/man3/bindresvport.3:104 #, no-wrap msgid "CONFORMING TO" msgstr "" #. type: Plain text #: man-pages/man3/bindresvport.3:107 msgid "" "Not in POSIX.1-2001. Present on the BSDs, Solaris, and many other systems." msgstr "" #. type: SH #: man-pages/man3/bindresvport.3:107 #, no-wrap msgid "NOTES" msgstr "" #. type: Plain text #: man-pages/man3/bindresvport.3:113 msgid "" "Unlike some B() implementations, the glibc implementation " "ignores any value that the caller supplies in Isin_port>." msgstr "" #. type: SH #: man-pages/man3/bindresvport.3:113 #, no-wrap msgid "SEE ALSO" msgstr "" #. type: Plain text #: man-pages/man3/bindresvport.3:116 msgid "B(2), B(2)" msgstr "" #. type: SH #: man-pages/man3/bindresvport.3:116 #, no-wrap msgid "COLOPHON" msgstr "" #. type: Plain text #: man-pages/man3/bindresvport.3:124 msgid "" "This page is part of release 3.70 of the Linux I project. A " "description of the project, information about reporting bugs, and the latest " "version of this page, can be found at \\%http://www.kernel.org/doc/man-pages/" "." msgstr ""