mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Portability fix for [f]statvfs() return tuple: no longer return the
f_fsid field, since it's not a scalar on all systems supporting this call (in particular, it's a tuple of two longs on AIX). Since it's not particularly useful, just nuke it. Adapted the doc strings too.
This commit is contained in:
parent
c256ece88c
commit
0c9608cf1b
2 changed files with 9 additions and 14 deletions
|
@ -527,7 +527,7 @@ from a \ctype{stat} structure.
|
|||
|
||||
\begin{funcdesc}{statvfs}{path}
|
||||
Perform a \cfunction{statvfs()} system call on the given path. The
|
||||
return value is a tuple of 11 integers giving the most common
|
||||
return value is a tuple of 10 integers giving the most common
|
||||
members of the \ctype{statvfs} structure, in the order
|
||||
\code{f_bsize},
|
||||
\code{f_frsize},
|
||||
|
@ -537,7 +537,6 @@ members of the \ctype{statvfs} structure, in the order
|
|||
\code{f_files},
|
||||
\code{f_ffree},
|
||||
\code{f_favail},
|
||||
\code{f_fsid},
|
||||
\code{f_flag},
|
||||
\code{f_namemax}.
|
||||
Availability: \UNIX{}.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue