mirror of
https://github.com/apache/nuttx.git
synced 2026-06-04 23:03:27 +08:00
fs/mmap: Update mmap documentation of possible return values
This commit is contained in:
committed by
Xiang Xiao
parent
00d9f81919
commit
ecb9e03a7f
+7
-5
@@ -98,13 +98,15 @@
|
|||||||
* ENOSYS
|
* ENOSYS
|
||||||
* Returned if any of the unsupported mmap() features are attempted
|
* Returned if any of the unsupported mmap() features are attempted
|
||||||
* EBADF
|
* EBADF
|
||||||
* 'fd' is not a valid file descriptor.
|
* 'fd' is not a valid file descriptor.
|
||||||
* EINVAL
|
* EINVAL
|
||||||
* Length is 0. flags contained neither MAP_PRIVATE or MAP_SHARED, or
|
* Length is 0. flags contained neither MAP_PRIVATE or MAP_SHARED, or
|
||||||
* contained both of these values.
|
* contained both of these values.
|
||||||
* ENODEV
|
* ENODEV
|
||||||
* The underlying filesystem of the specified file does not support
|
* The underlying filesystem of the specified file does not support
|
||||||
* memory mapping.
|
* memory mapping.
|
||||||
|
* ENOMEM
|
||||||
|
* Insufficient memory is available to map the file.
|
||||||
*
|
*
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user