Add support so that fdopen() may be used on socket descriptors

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3659 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
patacongo
2011-06-02 15:05:48 +00:00
parent 3867f05f0f
commit 45acebc2f9
8 changed files with 246 additions and 46 deletions
+1 -1
View File
@@ -415,7 +415,7 @@ ssize_t send(int sockfd, const void *buf, size_t len, int flags)
goto errout;
}
/* If this is a connected socket, then return ENOTCONN */
/* If this is an un-connected socket, then return ENOTCONN */
if (psock->s_type != SOCK_STREAM || !_SS_ISCONNECTED(psock->s_flags))
{