mirror of
https://github.com/apache/nuttx.git
synced 2026-06-04 06:42:32 +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
|
||||
* Returned if any of the unsupported mmap() features are attempted
|
||||
* EBADF
|
||||
* 'fd' is not a valid file descriptor.
|
||||
* 'fd' is not a valid file descriptor.
|
||||
* EINVAL
|
||||
* Length is 0. flags contained neither MAP_PRIVATE or MAP_SHARED, or
|
||||
* contained both of these values.
|
||||
* Length is 0. flags contained neither MAP_PRIVATE or MAP_SHARED, or
|
||||
* contained both of these values.
|
||||
* ENODEV
|
||||
* The underlying filesystem of the specified file does not support
|
||||
* memory mapping.
|
||||
* The underlying filesystem of the specified file does not support
|
||||
* memory mapping.
|
||||
* ENOMEM
|
||||
* Insufficient memory is available to map the file.
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
|
||||
Reference in New Issue
Block a user