[rtems-docs commit] posix-users/input_and_output.rst: Document errors for mount() and unmount()
Joel Sherrill
joel at rtems.org
Tue Nov 27 15:31:23 UTC 2018
Module: rtems-docs
Branch: master
Commit: 5628d8b99a02ecde8d9b0ad6bc84c7845423b890
Changeset: http://git.rtems.org/rtems-docs/commit/?id=5628d8b99a02ecde8d9b0ad6bc84c7845423b890
Author: Joel Sherrill <joel at rtems.org>
Date: Wed Nov 21 13:59:15 2018 -0600
posix-users/input_and_output.rst: Document errors for mount() and unmount()
---
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:
More information about the vc
mailing list