[PATCH] posix-users/input_and_output.rst: Document errors for mount() and unmount()
Joel Sherrill
joel at rtems.org
Wed Nov 21 19:59:38 UTC 2018
---
posix-users/input_and_output.rst | 19 +++++++++++++++----
1 file changed, 15 insertions(+), 4 deletions(-)
diff --git a/posix-users/input_and_output.rst b/posix-users/input_and_output.rst
index b6f2a57..92ffbc1 100644
--- a/posix-users/input_and_output.rst
+++ b/posix-users/input_and_output.rst
@@ -663,7 +663,14 @@ mount - Mount a file system
**STATUS CODES:**
-*EXXX*
+ * - ``ENOMEM``
+ - Unable to allocate memory needed.
+
+ * - ``EINVAL``
+ - The filesystem does not support being mounted.
+
+ * - ``EINVAL``
+ - Attempt to mount a read-only filesystem as writeable.
**DESCRIPTION:**
@@ -678,7 +685,7 @@ returned in ``mt_entry``.
**NOTES:**
-NONE
+This method is not defined in the POSIX standard.
.. _unmount:
@@ -698,7 +705,11 @@ unmount - Unmount file systems
**STATUS CODES:**
-*EXXX*
+ * - ``EBUSY``
+ - Filesystem is in use or the root filesystem.
+
+ * - ``EACCESS``
+ - Unable to allocate memory needed.
**DESCRIPTION:**
@@ -707,7 +718,7 @@ The ``unmount`` routine removes the attachment of the filesystem specified by
**NOTES:**
-NONE
+This method is not defined in the POSIX standard.
.. _readv:
--
1.8.3.1
More information about the devel
mailing list