mirror of
https://github.com/apache/nuttx.git
synced 2026-06-07 01:05:54 +08:00
Documentation update
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@333 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
+4
-4
@@ -54,15 +54,15 @@
|
||||
* Function: bind
|
||||
*
|
||||
* Description:
|
||||
* bind() gives the socket sockfd the local address my_addr. my_addr is
|
||||
* addrlen bytes long. Traditionally, this is called “assigning a name to
|
||||
* a socket.” When a socket is created with socket(2), it exists in a name
|
||||
* bind() gives the socket 'sockfd' the local address 'addr'. 'addr' is
|
||||
* 'addrlen' bytes long. Traditionally, this is called “assigning a name to
|
||||
* a socket.” When a socket is created with socket, it exists in a name
|
||||
* space (address family) but has no name assigned.
|
||||
*
|
||||
* Parameters:
|
||||
* sockfd Socket descriptor from socket
|
||||
* addr Socket local address
|
||||
* addrlen Length of my_addr
|
||||
* addrlen Length of 'addr'
|
||||
*
|
||||
* Returned Value:
|
||||
* 0 on success; -1 on error with errno set appropriately
|
||||
|
||||
Reference in New Issue
Block a user