Add fcntl(F_DUPFD)

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1995 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
patacongo
2009-07-19 00:14:46 +00:00
parent e68c54fea0
commit 297cb5e256
14 changed files with 77 additions and 59 deletions
+1 -1
View File
@@ -126,7 +126,7 @@ int socket(int domain, int type, int protocol)
/* Everything looks good. Allocate a socket descriptor */
sockfd = sockfd_allocate();
sockfd = sockfd_allocate(0);
if (sockfd < 0)
{
err = ENFILE;