mirror of
https://github.com/apache/nuttx.git
synced 2026-06-07 01:05:54 +08:00
committed by
Alin Jerpelea
parent
0536953ded
commit
0dc6990166
+2
-2
@@ -103,8 +103,8 @@ void rammap_initialize(void)
|
||||
* offset The offset into the file to map
|
||||
*
|
||||
* Returned Value:
|
||||
* On success, rammmap() returns a pointer to the mapped area. On error, the
|
||||
* value MAP_FAILED is returned, and errno is set appropriately.
|
||||
* On success, rammmap() returns a pointer to the mapped area. On error,
|
||||
* the value MAP_FAILED is returned, and errno is set appropriately.
|
||||
*
|
||||
* EBADF
|
||||
* 'fd' is not a valid file descriptor.
|
||||
|
||||
+3
-1
@@ -168,7 +168,9 @@ int select(int nfds, FAR fd_set *readfds, FAR fd_set *writefds,
|
||||
incr = 1;
|
||||
}
|
||||
|
||||
/* The exceptfds set holds the set of FDs that are watched for exceptions */
|
||||
/* The exceptfds set holds the set of FDs that are watched for
|
||||
* exceptions
|
||||
*/
|
||||
|
||||
if (exceptfds && FD_ISSET(fd, exceptfds))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user