summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorPaul Sokolovsky <pfalcon@users.sourceforge.net>2017-04-05 11:44:10 +0300
committerPaul Sokolovsky <pfalcon@users.sourceforge.net>2017-04-05 11:44:10 +0300
commit906d58f6f29e9a293e2a7cd3485d9191614c66df (patch)
treea88b6226fa5158e5e0966095c3978313572fc7f6
parent0a861db91c9566e9cc6021dc3620c7ecd9af3edd (diff)
downloadmicropython-906d58f6f29e9a293e2a7cd3485d9191614c66df.tar.gz
micropython-906d58f6f29e9a293e2a7cd3485d9191614c66df.zip
docs/uos: De-conditionalize statvfs() description.
It's a standard function, and it's already described (in the library intro) that for any given port, any function may be missing.
-rw-r--r--docs/library/uos.rst42
1 files changed, 20 insertions, 22 deletions
diff --git a/docs/library/uos.rst b/docs/library/uos.rst
index cd0c5cae8c..bb3c200177 100644
--- a/docs/library/uos.rst
+++ b/docs/library/uos.rst
@@ -61,28 +61,26 @@ Functions
Get the status of a file or directory.
-.. only:: port_unix or port_pyboard or port_esp8266
-
- .. function:: statvfs(path)
-
- Get the status of a fileystem.
-
- Returns a tuple with the filesystem information in the following order:
-
- * ``f_bsize`` -- file system block size
- * ``f_frsize`` -- fragment size
- * ``f_blocks`` -- size of fs in f_frsize units
- * ``f_bfree`` -- number of free blocks
- * ``f_bavail`` -- number of free blocks for unpriviliged users
- * ``f_files`` -- number of inodes
- * ``f_ffree`` -- number of free inodes
- * ``f_favail`` -- number of free inodes for unpriviliged users
- * ``f_flag`` -- mount flags
- * ``f_namemax`` -- maximum filename length
-
- Parameters related to inodes: ``f_files``, ``f_ffree``, ``f_avail``
- and the ``f_flags`` parameter may return ``0`` as they can be unavailable
- in a port-specific implementation.
+.. function:: statvfs(path)
+
+ Get the status of a fileystem.
+
+ Returns a tuple with the filesystem information in the following order:
+
+ * ``f_bsize`` -- file system block size
+ * ``f_frsize`` -- fragment size
+ * ``f_blocks`` -- size of fs in f_frsize units
+ * ``f_bfree`` -- number of free blocks
+ * ``f_bavail`` -- number of free blocks for unpriviliged users
+ * ``f_files`` -- number of inodes
+ * ``f_ffree`` -- number of free inodes
+ * ``f_favail`` -- number of free inodes for unpriviliged users
+ * ``f_flag`` -- mount flags
+ * ``f_namemax`` -- maximum filename length
+
+ Parameters related to inodes: ``f_files``, ``f_ffree``, ``f_avail``
+ and the ``f_flags`` parameter may return ``0`` as they can be unavailable
+ in a port-specific implementation.
.. function:: sync()