Return a tuple (ruid, euid, suid) denoting the current process's
real, effective, and saved user ids.
- .. availability:: Unix, not WASI.
+ .. availability:: Unix, not WASI, not macOS, not iOS.
.. versionadded:: 3.2
Return a tuple (rgid, egid, sgid) denoting the current process's
real, effective, and saved group ids.
- .. availability:: Unix, not WASI.
+ .. availability:: Unix, not WASI, not macOS, not iOS.
.. versionadded:: 3.2
Set the current process's real, effective, and saved group ids.
- .. availability:: Unix, not WASI, not Android.
+ .. availability:: Unix, not WASI, not Android, not macOS, not iOS.
.. versionadded:: 3.2
Set the current process's real, effective, and saved user ids.
- .. availability:: Unix, not WASI, not Android.
+ .. availability:: Unix, not WASI, not Android, not macOS, not iOS.
.. versionadded:: 3.2
Force write of file with filedescriptor *fd* to disk. Does not force update of
metadata.
- .. availability:: Unix.
-
- .. note::
- This function is not available on MacOS.
+ .. availability:: Unix, not macOS, not iOS.
.. function:: fpathconf(fd, name, /)
Return a pair of file descriptors ``(r, w)`` usable for reading and writing,
respectively.
- .. availability:: Unix, not WASI.
+ .. availability:: Unix, not WASI, not macOS, not iOS.
.. versionadded:: 3.3
Ensures that enough disk space is allocated for the file specified by *fd*
starting from *offset* and continuing for *len* bytes.
- .. availability:: Unix.
+ .. availability:: Unix, not macOS, not iOS.
.. versionadded:: 3.3
:data:`POSIX_FADV_RANDOM`, :data:`POSIX_FADV_NOREUSE`,
:data:`POSIX_FADV_WILLNEED` or :data:`POSIX_FADV_DONTNEED`.
- .. availability:: Unix.
+ .. availability:: Unix, not macOS, not iOS.
.. versionadded:: 3.3
Lock program segments into memory. The value of *op* (defined in
``<sys/lock.h>``) determines which segments are locked.
- .. availability:: Unix, not WASI, not iOS.
+ .. availability:: Unix, not WASI, not macOS, not iOS.
.. function:: popen(cmd, mode='r', buffering=-1)