# SOME DESCRIPTIVE TITLE.
# Copyright (C) 2001 Python Software Foundation
# This file is distributed under the same license as the Python package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
# Translators:
# python-doc bot, 2025
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: Python 3.15\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2026-11-24 01:19+0000\n"
"PO-Revision-Date: 2025-09-16 00:01+0000\n"
"Last-Translator: python-doc bot, 2025\n"
"Language-Team: Indonesian (https://app.transifex.com/python-doc/teams/5390/"
"id/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language: id\n"
"Plural-Forms: nplurals=1; plural=0;\n"

msgid ":mod:`!os` --- Miscellaneous operating system interfaces"
msgstr ""

msgid "**Source code:** :source:`Lib/os.py`"
msgstr "**Kode sumber:** :source:`Lib/os.py`"

msgid ""
"This module provides a portable way of using operating system dependent "
"functionality.  If you just want to read or write a file see :func:`open`, "
"if you want to manipulate paths, see the :mod:`os.path` module, and if you "
"want to read all the lines in all the files on the command line see "
"the :mod:`fileinput` module.  For creating temporary files and directories "
"see the :mod:`tempfile` module, and for high-level file and directory "
"handling see the :mod:`shutil` module."
msgstr ""
"Modul ini menyediakan cara portabel menggunakan fungsionalitas yang "
"bergantung pada sistem operasi. Jika Anda hanya ingin membaca atau menulis "
"file, lihat :func:`open`, jika Anda ingin memanipulasi path, lihat "
"modul :mod:`os.path`, dan jika Anda ingin membaca semua baris di semua file "
"pada baris perintah lihat modul :mod:`fileinput`. Untuk membuat file dan "
"direktori sementara lihat modul :mod:`tempfile`, dan untuk penanganan file "
"dan direktori tingkat tinggi lihat modul :mod:`shutil`."

msgid "Notes on the availability of these functions:"
msgstr "Catatan tentang ketersediaan fungsi-fungsi tersebut:"

msgid ""
"The design of all built-in operating system dependent modules of Python is "
"such that as long as the same functionality is available, it uses the same "
"interface; for example, the function ``os.stat(path)`` returns stat "
"information about *path* in the same format (which happens to have "
"originated with the POSIX interface)."
msgstr ""

msgid ""
"Extensions peculiar to a particular operating system are also available "
"through the :mod:`!os` module, but using them is of course a threat to "
"portability."
msgstr ""

msgid ""
"All functions accepting path or file names accept both bytes and string "
"objects, and result in an object of the same type, if a path or file name is "
"returned."
msgstr ""

msgid ""
"On VxWorks, os.popen, os.fork, os.execv and os.spawn*p* are not supported."
msgstr ""

msgid ""
"On WebAssembly platforms, Android and iOS, large parts of the :mod:`!os` "
"module are not available or behave differently. APIs related to processes "
"(e.g. :func:`~os.fork`, :func:`~os.execve`) and resources "
"(e.g. :func:`~os.nice`) are not available. Others like :func:`~os.getuid` "
"and :func:`~os.getpid` are emulated or stubs. WebAssembly platforms also "
"lack support for signals (e.g. :func:`~os.kill`, :func:`~os.wait`)."
msgstr ""

msgid ""
"All functions in this module raise :exc:`OSError` (or subclasses thereof) in "
"the case of invalid or inaccessible file names and paths, or other arguments "
"that have the correct type, but are not accepted by the operating system."
msgstr ""

msgid "An alias for the built-in :exc:`OSError` exception."
msgstr ""

msgid ""
"The name of the operating system dependent module imported.  The following "
"names have currently been registered: ``'posix'``, ``'nt'``, ``'java'``."
msgstr ""

msgid ""
":data:`sys.platform` has a finer granularity.  :func:`os.uname` gives system-"
"dependent version information."
msgstr ""

msgid ""
"The :mod:`platform` module provides detailed checks for the system's "
"identity."
msgstr ""

msgid "File Names, Command Line Arguments, and Environment Variables"
msgstr "Nama Berkas, Argumen Command Line, dan Variabel Lingkungan"

msgid ""
"In Python, file names, command line arguments, and environment variables are "
"represented using the string type. On some systems, decoding these strings "
"to and from bytes is necessary before passing them to the operating system. "
"Python uses the :term:`filesystem encoding and error handler` to perform "
"this conversion (see :func:`sys.getfilesystemencoding`)."
msgstr ""

msgid ""
"The :term:`filesystem encoding and error handler` are configured at Python "
"startup by the :c:func:`PyConfig_Read` function: "
"see :c:member:`~PyConfig.filesystem_encoding` "
"and :c:member:`~PyConfig.filesystem_errors` members of :c:type:`PyConfig`."
msgstr ""

msgid ""
"On some systems, conversion using the file system encoding may fail. In this "
"case, Python uses the :ref:`surrogateescape encoding error handler "
"<surrogateescape>`, which means that undecodable bytes are replaced by a "
"Unicode character U+DC\\ *xx* on decoding, and these are again translated to "
"the original byte on encoding."
msgstr ""

msgid ""
"The :term:`file system encoding <filesystem encoding and error handler>` "
"must guarantee to successfully decode all bytes below 128. If the file "
"system encoding fails to provide this guarantee, API functions can "
"raise :exc:`UnicodeError`."
msgstr ""

msgid "See also the :term:`locale encoding`."
msgstr ""

msgid "Python UTF-8 Mode"
msgstr ""

msgid "See :pep:`540` for more details."
msgstr "Lihat :pep:`540` untuk lebih detail."

msgid ""
"Python UTF-8 mode is now enabled by default (:pep:`686`). It may be disabled "
"by setting :envvar:`PYTHONUTF8=0 <PYTHONUTF8>` as an environment variable or "
"by using the :option:`-X utf8=0 <-X>` command line option."
msgstr ""

msgid ""
"The Python UTF-8 Mode ignores the :term:`locale encoding` and forces the "
"usage of the UTF-8 encoding:"
msgstr ""

msgid ""
"Use UTF-8 as the :term:`filesystem encoding <filesystem encoding and error "
"handler>`."
msgstr ""

msgid ":func:`sys.getfilesystemencoding` returns ``'utf-8'``."
msgstr ""

msgid ""
":func:`locale.getpreferredencoding` returns ``'utf-8'`` (the *do_setlocale* "
"argument has no effect)."
msgstr ""

msgid ""
":data:`sys.stdin`, :data:`sys.stdout`, and :data:`sys.stderr` all use UTF-8 "
"as their text encoding, with the ``surrogateescape`` :ref:`error handler "
"<error-handlers>` being enabled for :data:`sys.stdin` and :data:`sys.stdout` "
"(:data:`sys.stderr` continues to use ``backslashreplace`` as it does in the "
"default locale-aware mode)"
msgstr ""

msgid ""
"On Unix, :func:`os.device_encoding` returns ``'utf-8'`` rather than the "
"device encoding."
msgstr ""

msgid ""
"Note that the standard stream settings in UTF-8 mode can be overridden "
"by :envvar:`PYTHONIOENCODING` (just as they can be in the default locale-"
"aware mode)."
msgstr ""

msgid ""
"As a consequence of the changes in those lower level APIs, other higher "
"level APIs also exhibit different default behaviours:"
msgstr ""

msgid ""
"Command line arguments, environment variables and filenames are decoded to "
"text using the UTF-8 encoding."
msgstr ""

msgid ":func:`os.fsdecode` and :func:`os.fsencode` use the UTF-8 encoding."
msgstr ""

msgid ""
":func:`open`, :func:`io.open`, and :func:`codecs.open` use the UTF-8 "
"encoding by default. However, they still use the strict error handler by "
"default so that attempting to open a binary file in text mode is likely to "
"raise an exception rather than producing nonsense data."
msgstr ""

msgid ""
"The :ref:`Python UTF-8 Mode <utf8-mode>` is enabled by default. It can be "
"disabled using the :option:`-X utf8=0 <-X>` command line option or "
"the :envvar:`PYTHONUTF8=0 <PYTHONUTF8>` environment variable. The Python "
"UTF-8 Mode can only be disabled at Python startup. Its value can be read "
"from :data:`sys.flags.utf8_mode <sys.flags>`."
msgstr ""

msgid ""
"If the UTF-8 mode is disabled, the interpreter defaults to using the current "
"locale settings, *unless* the current locale is identified as a legacy ASCII-"
"based locale (as described for :envvar:`PYTHONCOERCECLOCALE`), and locale "
"coercion is either disabled or fails. In such legacy locales, the "
"interpreter will default to enabling UTF-8 mode unless explicitly instructed "
"not to do so."
msgstr ""

msgid ""
"See also the :ref:`UTF-8 mode on Windows <win-utf8-mode>` and "
"the :term:`filesystem encoding and error handler`."
msgstr ""

msgid "Process Parameters"
msgstr ""

msgid ""
"These functions and data items provide information and operate on the "
"current process and user."
msgstr ""

msgid ""
"Return the filename corresponding to the controlling terminal of the process."
msgstr ""

msgid "Availability"
msgstr ""

msgid ""
"A :term:`mapping` object where keys and values are strings that represent "
"the process environment.  For example, ``environ['HOME']`` is the pathname "
"of your home directory (on some platforms), and is equivalent to "
"``getenv(\"HOME\")`` in C."
msgstr ""

msgid ""
"This mapping is captured the first time the :mod:`!os` module is imported, "
"typically during Python startup as part of processing :file:`site.py`.  "
"Changes to the environment made after this time are not reflected "
"in :data:`os.environ`, except for changes made by "
"modifying :data:`os.environ` directly."
msgstr ""

msgid ""
"This mapping may be used to modify the environment as well as query the "
"environment.  :func:`putenv` will be called automatically when the mapping "
"is modified."
msgstr ""

msgid ""
"On Unix, keys and values use :func:`sys.getfilesystemencoding` and "
"``'surrogateescape'`` error handler. Use :data:`environb` if you would like "
"to use a different encoding."
msgstr ""

msgid ""
"On Windows, the keys are converted to uppercase. This also applies when "
"getting, setting, or deleting an item. For example, ``environ['monty'] = "
"'python'`` maps the key ``'MONTY'`` to the value ``'python'``."
msgstr ""

msgid ""
"Calling :func:`putenv` directly does not change :data:`os.environ`, so it's "
"better to modify :data:`os.environ`."
msgstr ""

msgid ""
"On some platforms, including FreeBSD and macOS, setting ``environ`` may "
"cause memory leaks.  Refer to the system documentation for :c:func:`!putenv`."
msgstr ""

msgid ""
"You can delete items in this mapping to unset environment "
"variables. :func:`unsetenv` will be called automatically when an item is "
"deleted from :data:`os.environ`, and when one of the :meth:`~dict.pop` "
"or :meth:`~dict.clear` methods is called."
msgstr ""

msgid ""
"If the :manpage:`clearenv(3)` function is available, the :meth:`~dict.clear` "
"method uses it and emits a single ``os._clearenv`` audit event. Otherwise, "
"it emits an ``os.unsetenv`` event on each deleted variable."
msgstr ""

msgid ""
"Raises an :ref:`auditing event <auditing>` ``os.unsetenv`` with argument "
"``key``."
msgstr ""

msgid ""
"Raises an :ref:`auditing event <auditing>` ``os._clearenv`` with no "
"arguments."
msgstr ""

msgid "The :func:`os.reload_environ` function."
msgstr ""

msgid ""
"Updated to support :pep:`584`'s merge (``|``) and update (``|=``) operators."
msgstr ""

msgid ""
"The :meth:`~dict.clear` method can now emit an ``os._clearenv`` audit event."
msgstr ""

msgid ""
"Bytes version of :data:`environ`: a :term:`mapping` object where both keys "
"and values are :class:`bytes` objects representing the process "
"environment. :data:`environ` and :data:`environb` are synchronized "
"(modifying :data:`environb` updates :data:`environ`, and vice versa)."
msgstr ""

msgid ""
":data:`environb` is only available if :const:`supports_bytes_environ` is "
"``True``."
msgstr ""

msgid ""
"The :data:`os.environ` and :data:`os.environb` mappings are a cache of "
"environment variables at the time that Python started. As such, changes to "
"the current process environment are not reflected if made outside Python, or "
"by :func:`os.putenv` or :func:`os.unsetenv`. Use :func:`!os.reload_environ` "
"to update :data:`os.environ` and :data:`os.environb` with any such changes "
"to the current process environment."
msgstr ""

msgid ""
"This function is not thread-safe. Calling it while the environment is being "
"modified in another thread is an undefined behavior. Reading "
"from :data:`os.environ` or :data:`os.environb`, or calling :func:`os.getenv` "
"while reloading, may return an empty result."
msgstr ""

msgid "These functions are described in :ref:`os-file-dir`."
msgstr "Fungsi ini dideskripsikan di :ref:`os-file-dir`."

msgid ""
"Encode :term:`path-like <path-like object>` *filename* to "
"the :term:`filesystem encoding and error handler`; return :class:`bytes` "
"unchanged."
msgstr ""

msgid ":func:`fsdecode` is the reverse function."
msgstr ""

msgid ""
"Support added to accept objects implementing the :class:`os.PathLike` "
"interface."
msgstr ""

msgid ""
"Decode the :term:`path-like <path-like object>` *filename* from "
"the :term:`filesystem encoding and error handler`; return :class:`str` "
"unchanged."
msgstr ""

msgid ":func:`fsencode` is the reverse function."
msgstr ""

msgid "Return the file system representation of the path."
msgstr ""

msgid ""
"If :class:`str` or :class:`bytes` is passed in, it is returned unchanged. "
"Otherwise :meth:`~os.PathLike.__fspath__` is called and its value is "
"returned as long as it is a :class:`str` or :class:`bytes` object. In all "
"other cases, :exc:`TypeError` is raised."
msgstr ""

msgid ""
"An :term:`abstract base class` for objects representing a file system path, "
"e.g. :class:`pathlib.PurePath`."
msgstr ""

msgid "Return the file system path representation of the object."
msgstr ""

msgid ""
"The method should only return a :class:`str` or :class:`bytes` object, with "
"the preference being for :class:`str`."
msgstr ""

msgid ""
"Return the value of the environment variable *key* as a string if it exists, "
"or *default* if it doesn't. *key* is a string. Note that "
"since :func:`getenv` uses :data:`os.environ`, the mapping of :func:`getenv` "
"is similarly also captured on import, and the function may not reflect "
"future environment changes."
msgstr ""

msgid ""
"On Unix, keys and values are decoded with :func:`sys.getfilesystemencoding` "
"and ``'surrogateescape'`` error handler. Use :func:`os.getenvb` if you would "
"like to use a different encoding."
msgstr ""

msgid ""
"Return the value of the environment variable *key* as bytes if it exists, or "
"*default* if it doesn't. *key* must be bytes. Note that "
"since :func:`getenvb` uses :data:`os.environb`, the mapping "
"of :func:`getenvb` is similarly also captured on import, and the function "
"may not reflect future environment changes."
msgstr ""

msgid ""
":func:`getenvb` is only available if :const:`supports_bytes_environ` is "
"``True``."
msgstr ""

msgid ""
"Returns the list of directories that will be searched for a named "
"executable, similar to a shell, when launching a process. *env*, when "
"specified, should be an environment variable dictionary to lookup the PATH "
"in. By default, when *env* is ``None``, :data:`environ` is used."
msgstr ""

msgid ""
"Return the effective group id of the current process.  This corresponds to "
"the \"set id\" bit on the file being executed in the current process."
msgstr ""

msgid "Return the current process's effective user id."
msgstr ""

msgid "Return the real group id of the current process."
msgstr ""

msgid ""
"The function is a stub on WASI, see :ref:`wasm-availability` for more "
"information."
msgstr ""

msgid ""
"Return list of group ids that *user* belongs to. If *group* is not in the "
"list, it is included; typically, *group* is specified as the group ID field "
"from the password record for *user*, because that group ID will otherwise be "
"potentially omitted."
msgstr ""

msgid ""
"Return list of supplemental group ids associated with the current process."
msgstr ""

msgid ""
"On macOS, :func:`getgroups` behavior differs somewhat from other Unix "
"platforms. If the Python interpreter was built with a deployment target of "
"``10.5`` or earlier, :func:`getgroups` returns the list of effective group "
"ids associated with the current user process; this list is limited to a "
"system-defined number of entries, typically 16, and may be modified by calls "
"to :func:`setgroups` if suitably privileged. If built with a deployment "
"target greater than ``10.5``, :func:`getgroups` returns the current group "
"access list for the user associated with the effective user id of the "
"process; the group access list may change over the lifetime of the process, "
"it is not affected by calls to :func:`setgroups`, and its length is not "
"limited to 16.  The deployment target value can be obtained "
"with :func:`sysconfig.get_config_var('MACOSX_DEPLOYMENT_TARGET') "
"<sysconfig.get_config_var>`."
msgstr ""

msgid ""
"Return the name of the user logged in on the controlling terminal of the "
"process.  For most purposes, it is more useful to "
"use :func:`getpass.getuser` since the latter checks the environment "
"variables :envvar:`LOGNAME` or :envvar:`USERNAME` to find out who the user "
"is, and falls back to ``pwd.getpwuid(os.getuid())[0]`` to get the login name "
"of the current real user id."
msgstr ""

msgid ""
"Return the process group id of the process with process id *pid*. If *pid* "
"is 0, the process group id of the current process is returned."
msgstr ""

msgid "Return the id of the current process group."
msgstr ""

msgid "Return the current process id."
msgstr ""

msgid ""
"Return the parent's process id.  When the parent process has exited, on Unix "
"the id returned is the one of the init process (1), on Windows it is still "
"the same id, which may be already reused by another process."
msgstr ""

msgid "Added support for Windows."
msgstr ""

msgid ""
"Get program scheduling priority.  The value *which* is one "
"of :const:`PRIO_PROCESS`, :const:`PRIO_PGRP`, or :const:`PRIO_USER`, and "
"*who* is interpreted relative to *which* (a process identifier "
"for :const:`PRIO_PROCESS`, process group identifier for :const:`PRIO_PGRP`, "
"and a user ID for :const:`PRIO_USER`).  A zero value for *who* denotes "
"(respectively) the calling process, the process group of the calling "
"process, or the real user ID of the calling process."
msgstr ""

msgid ""
"Parameters for the :func:`getpriority` and :func:`setpriority` functions."
msgstr "Parameter untuk fungsi :func:`getpriority` dan :func:`setpriority`."

msgid ""
"Return a tuple (ruid, euid, suid) denoting the current process's real, "
"effective, and saved user ids."
msgstr ""

msgid ""
"Return a tuple (rgid, egid, sgid) denoting the current process's real, "
"effective, and saved group ids."
msgstr ""

msgid "Return the current process's real user id."
msgstr ""

msgid ""
"Call the system ``initgroups()`` to initialize the group access list with "
"all of the groups of which the specified username is a member, plus the "
"specified group id."
msgstr ""

msgid ""
"Set the environment variable named *key* to the string *value*.  Such "
"changes to the environment affect subprocesses started "
"with :func:`os.system`, :func:`popen` or :func:`fork` and :func:`execv`."
msgstr ""

msgid ""
"Assignments to items in :data:`os.environ` are automatically translated into "
"corresponding calls to :func:`putenv`; however, calls to :func:`putenv` "
"don't update :data:`os.environ`, so it is actually preferable to assign to "
"items of :data:`os.environ`. This also applies to :func:`getenv` "
"and :func:`getenvb`, which respectively use :data:`os.environ` "
"and :data:`os.environb` in their implementations."
msgstr ""

msgid "See also the :func:`os.reload_environ` function."
msgstr ""

msgid ""
"On some platforms, including FreeBSD and macOS, setting ``environ`` may "
"cause memory leaks. Refer to the system documentation for :c:func:`!putenv`."
msgstr ""

msgid ""
"Raises an :ref:`auditing event <auditing>` ``os.putenv`` with arguments "
"``key``, ``value``."
msgstr ""

msgid "The function is now always available."
msgstr ""

msgid "Set the current process's effective group id."
msgstr "Tetapkan id grup proses efektif saat ini."

msgid "Set the current process's effective user id."
msgstr "Tetapkan id pengguna efektif proses saat ini."

msgid "Set the current process' group id."
msgstr "Tetapkan id grup proses saat ini."

msgid ""
"Set the list of supplemental group ids associated with the current process "
"to *groups*. *groups* must be a sequence, and each element must be an "
"integer identifying a group. This operation is typically available only to "
"the superuser."
msgstr ""

msgid ""
"On macOS, the length of *groups* may not exceed the system-defined maximum "
"number of effective group ids, typically 16. See the documentation "
"for :func:`getgroups` for cases where it may not return the same group list "
"set by calling setgroups()."
msgstr ""

msgid ""
"Reassociate the current thread with a Linux namespace. See "
"the :manpage:`setns(2)` and :manpage:`namespaces(7)` man pages for more "
"details."
msgstr ""

msgid ""
"If *fd* refers to a :file:`/proc/{pid}/ns/` link, ``setns()`` reassociates "
"the calling thread with the namespace associated with that link, and "
"*nstype* may be set to one of the :ref:`CLONE_NEW* constants <os-unshare-"
"clone-flags>` to impose constraints on the operation (``0`` means no "
"constraints)."
msgstr ""

msgid ""
"Since Linux 5.8, *fd* may refer to a PID file descriptor obtained "
"from :func:`~os.pidfd_open`. In this case, ``setns()`` reassociates the "
"calling thread into one or more of the same namespaces as the thread "
"referred to by *fd*. This is subject to any constraints imposed by *nstype*, "
"which is a bit mask combining one or more of the :ref:`CLONE_NEW* constants "
"<os-unshare-clone-flags>`, e.g. ``setns(fd, os.CLONE_NEWUTS | "
"os.CLONE_NEWPID)``. The caller's memberships in unspecified namespaces are "
"left unchanged."
msgstr ""

msgid ""
"*fd* can be any object with a :meth:`~io.IOBase.fileno` method, or a raw "
"file descriptor."
msgstr ""

msgid ""
"This example reassociates the thread with the ``init`` process's network "
"namespace::"
msgstr ""

msgid ""
"fd = os.open(\"/proc/1/ns/net\", os.O_RDONLY)\n"
"os.setns(fd, os.CLONE_NEWNET)\n"
"os.close(fd)"
msgstr ""

msgid "The :func:`~os.unshare` function."
msgstr ""

msgid ""
"Call the system call :c:func:`!setpgrp` or ``setpgrp(0, 0)`` depending on "
"which version is implemented (if any).  See the Unix manual for the "
"semantics."
msgstr ""

msgid ""
"Call the system call :c:func:`!setpgid` to set the process group id of the "
"process with id *pid* to the process group with id *pgrp*.  See the Unix "
"manual for the semantics."
msgstr ""

msgid ""
"Set program scheduling priority. The value *which* is one "
"of :const:`PRIO_PROCESS`, :const:`PRIO_PGRP`, or :const:`PRIO_USER`, and "
"*who* is interpreted relative to *which* (a process identifier "
"for :const:`PRIO_PROCESS`, process group identifier for :const:`PRIO_PGRP`, "
"and a user ID for :const:`PRIO_USER`). A zero value for *who* denotes "
"(respectively) the calling process, the process group of the calling "
"process, or the real user ID of the calling process. *priority* is a value "
"in the range -20 to 19. The default priority is 0; lower priorities cause "
"more favorable scheduling."
msgstr ""

msgid "Set the current process's real and effective group ids."
msgstr ""

msgid "Set the current process's real, effective, and saved group ids."
msgstr ""

msgid "Set the current process's real, effective, and saved user ids."
msgstr ""

msgid "Set the current process's real and effective user ids."
msgstr ""

msgid ""
"Call the system call :c:func:`!getsid`.  See the Unix manual for the "
"semantics."
msgstr ""

msgid ""
"Call the system call :c:func:`!setsid`.  See the Unix manual for the "
"semantics."
msgstr ""

msgid "Set the current process's user id."
msgstr "Tetapkan id pengguna proses saat ini."

msgid ""
"Return the error message corresponding to the error code in *code*. On "
"platforms where :c:func:`!strerror` returns ``NULL`` when given an unknown "
"error number, :exc:`ValueError` is raised."
msgstr ""

msgid ""
"``True`` if the native OS type of the environment is bytes (eg. ``False`` on "
"Windows)."
msgstr ""

msgid "Set the current numeric umask and return the previous umask."
msgstr ""

msgid ""
"Returns information identifying the current operating system. The return "
"value is a :class:`uname_result`."
msgstr ""

msgid ""
"On macOS, iOS and Android, this returns the *kernel* name and release (i.e., "
"``'Darwin'`` on macOS and iOS; ``'Linux'`` on "
"Android). :func:`platform.uname` can be used to get the user-facing "
"operating system name and release on iOS and Android."
msgstr ""

msgid ":data:`sys.platform` which has finer granularity."
msgstr ""

msgid ""
"Return type changed from a tuple to a tuple-like object with named "
"attributes."
msgstr ""

msgid ""
"Name and information about the system returned by :func:`os.uname`. These "
"attributes correspond to the members described in :manpage:`uname(2)`."
msgstr ""

msgid ""
"For backwards compatibility, this object is also iterable, behaving like a "
"five-tuple "
"containing :attr:`~uname_result.sysname`, :attr:`~uname_result.nodename`, :attr:`~uname_result.release`, :attr:`~uname_result.version`, "
"and :attr:`~uname_result.machine` in that order."
msgstr ""

msgid "Operating system name."
msgstr ""

msgid ""
"Name of machine on network. Some systems "
"truncate :attr:`~uname_result.nodename` to 8 characters or to the leading "
"component; a better way to get the hostname is :func:`socket.gethostname` or "
"even ``socket.gethostbyaddr(socket.gethostname())``."
msgstr ""

msgid "Operating system release."
msgstr ""

msgid "Operating system version."
msgstr ""

msgid "Hardware identifier."
msgstr ""

msgid ""
"Unset (delete) the environment variable named *key*. Such changes to the "
"environment affect subprocesses started "
"with :func:`os.system`, :func:`popen` or :func:`fork` and :func:`execv`."
msgstr ""

msgid ""
"Deletion of items in :data:`os.environ` is automatically translated into a "
"corresponding call to :func:`unsetenv`; however, calls to :func:`unsetenv` "
"don't update :data:`os.environ`, so it is actually preferable to delete "
"items of :data:`os.environ`."
msgstr ""

msgid "The function is now always available and is also available on Windows."
msgstr ""

msgid ""
"Disassociate parts of the process execution context, and move them into a "
"newly created namespace. See the :manpage:`unshare(2)` man page for more "
"details. The *flags* argument is a bit mask, combining zero or more of "
"the :ref:`CLONE_* constants <os-unshare-clone-flags>`, that specifies which "
"parts of the execution context should be unshared from their existing "
"associations and moved to a new namespace. If the *flags* argument is ``0``, "
"no changes are made to the calling process's execution context."
msgstr ""

msgid "The :func:`~os.setns` function."
msgstr ""

msgid ""
"Flags to the :func:`unshare` function, if the implementation supports them. "
"See :manpage:`unshare(2)` in the Linux manual for their exact effect and "
"availability."
msgstr ""

msgid "File Object Creation"
msgstr "Pembuatan Objek Berkas"

msgid ""
"These functions create new :term:`file objects <file object>`.  (See "
"also :func:`~os.open` for opening file descriptors.)"
msgstr ""

msgid ""
"Return an open file object connected to the file descriptor *fd*.  This is "
"an alias of the :func:`open` built-in function and accepts the same "
"arguments. The only difference is that the first argument of :func:`fdopen` "
"must always be an integer."
msgstr ""

msgid "File Descriptor Operations"
msgstr ""

msgid ""
"These functions operate on I/O streams referenced using file descriptors."
msgstr ""

msgid ""
"File descriptors are small integers corresponding to a file that has been "
"opened by the current process.  For example, standard input is usually file "
"descriptor 0, standard output is 1, and standard error is 2.  Further files "
"opened by a process will then be assigned 3, 4, 5, and so forth.  The name "
"\"file descriptor\" is slightly deceptive; on Unix platforms, sockets and "
"pipes are also referenced by file descriptors."
msgstr ""

msgid ""
"The :meth:`~io.IOBase.fileno` method can be used to obtain the file "
"descriptor associated with a :term:`file object` when required.  Note that "
"using the file descriptor directly will bypass the file object methods, "
"ignoring aspects such as internal buffering of data."
msgstr ""

msgid "Close file descriptor *fd*."
msgstr ""

msgid ""
"This function is intended for low-level I/O and must be applied to a file "
"descriptor as returned by :func:`os.open` or :func:`pipe`.  To close a "
"\"file object\" returned by the built-in function :func:`open` or "
"by :func:`popen` or :func:`fdopen`, use its :meth:`~io.IOBase.close` method."
msgstr ""

msgid ""
"Close all file descriptors from *fd_low* (inclusive) to *fd_high* "
"(exclusive), ignoring errors. Equivalent to (but much faster than)::"
msgstr ""

msgid ""
"for fd in range(fd_low, fd_high):\n"
"    try:\n"
"        os.close(fd)\n"
"    except OSError:\n"
"        pass"
msgstr ""

msgid ""
"Copy *count* bytes from file descriptor *src*, starting from offset "
"*offset_src*, to file descriptor *dst*, starting from offset *offset_dst*. "
"If *offset_src* is ``None``, then *src* is read from the current position; "
"respectively for *offset_dst*."
msgstr ""

msgid ""
"In Linux kernel older than 5.3, the files pointed to by *src* and *dst* must "
"reside in the same filesystem, otherwise an :exc:`OSError` is raised "
"with :attr:`~OSError.errno` set to :const:`errno.EXDEV`."
msgstr ""

msgid ""
"This copy is done without the additional cost of transferring data from the "
"kernel to user space and then back into the kernel. Additionally, some "
"filesystems could implement extra optimizations, such as the use of reflinks "
"(i.e., two or more inodes that share pointers to the same copy-on-write disk "
"blocks; supported file systems include btrfs and XFS) and server-side copy "
"(in the case of NFS)."
msgstr ""

msgid ""
"The function copies bytes between two file descriptors. Text options, like "
"the encoding and the line ending, are ignored."
msgstr ""

msgid ""
"The return value is the amount of bytes copied. This could be less than the "
"amount requested."
msgstr ""

msgid ""
"On Linux, :func:`os.copy_file_range` should not be used for copying a range "
"of a pseudo file from a special filesystem like procfs and sysfs. It will "
"always copy no bytes and return 0 as if the file was empty because of a "
"known Linux kernel issue."
msgstr ""

msgid ""
"Return a string describing the encoding of the device associated with *fd* "
"if it is connected to a terminal; else return :const:`None`."
msgstr ""

msgid ""
"On Unix, if the :ref:`Python UTF-8 Mode <utf8-mode>` is enabled, return "
"``'UTF-8'`` rather than the device encoding."
msgstr ""

msgid "On Unix, the function now implements the Python UTF-8 Mode."
msgstr ""

msgid ""
"Return a duplicate of file descriptor *fd*. The new file descriptor "
"is :ref:`non-inheritable <fd_inheritance>`."
msgstr ""

msgid ""
"On Windows, when duplicating a standard stream (0: stdin, 1: stdout, 2: "
"stderr), the new file descriptor is :ref:`inheritable <fd_inheritance>`."
msgstr ""

msgid "The new file descriptor is now non-inheritable."
msgstr ""

msgid ""
"Duplicate file descriptor *fd* to *fd2*, closing the latter first if "
"necessary. Return *fd2*. The new file descriptor is :ref:`inheritable "
"<fd_inheritance>` by default or non-inheritable if *inheritable* is "
"``False``."
msgstr ""

msgid "Add the optional *inheritable* parameter."
msgstr ""

msgid "Return *fd2* on success. Previously, ``None`` was always returned."
msgstr ""

msgid ""
"Change the mode of the file given by *fd* to the numeric *mode*.  See the "
"docs for :func:`chmod` for possible values of *mode*.  As of Python 3.3, "
"this is equivalent to ``os.chmod(fd, mode)``."
msgstr ""

msgid ""
"Raises an :ref:`auditing event <auditing>` ``os.chmod`` with arguments "
"``path``, ``mode``, ``dir_fd``."
msgstr ""

msgid ""
"The function is limited on WASI, see :ref:`wasm-availability` for more "
"information."
msgstr ""

msgid "Added support on Windows."
msgstr ""

msgid ""
"Change the owner and group id of the file given by *fd* to the numeric *uid* "
"and *gid*.  To leave one of the ids unchanged, set it to -1.  "
"See :func:`chown`.  As of Python 3.3, this is equivalent to ``os.chown(fd, "
"uid, gid)``."
msgstr ""

msgid ""
"Raises an :ref:`auditing event <auditing>` ``os.chown`` with arguments "
"``path``, ``uid``, ``gid``, ``dir_fd``."
msgstr ""

msgid ""
"Force write of file with filedescriptor *fd* to disk. Does not force update "
"of metadata."
msgstr ""

msgid ""
"Return system configuration information relevant to an open file. *name* "
"specifies the configuration value to retrieve; it may be a string which is "
"the name of a defined system value; these names are specified in a number of "
"standards (POSIX.1, Unix 95, Unix 98, and others).  Some platforms define "
"additional names as well.  The names known to the host operating system are "
"given in the ``pathconf_names`` dictionary.  For configuration variables not "
"included in that mapping, passing an integer for *name* is also accepted."
msgstr ""

msgid ""
"If *name* is a string and is not known, :exc:`ValueError` is raised.  If a "
"specific value for *name* is not supported by the host system, even if it is "
"included in ``pathconf_names``, an :exc:`OSError` is raised "
"with :const:`errno.EINVAL` for the error number."
msgstr ""

msgid "As of Python 3.3, this is equivalent to ``os.pathconf(fd, name)``."
msgstr ""

msgid ""
"Get the status of the file descriptor *fd*. Return a :class:`stat_result` "
"object."
msgstr ""

msgid "As of Python 3.3, this is equivalent to ``os.stat(fd)``."
msgstr ""

msgid "The :func:`.stat` function."
msgstr ""

msgid ""
"Return information about the filesystem containing the file associated with "
"file descriptor *fd* in a :class:`statvfs_result`, like :func:`statvfs`. As "
"of Python 3.3, this is equivalent to ``os.statvfs(fd)``."
msgstr ""

msgid ""
"Force write of file with filedescriptor *fd* to disk.  On Unix, this calls "
"the native :c:func:`!fsync` function; on Windows, the MS :c:func:`!_commit` "
"function."
msgstr ""

msgid ""
"If you're starting with a buffered Python :term:`file object` *f*, first do "
"``f.flush()``, and then do ``os.fsync(f.fileno())``, to ensure that all "
"internal buffers associated with *f* are written to disk."
msgstr ""

msgid ""
"Truncate the file corresponding to file descriptor *fd*, so that it is at "
"most *length* bytes in size.  As of Python 3.3, this is equivalent to "
"``os.truncate(fd, length)``."
msgstr ""

msgid ""
"Raises an :ref:`auditing event <auditing>` ``os.truncate`` with arguments "
"``fd``, ``length``."
msgstr ""

msgid "Added support for Windows"
msgstr ""

msgid ""
"Get the blocking mode of the file descriptor: ``False`` if "
"the :data:`O_NONBLOCK` flag is set, ``True`` if the flag is cleared."
msgstr ""

msgid "See also :func:`set_blocking` and :meth:`socket.socket.setblocking`."
msgstr ""

msgid "On Windows, this function is limited to pipes."
msgstr ""

msgid "Added support for pipes on Windows."
msgstr ""

msgid ""
"Grant access to the slave pseudo-terminal device associated with the master "
"pseudo-terminal device to which the file descriptor *fd* refers. The file "
"descriptor *fd* is not closed upon failure."
msgstr ""

msgid "Calls the C standard library function :c:func:`grantpt`."
msgstr ""

msgid ""
"Return ``True`` if the file descriptor *fd* is open and connected to a tty(-"
"like) device, else ``False``."
msgstr ""

msgid ""
"Apply, test or remove a POSIX lock on an open file descriptor. *fd* is an "
"open file descriptor. *cmd* specifies the command to use - one "
"of :data:`F_LOCK`, :data:`F_TLOCK`, :data:`F_ULOCK` or :data:`F_TEST`. *len* "
"specifies the section of the file to lock."
msgstr ""

msgid ""
"Raises an :ref:`auditing event <auditing>` ``os.lockf`` with arguments "
"``fd``, ``cmd``, ``len``."
msgstr ""

msgid "Flags that specify what action :func:`lockf` will take."
msgstr ""

msgid ""
"Prepare the tty of which fd is a file descriptor for a new login session. "
"Make the calling process a session leader; make the tty the controlling tty, "
"the stdin, the stdout, and the stderr of the calling process; close fd."
msgstr ""

msgid ""
"Set the current position of file descriptor *fd* to position *pos*, modified "
"by *whence*, and return the new position in bytes relative to the start of "
"the file. Valid values for *whence* are:"
msgstr ""

msgid ""
":const:`SEEK_SET` or ``0`` -- set *pos* relative to the beginning of the file"
msgstr ""

msgid ""
":const:`SEEK_CUR` or ``1`` -- set *pos* relative to the current file position"
msgstr ""

msgid ":const:`SEEK_END` or ``2`` -- set *pos* relative to the end of the file"
msgstr ""

msgid ""
":const:`SEEK_DATA` -- set *pos* to the next data location, relative to *pos*"
msgstr ""

msgid ""
":const:`SEEK_HOLE` -- set *pos* to the next data hole, relative to *pos*"
msgstr ""

msgid "Add support for :const:`!SEEK_HOLE` and :const:`!SEEK_DATA`."
msgstr ""

msgid ""
"Parameters to the :func:`lseek` function and the :meth:`~io.IOBase.seek` "
"method on :term:`file-like objects <file object>`, for whence to adjust the "
"file position indicator."
msgstr ""

msgid ":const:`SEEK_SET`"
msgstr ""

msgid "Adjust the file position relative to the beginning of the file."
msgstr ""

msgid ":const:`SEEK_CUR`"
msgstr ""

msgid "Adjust the file position relative to the current file position."
msgstr ""

msgid ":const:`SEEK_END`"
msgstr ""

msgid "Adjust the file position relative to the end of the file."
msgstr ""

msgid "Their values are 0, 1, and 2, respectively."
msgstr ""

msgid ""
"Parameters to the :func:`lseek` function and the :meth:`~io.IOBase.seek` "
"method on :term:`file-like objects <file object>`, for seeking file data and "
"holes on sparsely allocated files."
msgstr ""

msgid ":data:`!SEEK_DATA`"
msgstr ""

msgid ""
"Adjust the file offset to the next location containing data, relative to the "
"seek position."
msgstr ""

msgid ":data:`!SEEK_HOLE`"
msgstr ""

msgid ""
"Adjust the file offset to the next location containing a hole, relative to "
"the seek position. A hole is defined as a sequence of zeros."
msgstr ""

msgid "These operations only make sense for filesystems that support them."
msgstr ""

msgid ""
"Open the file *path* and set various flags according to *flags* and possibly "
"its mode according to *mode*.  When computing *mode*, the current umask "
"value is first masked out.  Return the file descriptor for the newly opened "
"file. The new file descriptor is :ref:`non-inheritable <fd_inheritance>`."
msgstr ""

msgid ""
"For a description of the flag and mode values, see the C run-time "
"documentation; flag constants (like :const:`O_RDONLY` and :const:`O_WRONLY`) "
"are defined in the :mod:`!os` module.  In particular, on Windows "
"adding :const:`O_BINARY` is needed to open files in binary mode."
msgstr ""

msgid ""
"This function can support :ref:`paths relative to directory descriptors "
"<dir_fd>` with the *dir_fd* parameter."
msgstr ""

msgid ""
"Raises an :ref:`auditing event <auditing>` ``open`` with arguments ``path``, "
"``mode``, ``flags``."
msgstr ""

msgid ""
"This function is intended for low-level I/O.  For normal usage, use the "
"built-in function :func:`open`, which returns a :term:`file object` "
"with :meth:`~io.BufferedIOBase.read` and :meth:`~io.BufferedIOBase.write` "
"methods. To wrap a file descriptor in a file object, use :func:`fdopen`."
msgstr ""

msgid "Added the *dir_fd* parameter."
msgstr ""

msgid ""
"If the system call is interrupted and the signal handler does not raise an "
"exception, the function now retries the system call instead of raising "
"an :exc:`InterruptedError` exception (see :pep:`475` for the rationale)."
msgstr ""
"Jika panggilan sistem terganggu dan penangan sinyal tidak menimbulkan "
"pengecualian, fungsi sekarang mencoba ulang panggilan sistem alih-alih "
"menimbulkan pengecualian :exc:`InterruptedError` (lihat :pep:`475` untuk "
"penjelasannya)."

msgid "Accepts a :term:`path-like object`."
msgstr "Menerima sebuah :term:`path-like object`."

msgid ""
"The following constants are options for the *flags* parameter to "
"the :func:`~os.open` function.  They can be combined using the bitwise OR "
"operator ``|``.  Some of them are not available on all platforms.  For "
"descriptions of their availability and use, consult the :manpage:`open(2)` "
"manual page on Unix or `the MSDN <https://msdn.microsoft.com/en-us/library/"
"z0kc8e3z.aspx>`_ on Windows."
msgstr ""

msgid "The above constants are available on Unix and Windows."
msgstr ""

msgid "The above constants are only available on Unix."
msgstr ""

msgid "Add :data:`O_CLOEXEC` constant."
msgstr ""

msgid "The above constants are only available on Windows."
msgstr ""

msgid "The above constants are only available on macOS."
msgstr ""

msgid ""
"Add :data:`O_EVTONLY`, :data:`O_FSYNC`, :data:`O_SYMLINK` "
"and :data:`O_NOFOLLOW_ANY` constants."
msgstr ""

msgid ""
"The above constants are extensions and not present if they are not defined "
"by the C library."
msgstr ""

msgid ""
"Add :data:`O_PATH` on systems that support it. Add :data:`O_TMPFILE`, only "
"available on Linux Kernel 3.11   or newer."
msgstr ""

msgid ""
"Open a new pseudo-terminal pair. Return a pair of file descriptors "
"``(master, slave)`` for the pty and the tty, respectively. The new file "
"descriptors are :ref:`non-inheritable <fd_inheritance>`. For a (slightly) "
"more portable approach, use the :mod:`pty` module."
msgstr ""

msgid "The new file descriptors are now non-inheritable."
msgstr ""

msgid ""
"Create a pipe.  Return a pair of file descriptors ``(r, w)`` usable for "
"reading and writing, respectively. The new file descriptor is :ref:`non-"
"inheritable <fd_inheritance>`."
msgstr ""

msgid ""
"Create a pipe with *flags* set atomically. *flags* can be constructed by "
"ORing together one or more of these "
"values: :data:`O_NONBLOCK`, :data:`O_CLOEXEC`. Return a pair of file "
"descriptors ``(r, w)`` usable for reading and writing, respectively."
msgstr ""

msgid ""
"Ensures that enough disk space is allocated for the file specified by *fd* "
"starting from *offset* and continuing for *len* bytes."
msgstr ""

msgid ""
"Announces an intention to access data in a specific pattern thus allowing "
"the kernel to make optimizations. The advice applies to the region of the "
"file specified by *fd* starting at *offset* and continuing for *len* bytes. "
"*advice* is one "
"of :data:`POSIX_FADV_NORMAL`, :data:`POSIX_FADV_SEQUENTIAL`, :data:`POSIX_FADV_RANDOM`, :data:`POSIX_FADV_NOREUSE`, :data:`POSIX_FADV_WILLNEED` "
"or :data:`POSIX_FADV_DONTNEED`."
msgstr ""

msgid ""
"Flags that can be used in *advice* in :func:`posix_fadvise` that specify the "
"access pattern that is likely to be used."
msgstr ""

msgid ""
"Read at most *n* bytes from file descriptor *fd* at a position of *offset*, "
"leaving the file offset unchanged."
msgstr ""

msgid ""
"Return a bytestring containing the bytes read. If the end of the file "
"referred to by *fd* has been reached, an empty bytes object is returned."
msgstr ""

msgid "Open and return a file descriptor for a master pseudo-terminal device."
msgstr ""

msgid ""
"Calls the C standard library function :c:func:`posix_openpt`. The *oflag* "
"argument is used to set file status flags and file access modes as specified "
"in the manual page of :c:func:`posix_openpt` of your system."
msgstr ""

msgid ""
"The returned file descriptor is :ref:`non-inheritable <fd_inheritance>`. If "
"the value :data:`O_CLOEXEC` is available on the system, it is added to "
"*oflag*."
msgstr ""

msgid ""
"Read from a file descriptor *fd* at a position of *offset* into "
"mutable :term:`bytes-like objects <bytes-like object>` *buffers*, leaving "
"the file offset unchanged.  Transfer data into each buffer until it is full "
"and then move on to the next buffer in the sequence to hold the rest of the "
"data."
msgstr ""

msgid ""
"The flags argument contains a bitwise OR of zero or more of the following "
"flags:"
msgstr ""

msgid ":data:`RWF_HIPRI`"
msgstr ""

msgid ":data:`RWF_NOWAIT`"
msgstr ""

msgid ":data:`RWF_DONTCACHE`"
msgstr ""

msgid ""
"Return the total number of bytes actually read which can be less than the "
"total capacity of all the objects."
msgstr ""

msgid ""
"The operating system may set a limit (:func:`sysconf` value "
"``'SC_IOV_MAX'``) on the number of buffers that can be used."
msgstr ""

msgid "Combine the functionality of :func:`os.readv` and :func:`os.pread`."
msgstr ""

msgid "Using flags requires Linux >= 4.6."
msgstr ""

msgid ""
"Do not wait for data which is not immediately available. If this flag is "
"specified, the system call will return instantly if it would have to read "
"data from the backing storage or wait for a lock."
msgstr ""

msgid ""
"If some data was successfully read, it will return the number of bytes read. "
"If no bytes were read, it will return ``-1`` and set errno "
"to :const:`errno.EAGAIN`."
msgstr ""

msgid ""
"High priority read/write. Allows block-based filesystems to use polling of "
"the device, which provides lower latency, but may use additional resources."
msgstr ""

msgid ""
"Currently, on Linux, this feature is usable only on a file descriptor opened "
"using the :data:`O_DIRECT` flag."
msgstr ""

msgid "Use uncached buffered IO."
msgstr ""

msgid ""
"Write data atomically. Requires alignment to the device's atomic write unit."
msgstr ""

msgid ""
"Return the name of the slave pseudo-terminal device associated with the "
"master pseudo-terminal device to which the file descriptor *fd* refers. The "
"file descriptor *fd* is not closed upon failure."
msgstr ""

msgid ""
"Calls the reentrant C standard library function :c:func:`ptsname_r` if it is "
"available; otherwise, the C standard library function :c:func:`ptsname`, "
"which is not guaranteed to be thread-safe, is called."
msgstr ""

msgid ""
"Write the bytestring in *str* to file descriptor *fd* at position of "
"*offset*, leaving the file offset unchanged."
msgstr ""

msgid "Return the number of bytes actually written."
msgstr ""

msgid ""
"Write the *buffers* contents to file descriptor *fd* at an offset *offset*, "
"leaving the file offset unchanged.  *buffers* must be a sequence "
"of :term:`bytes-like objects <bytes-like object>`. Buffers are processed in "
"array order. Entire contents of the first buffer is written before "
"proceeding to the second, and so on."
msgstr ""

msgid ":data:`RWF_DSYNC`"
msgstr ""

msgid ":data:`RWF_SYNC`"
msgstr ""

msgid ":data:`RWF_APPEND`"
msgstr ""

msgid ":data:`RWF_ATOMIC`"
msgstr ""

msgid "Return the total number of bytes actually written."
msgstr ""

msgid "Combine the functionality of :func:`os.writev` and :func:`os.pwrite`."
msgstr ""

msgid ""
"Provide a per-write equivalent of the :data:`O_DSYNC` :func:`os.open` flag. "
"This flag effect applies only to the data range written by the system call."
msgstr ""

msgid ""
"Provide a per-write equivalent of the :data:`O_SYNC` :func:`os.open` flag. "
"This flag effect applies only to the data range written by the system call."
msgstr ""

msgid ""
"Provide a per-write equivalent of the :data:`O_APPEND` :func:`os.open` flag. "
"This flag is meaningful only for :func:`os.pwritev`, and its effect applies "
"only to the data range written by the system call. The *offset* argument "
"does not affect the write operation; the data is always appended to the end "
"of the file. However, if the *offset* argument is ``-1``, the current file "
"*offset* is updated."
msgstr ""

msgid "Read at most *n* bytes from file descriptor *fd*."
msgstr ""

msgid ""
"This function is intended for low-level I/O and must be applied to a file "
"descriptor as returned by :func:`os.open` or :func:`pipe`.  To read a \"file "
"object\" returned by the built-in function :func:`open` or by :func:`popen` "
"or :func:`fdopen`, or :data:`sys.stdin`, use its :meth:`~io.TextIOBase.read` "
"or :meth:`~io.IOBase.readline` methods."
msgstr ""

msgid ""
"Read from a file descriptor *fd* into a mutable :ref:`buffer object "
"<bufferobjects>` *buffer*."
msgstr ""

msgid ""
"The *buffer* should be mutable and :term:`bytes-like <bytes-like object>`. "
"On success, returns the number of bytes read. Less bytes may be read than "
"the size of the buffer. The underlying system call will be retried when "
"interrupted by a signal, unless the signal handler raises an exception. "
"Other errors will not be retried and an error will be raised."
msgstr ""

msgid ""
"Returns 0 if *fd* is at end of file or if the provided *buffer* has length 0 "
"(which can be used to check for errors without reading data). Never returns "
"negative."
msgstr ""

msgid ""
"This function is intended for low-level I/O and must be applied to a file "
"descriptor as returned by :func:`os.open` or :func:`os.pipe`.  To read a "
"\"file object\" returned by the built-in function :func:`open`, "
"or :data:`sys.stdin`, use its member functions, for "
"example :meth:`io.BufferedIOBase.readinto`, :meth:`io.BufferedIOBase.read`, "
"or :meth:`io.TextIOBase.read`"
msgstr ""

msgid ""
"Copy *count* bytes from file descriptor *in_fd* to file descriptor *out_fd* "
"starting at *offset*. Return the number of bytes sent. When EOF is reached "
"return ``0``."
msgstr ""

msgid ""
"The first function notation is supported by all platforms that "
"define :func:`sendfile`."
msgstr ""

msgid ""
"On Linux, if *offset* is given as ``None``, the bytes are read from the "
"current position of *in_fd* and the position of *in_fd* is updated."
msgstr ""

msgid ""
"The second case may be used on macOS and FreeBSD where *headers* and "
"*trailers* are arbitrary sequences of buffers that are written before and "
"after the data from *in_fd* is written. It returns the same as the first "
"case."
msgstr ""

msgid ""
"On macOS and FreeBSD, a value of ``0`` for *count* specifies to send until "
"the end of *in_fd* is reached."
msgstr ""

msgid ""
"All platforms support sockets as *out_fd* file descriptor, and some "
"platforms allow other types (e.g. regular file, pipe) as well."
msgstr ""

msgid ""
"Cross-platform applications should not use *headers*, *trailers* and *flags* "
"arguments."
msgstr ""

msgid ""
"For a higher-level wrapper of :func:`sendfile`, "
"see :meth:`socket.socket.sendfile`."
msgstr ""

msgid "Parameters *out* and *in* was renamed to *out_fd* and *in_fd*."
msgstr ""

msgid ""
"Parameters to the :func:`sendfile` function, if the implementation supports "
"them."
msgstr ""

msgid ""
"Parameter to the :func:`sendfile` function, if the implementation supports "
"it. The data won't be cached in the virtual memory and will be freed "
"afterwards."
msgstr ""

msgid ""
"Set the blocking mode of the specified file descriptor. Set "
"the :data:`O_NONBLOCK` flag if blocking is ``False``, clear the flag "
"otherwise."
msgstr ""

msgid "See also :func:`get_blocking` and :meth:`socket.socket.setblocking`."
msgstr ""

msgid ""
"Transfer *count* bytes from file descriptor *src*, starting from offset "
"*offset_src*, to file descriptor *dst*, starting from offset *offset_dst*."
msgstr ""

msgid ""
"The splicing behaviour can be modified by specifying a *flags* value. Any of "
"the following variables may used, combined using bitwise OR (the ``|`` "
"operator):"
msgstr ""

msgid ""
"If :const:`SPLICE_F_MOVE` is specified, the kernel is asked to move pages "
"instead of copying, but pages may still be copied if the kernel cannot move "
"the pages from the pipe."
msgstr ""

msgid ""
"If :const:`SPLICE_F_NONBLOCK` is specified, the kernel is asked to not block "
"on I/O. This makes the splice pipe operations nonblocking, but splice may "
"nevertheless block because the spliced file descriptors may block."
msgstr ""

msgid ""
"If :const:`SPLICE_F_MORE` is specified, it hints to the kernel that more "
"data will be coming in a subsequent splice."
msgstr ""

msgid ""
"At least one of the file descriptors must refer to a pipe. If *offset_src* "
"is ``None``, then *src* is read from the current position; respectively for "
"*offset_dst*. The offset associated to the file descriptor that refers to a "
"pipe must be ``None``. The files pointed to by *src* and *dst* must reside "
"in the same filesystem, otherwise an :exc:`OSError` is raised "
"with :attr:`~OSError.errno` set to :const:`errno.EXDEV`."
msgstr ""

msgid ""
"This copy is done without the additional cost of transferring data from the "
"kernel to user space and then back into the kernel. Additionally, some "
"filesystems could implement extra optimizations. The copy is done as if both "
"files are opened as binary."
msgstr ""

msgid ""
"Upon successful completion, returns the number of bytes spliced to or from "
"the pipe. A return value of 0 means end of input. If *src* refers to a pipe, "
"then this means that there was no data to transfer, and it would not make "
"sense to block because there are no writers connected to the write end of "
"the pipe."
msgstr ""

msgid "The :manpage:`splice(2)` man page."
msgstr ""

msgid ""
"Read from a file descriptor *fd* into a number of mutable :term:`bytes-like "
"objects <bytes-like object>` *buffers*. Transfer data into each buffer until "
"it is full and then move on to the next buffer in the sequence to hold the "
"rest of the data."
msgstr ""

msgid ""
"Return the process group associated with the terminal given by *fd* (an open "
"file descriptor as returned by :func:`os.open`)."
msgstr ""

msgid ""
"Set the process group associated with the terminal given by *fd* (an open "
"file descriptor as returned by :func:`os.open`) to *pg*."
msgstr ""

msgid ""
"Return a string which specifies the terminal device associated with file "
"descriptor *fd*.  If *fd* is not associated with a terminal device, an "
"exception is raised."
msgstr ""

msgid ""
"Unlock the slave pseudo-terminal device associated with the master pseudo-"
"terminal device to which the file descriptor *fd* refers. The file "
"descriptor *fd* is not closed upon failure."
msgstr ""

msgid "Calls the C standard library function :c:func:`unlockpt`."
msgstr ""

msgid "Write the bytestring in *str* to file descriptor *fd*."
msgstr ""

msgid ""
"This function is intended for low-level I/O and must be applied to a file "
"descriptor as returned by :func:`os.open` or :func:`pipe`.  To write a "
"\"file object\" returned by the built-in function :func:`open` or "
"by :func:`popen` or :func:`fdopen`, or :data:`sys.stdout` "
"or :data:`sys.stderr`, use its :meth:`~io.TextIOBase.write` method."
msgstr ""

msgid ""
"Write the contents of *buffers* to file descriptor *fd*. *buffers* must be a "
"sequence of :term:`bytes-like objects <bytes-like object>`. Buffers are "
"processed in array order. Entire contents of the first buffer is written "
"before proceeding to the second, and so on."
msgstr ""

msgid "Returns the total number of bytes actually written."
msgstr ""

msgid "Querying the size of a terminal"
msgstr ""

msgid ""
"Return the size of the terminal window as ``(columns, lines)``, tuple of "
"type :class:`terminal_size`."
msgstr ""

msgid ""
"The optional argument ``fd`` (default ``STDOUT_FILENO``, or standard output) "
"specifies which file descriptor should be queried."
msgstr ""

msgid ""
"If the file descriptor is not connected to a terminal, an :exc:`OSError` is "
"raised."
msgstr ""

msgid ""
":func:`shutil.get_terminal_size` is the high-level function which should "
"normally be used, ``os.get_terminal_size`` is the low-level implementation."
msgstr ""

msgid ""
"A subclass of tuple, holding ``(columns, lines)`` of the terminal window "
"size."
msgstr ""

msgid "Width of the terminal window in characters."
msgstr ""

msgid "Height of the terminal window in characters."
msgstr ""

msgid "Inheritance of File Descriptors"
msgstr ""

msgid ""
"A file descriptor has an \"inheritable\" flag which indicates if the file "
"descriptor can be inherited by child processes.  Since Python 3.4, file "
"descriptors created by Python are non-inheritable by default."
msgstr ""

msgid ""
"On UNIX, non-inheritable file descriptors are closed in child processes at "
"the execution of a new program, other file descriptors are inherited. Note "
"that non-inheritable file descriptors are still *inherited* by child "
"processes on :func:`os.fork`."
msgstr ""

msgid ""
"On Windows, non-inheritable handles and file descriptors are closed in child "
"processes, except for standard streams (file descriptors 0, 1 and 2: stdin, "
"stdout and stderr), which are always inherited.  Using :func:`spawn\\* "
"<spawnl>` functions, all inheritable handles and all inheritable file "
"descriptors are inherited. Using the :mod:`subprocess` module, all file "
"descriptors except standard streams are closed, and inheritable handles are "
"only inherited if the *close_fds* parameter is ``False``."
msgstr ""

msgid "On WebAssembly platforms, the file descriptor cannot be modified."
msgstr ""

msgid ""
"Get the \"inheritable\" flag of the specified file descriptor (a boolean)."
msgstr ""

msgid "Set the \"inheritable\" flag of the specified file descriptor."
msgstr ""

msgid "Get the \"inheritable\" flag of the specified handle (a boolean)."
msgstr ""

msgid "Set the \"inheritable\" flag of the specified handle."
msgstr ""

msgid "Files and Directories"
msgstr ""

msgid ""
"On some Unix platforms, many of these functions support one or more of these "
"features:"
msgstr ""

msgid ""
"**specifying a file descriptor:** Normally the *path* argument provided to "
"functions in the :mod:`!os` module must be a string specifying a file path.  "
"However, some functions now alternatively accept an open file descriptor for "
"their *path* argument. The function will then operate on the file referred "
"to by the descriptor. For POSIX systems, Python will call the variant of the "
"function prefixed with ``f`` (e.g. call ``fchdir`` instead of ``chdir``)."
msgstr ""

msgid ""
"You can check whether or not *path* can be specified as a file descriptor "
"for a particular function on your platform using :data:`os.supports_fd`. If "
"this functionality is unavailable, using it will raise "
"a :exc:`NotImplementedError`."
msgstr ""

msgid ""
"If the function also supports *dir_fd* or *follow_symlinks* arguments, it's "
"an error to specify one of those when supplying *path* as a file descriptor."
msgstr ""

msgid ""
"**paths relative to directory descriptors:** If *dir_fd* is not ``None``, it "
"should be a file descriptor referring to a directory, and the path to "
"operate on should be relative; path will then be relative to that "
"directory.  If the path is absolute, *dir_fd* is ignored.  For POSIX "
"systems, Python will call the variant of the function with an ``at`` suffix "
"and possibly prefixed with ``f`` (e.g. call ``faccessat`` instead of "
"``access``)."
msgstr ""

msgid ""
"You can check whether or not *dir_fd* is supported for a particular function "
"on your platform using :data:`os.supports_dir_fd`.  If it's unavailable, "
"using it will raise a :exc:`NotImplementedError`."
msgstr ""

msgid ""
"**not following symlinks:** If *follow_symlinks* is ``False``, and the last "
"element of the path to operate on is a symbolic link, the function will "
"operate on the symbolic link itself rather than the file pointed to by the "
"link.  For POSIX systems, Python will call the ``l...`` variant of the "
"function."
msgstr ""

msgid ""
"You can check whether or not *follow_symlinks* is supported for a particular "
"function on your platform using :data:`os.supports_follow_symlinks`. If it's "
"unavailable, using it will raise a :exc:`NotImplementedError`."
msgstr ""

msgid ""
"Use the real uid/gid to test for access to *path*.  Note that most "
"operations will use the effective uid/gid, therefore this routine can be "
"used in a suid/sgid environment to test if the invoking user has the "
"specified access to *path*.  *mode* should be :const:`F_OK` to test the "
"existence of *path*, or it can be the inclusive OR of one or more "
"of :const:`R_OK`, :const:`W_OK`, and :const:`X_OK` to test permissions.  "
"Return :const:`True` if access is allowed, :const:`False` if not. See the "
"Unix man page :manpage:`access(2)` for more information."
msgstr ""

msgid ""
"This function can support specifying :ref:`paths relative to directory "
"descriptors <dir_fd>` and :ref:`not following symlinks <follow_symlinks>`."
msgstr ""

msgid ""
"If *effective_ids* is ``True``, :func:`access` will perform its access "
"checks using the effective uid/gid instead of the real uid/gid. "
"*effective_ids* may not be supported on your platform; you can check whether "
"or not it is available using :data:`os.supports_effective_ids`.  If it is "
"unavailable, using it will raise a :exc:`NotImplementedError`."
msgstr ""

msgid ""
"Using :func:`access` to check if a user is authorized to e.g. open a file "
"before actually doing so using :func:`open` creates a security hole, because "
"the user might exploit the short time interval between checking and opening "
"the file to manipulate it. It's preferable to use :term:`EAFP` techniques. "
"For example::"
msgstr ""

msgid ""
"if os.access(\"myfile\", os.R_OK):\n"
"    with open(\"myfile\") as fp:\n"
"        return fp.read()\n"
"return \"some default data\""
msgstr ""

msgid "is better written as::"
msgstr ""

msgid ""
"try:\n"
"    fp = open(\"myfile\")\n"
"except PermissionError:\n"
"    return \"some default data\"\n"
"else:\n"
"    with fp:\n"
"        return fp.read()"
msgstr ""

msgid ""
"I/O operations may fail even when :func:`access` indicates that they would "
"succeed, particularly for operations on network filesystems which may have "
"permissions semantics beyond the usual POSIX permission-bit model."
msgstr ""

msgid "Added the *dir_fd*, *effective_ids*, and *follow_symlinks* parameters."
msgstr ""

msgid ""
"Values to pass as the *mode* parameter of :func:`access` to test the "
"existence, readability, writability and executability of *path*, "
"respectively."
msgstr ""

msgid "Change the current working directory to *path*."
msgstr ""

msgid ""
"This function can support :ref:`specifying a file descriptor <path_fd>`.  "
"The descriptor must refer to an opened directory, not an open file."
msgstr ""

msgid ""
"This function can raise :exc:`OSError` and subclasses such "
"as :exc:`FileNotFoundError`, :exc:`PermissionError`, "
"and :exc:`NotADirectoryError`."
msgstr ""

msgid ""
"Raises an :ref:`auditing event <auditing>` ``os.chdir`` with argument "
"``path``."
msgstr ""

msgid ""
"The :func:`contextlib.chdir` context manager, which changes the current "
"working directory on entering and restores the previous one on exit."
msgstr ""

msgid ""
"Added support for specifying *path* as a file descriptor on some platforms."
msgstr ""

msgid ""
"Set the flags of *path* to the numeric *flags*. *flags* may take a "
"combination (bitwise OR) of the following values (as defined in "
"the :mod:`stat` module):"
msgstr ""

msgid ":const:`stat.UF_NODUMP`"
msgstr ""

msgid ":const:`stat.UF_IMMUTABLE`"
msgstr ""

msgid ":const:`stat.UF_APPEND`"
msgstr ""

msgid ":const:`stat.UF_OPAQUE`"
msgstr ""

msgid ":const:`stat.UF_NOUNLINK`"
msgstr ""

msgid ":const:`stat.UF_COMPRESSED`"
msgstr ""

msgid ":const:`stat.UF_HIDDEN`"
msgstr ""

msgid ":const:`stat.SF_ARCHIVED`"
msgstr ""

msgid ":const:`stat.SF_IMMUTABLE`"
msgstr ""

msgid ":const:`stat.SF_APPEND`"
msgstr ""

msgid ":const:`stat.SF_NOUNLINK`"
msgstr ""

msgid ":const:`stat.SF_SNAPSHOT`"
msgstr ""

msgid ""
"This function can support :ref:`not following symlinks <follow_symlinks>`."
msgstr ""

msgid ""
"Raises an :ref:`auditing event <auditing>` ``os.chflags`` with arguments "
"``path``, ``flags``."
msgstr ""

msgid "Added the *follow_symlinks* parameter."
msgstr ""

msgid ""
"Change the mode of *path* to the numeric *mode*. *mode* may take one of the "
"following values (as defined in the :mod:`stat` module) or bitwise ORed "
"combinations of them:"
msgstr ""

msgid ":const:`stat.S_ISUID`"
msgstr ""

msgid ":const:`stat.S_ISGID`"
msgstr ""

msgid ":const:`stat.S_ENFMT`"
msgstr ""

msgid ":const:`stat.S_ISVTX`"
msgstr ""

msgid ":const:`stat.S_IREAD`"
msgstr ""

msgid ":const:`stat.S_IWRITE`"
msgstr ""

msgid ":const:`stat.S_IEXEC`"
msgstr ""

msgid ":const:`stat.S_IRWXU`"
msgstr ""

msgid ":const:`stat.S_IRUSR`"
msgstr ""

msgid ":const:`stat.S_IWUSR`"
msgstr ""

msgid ":const:`stat.S_IXUSR`"
msgstr ""

msgid ":const:`stat.S_IRWXG`"
msgstr ""

msgid ":const:`stat.S_IRGRP`"
msgstr ""

msgid ":const:`stat.S_IWGRP`"
msgstr ""

msgid ":const:`stat.S_IXGRP`"
msgstr ""

msgid ":const:`stat.S_IRWXO`"
msgstr ""

msgid ":const:`stat.S_IROTH`"
msgstr ""

msgid ":const:`stat.S_IWOTH`"
msgstr ""

msgid ":const:`stat.S_IXOTH`"
msgstr ""

msgid ""
"This function can support :ref:`specifying a file descriptor "
"<path_fd>`, :ref:`paths relative to directory descriptors <dir_fd>` "
"and :ref:`not following symlinks <follow_symlinks>`."
msgstr ""

msgid ""
"Although Windows supports :func:`chmod`, you can only set the file's read-"
"only flag with it (via the ``stat.S_IWRITE`` and ``stat.S_IREAD`` constants "
"or a corresponding integer value).  All other bits are ignored. The default "
"value of *follow_symlinks* is ``False`` on Windows."
msgstr ""

msgid ""
"Added support for specifying *path* as an open file descriptor, and the "
"*dir_fd* and *follow_symlinks* arguments."
msgstr ""

msgid ""
"Added support for a file descriptor and the *follow_symlinks* argument on "
"Windows."
msgstr ""

msgid ""
"Change the owner and group id of *path* to the numeric *uid* and *gid*.  To "
"leave one of the ids unchanged, set it to -1."
msgstr ""

msgid ""
"See :func:`shutil.chown` for a higher-level function that accepts names in "
"addition to numeric ids."
msgstr ""

msgid "Supports a :term:`path-like object`."
msgstr ""

msgid "Change the root directory of the current process to *path*."
msgstr ""

msgid ""
"Change the current working directory to the directory represented by the "
"file descriptor *fd*.  The descriptor must refer to an opened directory, not "
"an open file.  As of Python 3.3, this is equivalent to ``os.chdir(fd)``."
msgstr ""

msgid "Return a string representing the current working directory."
msgstr ""

msgid "Return a bytestring representing the current working directory."
msgstr ""

msgid ""
"The function now uses the UTF-8 encoding on Windows, rather than the ANSI "
"code page: see :pep:`529` for the rationale. The function is no longer "
"deprecated on Windows."
msgstr ""

msgid ""
"Set the flags of *path* to the numeric *flags*, like :func:`chflags`, but do "
"not follow symbolic links.  As of Python 3.3, this is equivalent to "
"``os.chflags(path, flags, follow_symlinks=False)``."
msgstr ""

msgid ""
"Change the mode of *path* to the numeric *mode*. If path is a symlink, this "
"affects the symlink rather than the target.  See the docs for :func:`chmod` "
"for possible values of *mode*.  As of Python 3.3, this is equivalent to "
"``os.chmod(path, mode, follow_symlinks=False)``."
msgstr ""

msgid ""
"``lchmod()`` is not part of POSIX, but Unix implementations may have it if "
"changing the mode of symbolic links is supported."
msgstr ""

msgid ""
"Change the owner and group id of *path* to the numeric *uid* and *gid*.  "
"This function will not follow symbolic links.  As of Python 3.3, this is "
"equivalent to ``os.chown(path, uid, gid, follow_symlinks=False)``."
msgstr ""

msgid "Create a hard link pointing to *src* named *dst*."
msgstr ""

msgid ""
"This function can support specifying *src_dir_fd* and/or *dst_dir_fd* to "
"supply :ref:`paths relative to directory descriptors <dir_fd>`, "
"and :ref:`not following symlinks <follow_symlinks>`. The default value of "
"*follow_symlinks* is ``False`` on Windows."
msgstr ""

msgid ""
"Raises an :ref:`auditing event <auditing>` ``os.link`` with arguments "
"``src``, ``dst``, ``src_dir_fd``, ``dst_dir_fd``."
msgstr ""

msgid "Added Windows support."
msgstr ""

msgid "Added the *src_dir_fd*, *dst_dir_fd*, and *follow_symlinks* parameters."
msgstr ""

msgid "Accepts a :term:`path-like object` for *src* and *dst*."
msgstr ""

msgid ""
"Return a list containing the names of the entries in the directory given by "
"*path*.  The list is in arbitrary order, and does not include the special "
"entries ``'.'`` and ``'..'`` even if they are present in the directory. If a "
"file is removed from or added to the directory during the call of this "
"function, whether a name for that file be included is unspecified."
msgstr ""

msgid ""
"*path* may be a :term:`path-like object`.  If *path* is of type ``bytes`` "
"(directly or indirectly through the :class:`PathLike` interface), the "
"filenames returned will also be of type ``bytes``; in all other "
"circumstances, they will be of type ``str``."
msgstr ""

msgid ""
"This function can also support :ref:`specifying a file descriptor "
"<path_fd>`; the file descriptor must refer to a directory."
msgstr ""

msgid ""
"Raises an :ref:`auditing event <auditing>` ``os.listdir`` with argument "
"``path``."
msgstr ""

msgid "To encode ``str`` filenames to ``bytes``, use :func:`~os.fsencode`."
msgstr ""

msgid ""
"The :func:`scandir` function returns directory entries along with file "
"attribute information, giving better performance for many common use cases."
msgstr ""

msgid "The *path* parameter became optional."
msgstr ""

msgid "Added support for specifying *path* as an open file descriptor."
msgstr ""

msgid ""
"``os.listdir(-1)`` now fails with ``OSError(errno.EBADF)`` rather than "
"listing the current directory."
msgstr ""

msgid "Return a list containing the names of drives on a Windows system."
msgstr ""

msgid ""
"A drive name typically looks like ``'C:\\\\'``. Not every drive name will be "
"associated with a volume, and some may be inaccessible for a variety of "
"reasons, including permissions, network connectivity or missing media. This "
"function does not test for access."
msgstr ""

msgid "May raise :exc:`OSError` if an error occurs collecting the drive names."
msgstr ""

msgid ""
"Raises an :ref:`auditing event <auditing>` ``os.listdrives`` with no "
"arguments."
msgstr ""

msgid ""
"Return a list containing the mount points for a volume on a Windows system."
msgstr ""

msgid ""
"*volume* must be represented as a GUID path, like those returned "
"by :func:`os.listvolumes`. Volumes may be mounted in multiple locations or "
"not at all. In the latter case, the list will be empty. Mount points that "
"are not associated with a volume will not be returned by this function."
msgstr ""

msgid ""
"The mount points return by this function will be absolute paths, and may be "
"longer than the drive name."
msgstr ""

msgid ""
"Raises :exc:`OSError` if the volume is not recognized or if an error occurs "
"collecting the paths."
msgstr ""

msgid ""
"Raises an :ref:`auditing event <auditing>` ``os.listmounts`` with argument "
"``volume``."
msgstr ""

msgid "Return a list containing the volumes in the system."
msgstr ""

msgid ""
"Volumes are typically represented as a GUID path that looks like ``\\\\?"
"\\Volume{xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx}\\``. Files can usually be "
"accessed through a GUID path, permissions allowing. However, users are "
"generally not familiar with them, and so the recommended use of this "
"function is to retrieve mount points using :func:`os.listmounts`."
msgstr ""

msgid "May raise :exc:`OSError` if an error occurs collecting the volumes."
msgstr ""

msgid ""
"Raises an :ref:`auditing event <auditing>` ``os.listvolumes`` with no "
"arguments."
msgstr ""

msgid ""
"Perform the equivalent of an :c:func:`!lstat` system call on the given path. "
"Similar to :func:`~os.stat`, but does not follow symbolic links. Return "
"a :class:`stat_result` object."
msgstr ""

msgid ""
"On platforms that do not support symbolic links, this is an alias "
"for :func:`~os.stat`."
msgstr ""

msgid ""
"As of Python 3.3, this is equivalent to ``os.stat(path, dir_fd=dir_fd, "
"follow_symlinks=False)``."
msgstr ""

msgid ""
"This function can also support :ref:`paths relative to directory descriptors "
"<dir_fd>`."
msgstr ""

msgid "Added support for Windows 6.0 (Vista) symbolic links."
msgstr ""

msgid ""
"On Windows, now opens reparse points that represent another path (name "
"surrogates), including symbolic links and directory junctions. Other kinds "
"of reparse points are resolved by the operating system as "
"for :func:`~os.stat`."
msgstr ""

msgid "Create a directory named *path* with numeric mode *mode*."
msgstr ""

msgid ""
"If the directory already exists, :exc:`FileExistsError` is raised. If a "
"parent directory in the path does not exist, :exc:`FileNotFoundError` is "
"raised."
msgstr ""

msgid ""
"On some systems, *mode* is ignored.  Where it is used, the current umask "
"value is first masked out.  If bits other than the last 9 (i.e. the last 3 "
"digits of the octal representation of the *mode*) are set, their meaning is "
"platform-dependent.  On some platforms, they are ignored and you should "
"call :func:`chmod` explicitly to set them."
msgstr ""

msgid ""
"On Windows, a *mode* of ``0o700`` is specifically handled to apply access "
"control to the new directory such that only the current user and "
"administrators have access. Other values of *mode* are ignored."
msgstr ""

msgid ""
"It is also possible to create temporary directories; see the :mod:`tempfile` "
"module's :func:`tempfile.mkdtemp` function."
msgstr ""

msgid ""
"Raises an :ref:`auditing event <auditing>` ``os.mkdir`` with arguments "
"``path``, ``mode``, ``dir_fd``."
msgstr ""

msgid "Windows now handles a *mode* of ``0o700``."
msgstr ""

msgid ""
"Recursive directory creation function.  Like :func:`mkdir`, but makes all "
"intermediate-level directories needed to contain the leaf directory."
msgstr ""

msgid ""
"The *mode* parameter is passed to :func:`mkdir` for creating the leaf "
"directory; see :ref:`the mkdir() description <mkdir_modebits>` for how it is "
"interpreted.  To set the file permission bits of any newly created parent "
"directories you can set the umask before invoking :func:`makedirs`.  The "
"file permission bits of existing parent directories are not changed."
msgstr ""

msgid ""
"If *exist_ok* is ``False`` (the default), a :exc:`FileExistsError` is raised "
"if the target directory already exists."
msgstr ""

msgid ""
"If *parent_mode* is not ``None``, it is used as the mode for any newly-"
"created, intermediate-level directories.  Like *mode*, it is combined with "
"the process's umask value; see :ref:`the mkdir() description "
"<mkdir_modebits>`.  Otherwise, intermediate directories are created with the "
"default mode, which is also subject to the umask."
msgstr ""

msgid ""
":func:`makedirs` will become confused if the path elements to create "
"include :data:`pardir` (eg. \"..\" on UNIX systems)."
msgstr ""

msgid "This function handles UNC paths correctly."
msgstr ""

msgid "Added the *exist_ok* parameter."
msgstr ""

msgid ""
"Before Python 3.4.1, if *exist_ok* was ``True`` and the directory "
"existed, :func:`makedirs` would still raise an error if *mode* did not match "
"the mode of the existing directory. Since this behavior was impossible to "
"implement safely, it was removed in Python 3.4.1. See :issue:`21082`."
msgstr ""

msgid ""
"The *mode* argument no longer affects the file permission bits of newly "
"created intermediate-level directories."
msgstr ""

msgid ""
"The *parent_mode* parameter. To match the behavior from Python 3.6 and "
"earlier (where *mode* was applied to all created directories), pass "
"``parent_mode=mode``."
msgstr ""

msgid ""
"Create a FIFO (a named pipe) named *path* with numeric mode *mode*. The "
"current umask value is first masked out from the mode."
msgstr ""

msgid ""
"FIFOs are pipes that can be accessed like regular files.  FIFOs exist until "
"they are deleted (for example with :func:`os.unlink`). Generally, FIFOs are "
"used as rendezvous between \"client\" and \"server\" type processes: the "
"server opens the FIFO for reading, and the client opens it for writing.  "
"Note that :func:`mkfifo` doesn't open the FIFO --- it just creates the "
"rendezvous point."
msgstr ""

msgid ""
"Create a filesystem node (file, device special file or named pipe) named "
"*path*. *mode* specifies both the permissions to use and the type of node to "
"be created, being combined (bitwise OR) with one "
"of :const:`stat.S_IFREG`, :const:`stat.S_IFCHR`, :const:`stat.S_IFBLK`, "
"and :const:`stat.S_IFIFO`. For :const:`stat.S_IFCHR` "
"and :const:`stat.S_IFBLK`, *device* defines the newly created device special "
"file (probably using :func:`os.makedev`), otherwise it is ignored."
msgstr ""

msgid ""
"Extract the device major number from a raw device number (usually "
"the :attr:`~stat_result.st_dev` or :attr:`~stat_result.st_rdev` field "
"from :c:struct:`stat`)."
msgstr ""

msgid ""
"Extract the device minor number from a raw device number (usually "
"the :attr:`~stat_result.st_dev` or :attr:`~stat_result.st_rdev` field "
"from :c:struct:`stat`)."
msgstr ""

msgid "Compose a raw device number from the major and minor device numbers."
msgstr ""

msgid "Non-existent device."
msgstr ""

msgid ""
"Return system configuration information relevant to a named file. *name* "
"specifies the configuration value to retrieve; it may be a string which is "
"the name of a defined system value; these names are specified in a number of "
"standards (POSIX.1, Unix 95, Unix 98, and others).  Some platforms define "
"additional names as well.  The names known to the host operating system are "
"given in the ``pathconf_names`` dictionary.  For configuration variables not "
"included in that mapping, passing an integer for *name* is also accepted."
msgstr ""

msgid ""
"This function can support :ref:`specifying a file descriptor <path_fd>`."
msgstr ""

msgid ""
"Dictionary mapping names accepted by :func:`pathconf` and :func:`fpathconf` "
"to the integer values defined for those names by the host operating system.  "
"This can be used to determine the set of names known to the system."
msgstr ""

msgid ""
"Return a string representing the path to which the symbolic link points.  "
"The result may be either an absolute or relative pathname; if it is "
"relative, it may be converted to an absolute pathname using "
"``os.path.join(os.path.dirname(path), result)``."
msgstr ""

msgid ""
"If the *path* is a string object (directly or indirectly through "
"a :class:`PathLike` interface), the result will also be a string object, and "
"the call may raise a UnicodeDecodeError. If the *path* is a bytes object "
"(direct or indirectly), the result will be a bytes object."
msgstr ""

msgid ""
"When trying to resolve a path that may contain links, "
"use :func:`~os.path.realpath` to properly handle recursion and platform "
"differences."
msgstr ""

msgid "Accepts a :term:`path-like object` on Unix."
msgstr ""

msgid "Accepts a :term:`path-like object` and a bytes object on Windows."
msgstr ""

msgid ""
"Added support for directory junctions, and changed to return the "
"substitution path (which typically includes ``\\\\?\\`` prefix) rather than "
"the optional \"print name\" field that was previously returned."
msgstr ""

msgid ""
"Remove (delete) the file *path*.  If *path* is a directory, "
"an :exc:`OSError` is raised.  Use :func:`rmdir` to remove directories. If "
"the file does not exist, a :exc:`FileNotFoundError` is raised."
msgstr ""

msgid ""
"This function can support :ref:`paths relative to directory descriptors "
"<dir_fd>`."
msgstr ""

msgid ""
"On Windows, attempting to remove a file that is in use causes an exception "
"to be raised; on Unix, the directory entry is removed but the storage "
"allocated to the file is not made available until the original file is no "
"longer in use."
msgstr ""

msgid "This function is semantically identical to :func:`unlink`."
msgstr ""

msgid ""
"Raises an :ref:`auditing event <auditing>` ``os.remove`` with arguments "
"``path``, ``dir_fd``."
msgstr ""

msgid ""
"Remove directories recursively.  Works like :func:`rmdir` except that, if "
"the leaf directory is successfully removed, :func:`removedirs`  tries to "
"successively remove every parent directory mentioned in  *path* until an "
"error is raised (which is ignored, because it generally means that a parent "
"directory is not empty). For example, ``os.removedirs('foo/bar/baz')`` will "
"first remove the directory ``'foo/bar/baz'``, and then remove ``'foo/bar'`` "
"and ``'foo'`` if they are empty. Raises :exc:`OSError` if the leaf directory "
"could not be successfully removed."
msgstr ""

msgid ""
"Rename the file or directory *src* to *dst*. If *dst* exists, the operation "
"will fail with an :exc:`OSError` subclass in a number of cases:"
msgstr ""

msgid ""
"On Windows, if *dst* exists a :exc:`FileExistsError` is always raised. The "
"operation may fail if *src* and *dst* are on different filesystems. "
"Use :func:`shutil.move` to support moves to a different filesystem."
msgstr ""

msgid ""
"On Unix, if *src* is a file and *dst* is a directory or vice-versa, "
"an :exc:`IsADirectoryError` or a :exc:`NotADirectoryError` will be raised "
"respectively.  If both are directories and *dst* is empty, *dst* will be "
"silently replaced.  If *dst* is a non-empty directory, an :exc:`OSError` is "
"raised. If both are files, *dst* will be replaced silently if the user has "
"permission.  The operation may fail on some Unix flavors if *src* and *dst* "
"are on different filesystems.  If successful, the renaming will be an atomic "
"operation (this is a POSIX requirement)."
msgstr ""

msgid ""
"This function can support specifying *src_dir_fd* and/or *dst_dir_fd* to "
"supply :ref:`paths relative to directory descriptors <dir_fd>`."
msgstr ""

msgid ""
"If you want cross-platform overwriting of the destination, "
"use :func:`replace`."
msgstr ""

msgid ""
"Raises an :ref:`auditing event <auditing>` ``os.rename`` with arguments "
"``src``, ``dst``, ``src_dir_fd``, ``dst_dir_fd``."
msgstr ""

msgid "Added the *src_dir_fd* and *dst_dir_fd* parameters."
msgstr ""

msgid ""
"Recursive directory or file renaming function. Works like :func:`rename`, "
"except creation of any intermediate directories needed to make the new "
"pathname good is attempted first. After the rename, directories "
"corresponding to rightmost path segments of the old name will be pruned away "
"using :func:`removedirs`."
msgstr ""

msgid ""
"This function can fail with the new directory structure made if you lack "
"permissions needed to remove the leaf directory or file."
msgstr ""

msgid "Accepts a :term:`path-like object` for *old* and *new*."
msgstr ""

msgid ""
"Rename the file or directory *src* to *dst*.  If *dst* is a non-empty "
"directory, :exc:`OSError` will be raised.  If *dst* exists and is a file, it "
"will be replaced silently if the user has permission.  The operation may "
"fail if *src* and *dst* are on different filesystems.  If successful, the "
"renaming will be an atomic operation (this is a POSIX requirement)."
msgstr ""

msgid ""
"Remove (delete) the directory *path*.  If the directory does not exist or is "
"not empty, a :exc:`FileNotFoundError` or an :exc:`OSError` is raised "
"respectively.  In order to remove whole directory "
"trees, :func:`shutil.rmtree` can be used."
msgstr ""

msgid ""
"Raises an :ref:`auditing event <auditing>` ``os.rmdir`` with arguments "
"``path``, ``dir_fd``."
msgstr ""

msgid ""
"Return an iterator of :class:`os.DirEntry` objects corresponding to the "
"entries in the directory given by *path*. The entries are yielded in "
"arbitrary order, and the special entries ``'.'`` and ``'..'`` are not "
"included.  If a file is removed from or added to the directory after "
"creating the iterator, whether an entry for that file be included is "
"unspecified."
msgstr ""

msgid ""
"Using :func:`scandir` instead of :func:`listdir` can significantly increase "
"the performance of code that also needs file type or file attribute "
"information, because :class:`os.DirEntry` objects expose this information if "
"the operating system provides it when scanning a directory. "
"All :class:`os.DirEntry` methods may perform a system call, "
"but :func:`~os.DirEntry.is_dir` and :func:`~os.DirEntry.is_file` usually "
"only require a system call for symbolic links; :func:`os.DirEntry.stat` "
"always requires a system call on Unix but only requires one for symbolic "
"links on Windows."
msgstr ""

msgid ""
"*path* may be a :term:`path-like object`.  If *path* is of type ``bytes`` "
"(directly or indirectly through the :class:`PathLike` interface), the type "
"of the :attr:`~os.DirEntry.name` and :attr:`~os.DirEntry.path` attributes of "
"each :class:`os.DirEntry` will be ``bytes``; in all other circumstances, "
"they will be of type ``str``."
msgstr ""

msgid ""
"Raises an :ref:`auditing event <auditing>` ``os.scandir`` with argument "
"``path``."
msgstr ""

msgid ""
"Sharing a :func:`scandir` iterator between threads will not corrupt the "
"iterator, but it is subject to :term:`race conditions <race condition>`: "
"which entries each thread receives is unspecified, and closing the iterator "
"while another thread is iterating ends that iteration early."
msgstr ""

msgid ""
"The :func:`scandir` iterator supports the :term:`context manager` protocol "
"and has the following method:"
msgstr ""

msgid "Close the iterator and free acquired resources."
msgstr ""

msgid ""
"This is called automatically when the iterator is :term:`exhausted` or "
"garbage collected, or when an error happens during iterating.  However it is "
"advisable to call it explicitly or use the :keyword:`with` statement."
msgstr ""

msgid ""
"The following example shows a simple use of :func:`scandir` to display all "
"the files (excluding directories) in the given *path* that don't start with "
"``'.'``. The ``entry.is_file()`` call will generally not make an additional "
"system call::"
msgstr ""

msgid ""
"with os.scandir(path) as it:\n"
"    for entry in it:\n"
"        if not entry.name.startswith('.') and entry.is_file():\n"
"            print(entry.name)"
msgstr ""

msgid ""
"On Unix-based systems, :func:`scandir` uses the system's `opendir() <https://"
"pubs.opengroup.org/onlinepubs/009695399/functions/opendir.html>`_ and "
"`readdir() <https://pubs.opengroup.org/onlinepubs/009695399/functions/"
"readdir_r.html>`_ functions. On Windows, it uses the Win32 `FindFirstFileW "
"<https://msdn.microsoft.com/en-us/library/windows/desktop/"
"aa364418(v=vs.85).aspx>`_ and `FindNextFileW <https://msdn.microsoft.com/en-"
"us/library/windows/desktop/aa364428(v=vs.85).aspx>`_ functions."
msgstr ""

msgid ""
"Added support for the :term:`context manager` protocol and "
"the :func:`~scandir.close` method.  If a :func:`scandir` iterator is neither "
"exhausted nor explicitly closed a :exc:`ResourceWarning` will be emitted in "
"its destructor."
msgstr ""

msgid "The function accepts a :term:`path-like object`."
msgstr "Fungsi yang menerima sebuah :term:`path-like object`."

msgid "Added support for :ref:`file descriptors <path_fd>` on Unix."
msgstr ""

msgid ""
"``os.scandir(-1)`` now fails with ``OSError(errno.EBADF)`` rather than "
"listing the current directory."
msgstr ""

msgid ""
"Object yielded by :func:`scandir` to expose the file path and other file "
"attributes of a directory entry."
msgstr ""

msgid ""
":func:`scandir` will provide as much of this information as possible without "
"making additional system calls. When a ``stat()`` or ``lstat()`` system call "
"is made, the ``os.DirEntry`` object will cache the result."
msgstr ""

msgid ""
"``os.DirEntry`` instances are not intended to be stored in long-lived data "
"structures; if you know the file metadata has changed or if a long time has "
"elapsed since calling :func:`scandir`, call ``os.stat(entry.path)`` to fetch "
"up-to-date information."
msgstr ""

msgid ""
"Because the ``os.DirEntry`` methods can make operating system calls, they "
"may also raise :exc:`OSError`. If you need very fine-grained control over "
"errors, you can catch :exc:`OSError` when calling one of the ``os.DirEntry`` "
"methods and handle as appropriate."
msgstr ""

msgid ""
"To be directly usable as a :term:`path-like object`, ``os.DirEntry`` "
"implements the :class:`PathLike` interface."
msgstr ""

msgid ""
":class:`!DirEntry` objects are :ref:`generic <generics>` over the type of "
"the path (:class:`str` or :class:`bytes`)."
msgstr ""

msgid "Attributes and methods on a ``os.DirEntry`` instance are as follows:"
msgstr ""

msgid ""
"The entry's base filename, relative to the :func:`scandir` *path* argument."
msgstr ""

msgid ""
"The :attr:`name` attribute will be ``bytes`` if the :func:`scandir` *path* "
"argument is of type ``bytes`` and ``str`` otherwise.  "
"Use :func:`~os.fsdecode` to decode byte filenames."
msgstr ""

msgid ""
"The entry's path name: equivalent to ``os.path.join(scandir_path, "
"entry.name)`` where *scandir_path* is the original :func:`scandir` *path* "
"argument.  Apart from the filename, the path preserves the "
"original :func:`scandir` argument.  If the :func:`scandir` *path* argument "
"was relative, the :attr:`path` attribute is also relative. Changing the "
"current working directory after creating the :func:`scandir` iterator may "
"cause later uses of :attr:`path` to resolve differently.  On some platforms, "
"the constructed path may not be valid if the original :func:`scandir` "
"argument was usable for enumeration but not for joining with the entry "
"name.  If the :func:`scandir` *path* argument was a :ref:`file descriptor "
"<path_fd>`, the :attr:`path` attribute is the same as the :attr:`name` "
"attribute."
msgstr ""

msgid ""
"The :attr:`path` attribute will be ``bytes`` if the :func:`scandir` *path* "
"argument is of type ``bytes`` and ``str`` otherwise.  "
"Use :func:`~os.fsdecode` to decode byte filenames."
msgstr ""

msgid "Return the inode number of the entry."
msgstr ""

msgid ""
"The result is cached on the ``os.DirEntry`` object. Use "
"``os.stat(entry.path, follow_symlinks=False).st_ino`` to fetch up-to-date "
"information."
msgstr ""

msgid ""
"On the first, uncached call, a system call is required on Windows but not on "
"Unix."
msgstr ""

msgid ""
"Return ``True`` if this entry is a directory or a symbolic link pointing to "
"a directory; return ``False`` if the entry is or points to any other kind of "
"file, or if it doesn't exist anymore."
msgstr ""

msgid ""
"If *follow_symlinks* is ``False``, return ``True`` only if this entry is a "
"directory (without following symlinks); return ``False`` if the entry is any "
"other kind of file or if it doesn't exist anymore."
msgstr ""

msgid ""
"The result is cached on the ``os.DirEntry`` object, with a separate cache "
"for *follow_symlinks* ``True`` and ``False``. Call :func:`os.stat` along "
"with :func:`stat.S_ISDIR` to fetch up-to-date information."
msgstr ""

msgid ""
"On the first, uncached call, no system call is required in most cases. "
"Specifically, for non-symlinks, neither Windows or Unix require a system "
"call, except on certain Unix file systems, such as network file systems, "
"that return ``dirent.d_type == DT_UNKNOWN``. If the entry is a symlink, a "
"system call will be required to follow the symlink unless *follow_symlinks* "
"is ``False``."
msgstr ""

msgid ""
"This method can raise :exc:`OSError`, such as :exc:`PermissionError`, "
"but :exc:`FileNotFoundError` is caught and not raised."
msgstr ""

msgid ""
"Return ``True`` if this entry is a file or a symbolic link pointing to a "
"file; return ``False`` if the entry is or points to a directory or other non-"
"file entry, or if it doesn't exist anymore."
msgstr ""

msgid ""
"If *follow_symlinks* is ``False``, return ``True`` only if this entry is a "
"file (without following symlinks); return ``False`` if the entry is a "
"directory or other non-file entry, or if it doesn't exist anymore."
msgstr ""

msgid ""
"The result is cached on the ``os.DirEntry`` object. Caching, system calls "
"made, and exceptions raised are as per :func:`~os.DirEntry.is_dir`."
msgstr ""

msgid ""
"Return ``True`` if this entry is a symbolic link (even if broken); return "
"``False`` if the entry points to a directory or any kind of file, or if it "
"doesn't exist anymore."
msgstr ""

msgid ""
"The result is cached on the ``os.DirEntry`` object. "
"Call :func:`os.path.islink` to fetch up-to-date information."
msgstr ""

msgid ""
"On the first, uncached call, no system call is required in most cases. "
"Specifically, neither Windows or Unix require a system call, except on "
"certain Unix file systems, such as network file systems, that return "
"``dirent.d_type == DT_UNKNOWN``."
msgstr ""

msgid ""
"Return ``True`` if this entry is a junction (even if broken); return "
"``False`` if the entry points to a regular directory, any kind of file, a "
"symlink, or if it doesn't exist anymore."
msgstr ""

msgid ""
"The result is cached on the ``os.DirEntry`` object. "
"Call :func:`os.path.isjunction` to fetch up-to-date information."
msgstr ""

msgid ""
"Return a :class:`stat_result` object for this entry. This method follows "
"symbolic links by default; to stat a symbolic link add the "
"``follow_symlinks=False`` argument."
msgstr ""

msgid ""
"On Unix, this method always requires a system call. On Windows, it only "
"requires a system call if *follow_symlinks* is ``True`` and the entry is a "
"reparse point (for example, a symbolic link or directory junction)."
msgstr ""

msgid ""
"On Windows, the ``st_ino``, ``st_dev`` and ``st_nlink`` attributes of "
"the :class:`stat_result` are always set to zero. Call :func:`os.stat` to get "
"these attributes."
msgstr ""

msgid ""
"The result is cached on the ``os.DirEntry`` object, with a separate cache "
"for *follow_symlinks* ``True`` and ``False``. Call :func:`os.stat` to fetch "
"up-to-date information."
msgstr ""

msgid ""
"Note that there is a nice correspondence between several attributes and "
"methods of ``os.DirEntry`` and of :class:`pathlib.Path`.  In particular, the "
"``name`` attribute has the same meaning, as do the ``is_dir()``, "
"``is_file()``, ``is_symlink()``, ``is_junction()``, and ``stat()`` methods."
msgstr ""

msgid ""
"Added support for the :class:`~os.PathLike` interface.  Added support "
"for :class:`bytes` paths on Windows."
msgstr ""

msgid ""
"The ``st_ctime`` attribute of a stat result is deprecated on Windows. The "
"file creation time is properly available as ``st_birthtime``, and in the "
"future ``st_ctime`` may be changed to return zero or the metadata change "
"time, if available."
msgstr ""

msgid ""
"Get the status of a file or a file descriptor. Perform the equivalent of "
"a :c:func:`stat` system call on the given path. *path* may be specified as "
"either a string or bytes -- directly or indirectly through "
"the :class:`PathLike` interface -- or as an open file descriptor. Return "
"a :class:`stat_result` object."
msgstr ""

msgid ""
"This function normally follows symlinks; to stat a symlink add the argument "
"``follow_symlinks=False``, or use :func:`lstat`."
msgstr ""

msgid ""
"This function can support :ref:`specifying a file descriptor <path_fd>` "
"and :ref:`not following symlinks <follow_symlinks>`."
msgstr ""

msgid ""
"On Windows, passing ``follow_symlinks=False`` will disable following all "
"name-surrogate reparse points, which includes symlinks and directory "
"junctions. Other types of reparse points that do not resemble links or that "
"the operating system is unable to follow will be opened directly. When "
"following a chain of multiple links, this may result in the original link "
"being returned instead of the non-link that prevented full traversal. To "
"obtain stat results for the final path in this case, use "
"the :func:`os.path.realpath` function to resolve the path name as far as "
"possible and call :func:`lstat` on the result. This does not apply to "
"dangling symlinks or junction points, which will raise the usual exceptions."
msgstr ""

msgid "Example::"
msgstr "Contoh::"

msgid ""
">>> import os\n"
">>> statinfo = os.stat('somefile.txt')\n"
">>> statinfo\n"
"os.stat_result(st_mode=33188, st_ino=7876932, st_dev=234881026,\n"
"st_nlink=1, st_uid=501, st_gid=501, st_size=264, st_atime=1297230295,\n"
"st_mtime=1297230027, st_ctime=1297230027)\n"
">>> statinfo.st_size\n"
"264"
msgstr ""

msgid ":func:`fstat` and :func:`lstat` functions."
msgstr ""

msgid ""
"Added the *dir_fd* and *follow_symlinks* parameters, specifying a file "
"descriptor instead of a path."
msgstr ""

msgid ""
"On Windows, all reparse points that can be resolved by the operating system "
"are now followed, and passing ``follow_symlinks=False`` disables following "
"all name surrogate reparse points. If the operating system reaches a reparse "
"point that it is not able to follow, *stat* now returns the information for "
"the original path as if ``follow_symlinks=False`` had been specified instead "
"of raising an error."
msgstr ""

msgid ""
"Object whose attributes correspond roughly to the members of "
"the :c:struct:`stat` structure. It is used for the result "
"of :func:`os.stat`, :func:`os.fstat` and :func:`os.lstat`."
msgstr ""

msgid "Attributes:"
msgstr ""

msgid "File mode: file type and file mode bits (permissions)."
msgstr ""

msgid ""
"Platform dependent, but if non-zero, uniquely identifies the file for a "
"given value of ``st_dev``. Typically:"
msgstr ""

msgid "the inode number on Unix,"
msgstr ""

msgid ""
"the `file index <https://msdn.microsoft.com/en-us/library/aa363788>`_ on "
"Windows"
msgstr ""

msgid "Identifier of the device on which this file resides."
msgstr ""

msgid "Number of hard links."
msgstr ""

msgid "User identifier of the file owner."
msgstr ""

msgid "Group identifier of the file owner."
msgstr ""

msgid ""
"Size of the file in bytes, if it is a regular file or a symbolic link. The "
"size of a symbolic link is the length of the pathname it contains, without a "
"terminating null byte."
msgstr ""

msgid "Timestamps:"
msgstr ""

msgid "Time of most recent access expressed in seconds."
msgstr ""

msgid "Time of most recent content modification expressed in seconds."
msgstr ""

msgid "Time of most recent metadata change expressed in seconds."
msgstr ""

msgid ""
"``st_ctime`` is deprecated on Windows. Use ``st_birthtime`` for the file "
"creation time. In the future, ``st_ctime`` will contain the time of the most "
"recent metadata change, as for other platforms."
msgstr ""

msgid "Time of most recent access expressed in nanoseconds as an integer."
msgstr ""

msgid ""
"Time of most recent content modification expressed in nanoseconds as an "
"integer."
msgstr ""

msgid ""
"Time of most recent metadata change expressed in nanoseconds as an integer."
msgstr ""

msgid ""
"``st_ctime_ns`` is deprecated on Windows. Use ``st_birthtime_ns`` for the "
"file creation time. In the future, ``st_ctime_ns`` will contain the time of "
"the most recent metadata change, as for other platforms."
msgstr ""

msgid ""
"Time of file creation expressed in seconds. This attribute is not always "
"available, and may raise :exc:`AttributeError`."
msgstr ""

msgid "``st_birthtime`` is now available on Windows."
msgstr ""

msgid ""
"Time of file creation expressed in nanoseconds as an integer. This attribute "
"is not always available, and may raise :exc:`AttributeError`."
msgstr ""

msgid ""
"The exact meaning and resolution of "
"the :attr:`st_atime`, :attr:`st_mtime`, :attr:`st_ctime` "
"and :attr:`st_birthtime` attributes depend on the operating system and the "
"file system. For example, on Windows systems using the FAT32 file "
"systems, :attr:`st_mtime` has 2-second resolution, and :attr:`st_atime` has "
"only 1-day resolution. See your operating system documentation for details."
msgstr ""

msgid ""
"Similarly, "
"although :attr:`st_atime_ns`, :attr:`st_mtime_ns`, :attr:`st_ctime_ns` "
"and :attr:`st_birthtime_ns` are always expressed in nanoseconds, many "
"systems do not provide nanosecond precision.  On systems that do provide "
"nanosecond precision, the floating-point object used to "
"store :attr:`st_atime`, :attr:`st_mtime`, :attr:`st_ctime` "
"and :attr:`st_birthtime` cannot preserve all of it, and as such will be "
"slightly inexact. If you need the exact timestamps you should always "
"use :attr:`st_atime_ns`, :attr:`st_mtime_ns`, :attr:`st_ctime_ns` "
"and :attr:`st_birthtime_ns`."
msgstr ""

msgid ""
"On some Unix systems (such as Linux), the following attributes may also be "
"available:"
msgstr ""

msgid ""
"Number of 512-byte blocks allocated for file. This may be smaller "
"than :attr:`st_size`/512 when the file has holes."
msgstr ""

msgid ""
"\"Preferred\" blocksize for efficient file system I/O. Writing to a file in "
"smaller chunks may cause an inefficient read-modify-rewrite."
msgstr ""

msgid "Type of device if an inode device."
msgstr ""

msgid "User defined flags for file."
msgstr ""

msgid ""
"On other Unix systems (such as FreeBSD), the following attributes may be "
"available (but may be only filled out if root tries to use them):"
msgstr ""

msgid "File generation number."
msgstr ""

msgid ""
"On Solaris and derivatives, the following attributes may also be available:"
msgstr ""

msgid ""
"String that uniquely identifies the type of the filesystem that contains the "
"file."
msgstr ""

msgid "On Windows systems, the following attributes are also available:"
msgstr ""

msgid ""
"Windows file attributes: ``dwFileAttributes`` member of the "
"``BY_HANDLE_FILE_INFORMATION`` structure returned by :c:func:`!"
"GetFileInformationByHandle`. See the :const:`!FILE_ATTRIBUTE_* "
"<stat.FILE_ATTRIBUTE_ARCHIVE>` constants in the :mod:`stat` module."
msgstr ""

msgid ""
"When :attr:`st_file_attributes` has "
"the :const:`~stat.FILE_ATTRIBUTE_REPARSE_POINT` set, this field contains the "
"tag identifying the type of reparse point. See the :const:`IO_REPARSE_TAG_* "
"<stat.IO_REPARSE_TAG_SYMLINK>` constants in the :mod:`stat` module."
msgstr ""

msgid ""
"The standard module :mod:`stat` defines functions and constants that are "
"useful for extracting information from a :c:struct:`stat` structure. (On "
"Windows, some items are filled with dummy values.)"
msgstr ""

msgid ""
"For backward compatibility, a :class:`stat_result` instance is also "
"accessible as a tuple of at least 10 integers giving the most important (and "
"portable) members of the :c:struct:`stat` structure, in the "
"order :attr:`st_mode`, :attr:`st_ino`, :attr:`st_dev`, :attr:`st_nlink`, :attr:`st_uid`, :attr:`st_gid`, :attr:`st_size`, :attr:`st_atime`, :attr:`st_mtime`, :attr:`st_ctime`. "
"More items may be added at the end by some implementations. For "
"compatibility with older Python versions, accessing :class:`stat_result` as "
"a tuple always returns integers."
msgstr ""

msgid "Windows now returns the file index as :attr:`st_ino` when available."
msgstr ""

msgid "Added the :attr:`st_fstype` member to Solaris/derivatives."
msgstr ""

msgid "Added the :attr:`st_reparse_tag` member on Windows."
msgstr ""

msgid ""
"On Windows, the :attr:`st_mode` member now identifies special files "
"as :const:`~stat.S_IFCHR`, :const:`~stat.S_IFIFO` or :const:`~stat.S_IFBLK` "
"as appropriate."
msgstr ""

msgid ""
"On Windows, :attr:`st_ctime` is deprecated. Eventually, it will contain the "
"last metadata change time, for consistency with other platforms, but for now "
"still contains creation time. Use :attr:`st_birthtime` for the creation time."
msgstr ""

msgid ""
"On Windows, :attr:`st_ino` may now be up to 128 bits, depending on the file "
"system. Previously it would not be above 64 bits, and larger file "
"identifiers would be arbitrarily packed."
msgstr ""

msgid ""
"On Windows, :attr:`st_rdev` no longer returns a value. Previously it would "
"contain the same as :attr:`st_dev`, which was incorrect."
msgstr ""

msgid "Added the :attr:`st_birthtime` member on Windows."
msgstr ""

msgid ""
"Get the status of a file or file descriptor by performing a :c:func:`!statx` "
"system call on the given path."
msgstr ""

msgid ""
"*path* is a :term:`path-like object` or an open file descriptor. *mask* is a "
"combination of the module-level :const:`STATX_* <STATX_TYPE>` constants "
"specifying the information to retrieve. *flags* is a combination of the "
"module-level :const:`AT_STATX_* <AT_STATX_FORCE_SYNC>` constants and/"
"or :const:`AT_NO_AUTOMOUNT`. Returns a :class:`statx_result` object "
"whose :attr:`~os.statx_result.stx_mask` attribute specifies the information "
"actually retrieved (which may differ from *mask*)."
msgstr ""

msgid ""
"This function supports :ref:`specifying a file descriptor "
"<path_fd>`, :ref:`paths relative to directory descriptors <dir_fd>`, "
"and :ref:`not following symlinks <follow_symlinks>`."
msgstr ""

msgid "The :manpage:`statx(2)` man page."
msgstr ""

msgid "Information about a file returned by :func:`os.statx`."
msgstr ""

msgid ":class:`!statx_result` has the following attributes:"
msgstr ""

msgid ""
"Equal to ``None`` if :data:`STATX_ATIME` is missing "
"from :attr:`~statx_result.stx_mask`."
msgstr ""

msgid "Maximum iovecs for direct I/O with torn-write protection."
msgstr ""

msgid ""
"Equal to ``None`` if :data:`STATX_WRITE_ATOMIC` is missing "
"from :attr:`~statx_result.stx_mask`."
msgstr ""

msgid "Maximum size for direct I/O with torn-write protection."
msgstr ""

msgid "Maximum optimized size for direct I/O with torn-write protection."
msgstr ""

msgid "Minimum size for direct I/O with torn-write protection."
msgstr ""

msgid ""
"Bitmask of :const:`STATX_ATTR_* <stat.STATX_ATTR_COMPRESSED>` constants "
"specifying the attributes of this file."
msgstr ""

msgid ""
"A mask indicating which bits in :attr:`stx_attributes` are supported by the "
"VFS and the filesystem."
msgstr ""

msgid ""
"Number of 512-byte blocks allocated for file. This may be smaller "
"than :attr:`stx_size`/512 when the file has holes."
msgstr ""

msgid ""
"Equal to ``None`` if :data:`STATX_BLOCKS` is missing "
"from :attr:`~statx_result.stx_mask`."
msgstr ""

msgid "Time of file creation expressed in seconds."
msgstr ""

msgid ""
"Equal to ``None`` if :data:`STATX_BTIME` is missing "
"from :attr:`~statx_result.stx_mask`."
msgstr ""

msgid "Time of file creation expressed in nanoseconds as an integer."
msgstr ""

msgid ""
"Equal to ``None`` if :data:`STATX_CTIME` is missing "
"from :attr:`~statx_result.stx_mask`."
msgstr ""

msgid "Major number of the device on which this file resides."
msgstr ""

msgid "Minor number of the device on which this file resides."
msgstr ""

msgid "Direct I/O memory buffer alignment requirement."
msgstr ""

msgid ""
"Equal to ``None`` if :data:`STATX_DIOALIGN` is missing "
"from :attr:`~statx_result.stx_mask`."
msgstr ""

msgid "Direct I/O file offset alignment requirement."
msgstr ""

msgid "Direct I/O file offset alignment requirement for reads."
msgstr ""

msgid ""
"Equal to ``None`` if :data:`STATX_DIO_READ_ALIGN` is missing "
"from :attr:`~statx_result.stx_mask`."
msgstr ""

msgid ""
"Equal to ``None`` if :data:`STATX_GID` is missing "
"from :attr:`~statx_result.stx_mask`."
msgstr ""

msgid "Inode number."
msgstr ""

msgid ""
"Equal to ``None`` if :data:`STATX_INO` is missing "
"from :attr:`~statx_result.stx_mask`."
msgstr ""

msgid ""
"Bitmask of :const:`STATX_* <STATX_TYPE>` constants specifying the "
"information retrieved, which may differ from what was requested."
msgstr ""

msgid "Mount identifier."
msgstr ""

msgid ""
"Equal to ``None`` if :data:`STATX_MNT_ID` is missing "
"from :attr:`~statx_result.stx_mask`."
msgstr ""

msgid ""
"Equal to ``None`` if :data:`STATX_TYPE | STATX_MODE <STATX_TYPE>` is missing "
"from :attr:`~statx_result.stx_mask`."
msgstr ""

msgid ""
"Equal to ``None`` if :data:`STATX_MTIME` is missing "
"from :attr:`~statx_result.stx_mask`."
msgstr ""

msgid ""
"Equal to ``None`` if :data:`STATX_NLINK` is missing "
"from :attr:`~statx_result.stx_mask`."
msgstr ""

msgid "Major number of the device this file represents."
msgstr ""

msgid "Minor number of the device this file represents."
msgstr ""

msgid ""
"Equal to ``None`` if :data:`STATX_SIZE` is missing "
"from :attr:`~statx_result.stx_mask`."
msgstr ""

msgid "Subvolume identifier."
msgstr ""

msgid ""
"Equal to ``None`` if :data:`STATX_SUBVOL` is missing "
"from :attr:`~statx_result.stx_mask`."
msgstr ""

msgid ""
"Equal to ``None`` if :data:`STATX_UID` is missing "
"from :attr:`~statx_result.stx_mask`."
msgstr ""

msgid ""
"Bitflags for use in the *mask* parameter to :func:`os.statx`.  Some of these "
"flags may be available even when their corresponding members "
"in :class:`statx_result` are not available."
msgstr ""

msgid ""
"A flag for the :func:`os.statx` function.  Requests that the kernel return "
"up-to-date information even when doing so is expensive (for example, "
"requiring a round trip to the server for a file on a network filesystem)."
msgstr ""

msgid ""
"A flag for the :func:`os.statx` function.  Requests that the kernel return "
"cached information if possible."
msgstr ""

msgid ""
"A flag for the :func:`os.statx` function.  This flag is defined as ``0``, so "
"it has no effect, but it can be used to explicitly indicate "
"neither :data:`AT_STATX_FORCE_SYNC` nor :data:`AT_STATX_DONT_SYNC` is being "
"passed. In the absence of the other two flags, the kernel will generally "
"return information as fresh as :func:`os.stat` would return."
msgstr ""

msgid ""
"If the final component of a path is an automount point, operate on the "
"automount point instead of performing the automount.  On "
"Linux, :func:`os.stat`, :func:`os.fstat` and :func:`os.lstat` always behave "
"this way."
msgstr ""

msgid ""
"Perform a :manpage:`statvfs(3)` system call on the given path.  The return "
"value is a :class:`statvfs_result` whose attributes describe the filesystem "
"on the given path and correspond to the members of the :c:struct:`statvfs` "
"structure."
msgstr ""

msgid ""
"Filesystem statistics returned by :func:`os.statvfs` "
"and :func:`os.fstatvfs`. See :manpage:`statvfs(3)` for more details."
msgstr ""

msgid "Block size."
msgstr ""

msgid "Fragment size."
msgstr ""

msgid ""
"Number of :attr:`~statvfs_result.f_frsize` sized blocks the filesystem can "
"contain."
msgstr ""

msgid "Number of free blocks."
msgstr ""

msgid "Number of free blocks for unprivileged users."
msgstr ""

msgid "Number of file entries, inodes, the filesystem can contain."
msgstr ""

msgid "Number of free files entries."
msgstr ""

msgid "Number of free file entries for unprivileged users."
msgstr ""

msgid ""
"Bit-mask of mount flags.  The following flags are "
"defined: :data:`ST_RDONLY`, :data:`ST_NOSUID`, :data:`ST_NODEV`, :data:`ST_NOEXEC`, :data:`ST_SYNCHRONOUS`, :data:`ST_MANDLOCK`, :data:`ST_WRITE`, :data:`ST_APPEND`, :data:`ST_IMMUTABLE`, :data:`ST_NOATIME`, :data:`ST_NODIRATIME`, "
"and :data:`ST_RELATIME`."
msgstr ""

msgid ""
"Filesystem max filename length. OS specific limitations such "
"as :ref:`Windows MAX_PATH <max-path>` and those described in "
"Linux :manpage:`pathname(7)` may exist."
msgstr ""

msgid "Filesystem ID."
msgstr ""

msgid "The following flags are used in :attr:`statvfs_result.f_flag`."
msgstr ""

msgid "Read-only filesystem."
msgstr ""

msgid "Setuid/setgid bits are disabled or not supported."
msgstr ""

msgid "Disallow access to device special files."
msgstr ""

msgid "Disallow program execution."
msgstr ""

msgid "Writes are synced at once."
msgstr ""

msgid "Allow mandatory locks on an FS."
msgstr ""

msgid "Write on file/directory/symlink."
msgstr ""

msgid "Append-only file."
msgstr ""

msgid "Immutable file."
msgstr ""

msgid "Do not update access times."
msgstr ""

msgid "Do not update directory access times."
msgstr ""

msgid "Update atime relative to mtime/ctime."
msgstr ""

msgid ""
"A :class:`set` object indicating which functions in the :mod:`!os` module "
"accept an open file descriptor for their *dir_fd* parameter. Different "
"platforms provide different features, and the underlying functionality "
"Python uses to implement the *dir_fd* parameter is not available on all "
"platforms Python supports.  For consistency's sake, functions that may "
"support *dir_fd* always allow specifying the parameter, but will throw an "
"exception if the functionality is used when it's not locally available. "
"(Specifying ``None`` for *dir_fd* is always supported on all platforms.)"
msgstr ""

msgid ""
"To check whether a particular function accepts an open file descriptor for "
"its *dir_fd* parameter, use the ``in`` operator on ``supports_dir_fd``. As "
"an example, this expression evaluates to ``True`` if :func:`os.stat` accepts "
"open file descriptors for *dir_fd* on the local platform::"
msgstr ""

msgid "os.stat in os.supports_dir_fd"
msgstr ""

msgid ""
"Currently *dir_fd* parameters only work on Unix platforms; none of them work "
"on Windows."
msgstr ""

msgid ""
"A :class:`set` object indicating whether :func:`os.access` permits "
"specifying ``True`` for its *effective_ids* parameter on the local platform. "
"(Specifying ``False`` for *effective_ids* is always supported on all "
"platforms.)  If the local platform supports it, the collection will "
"contain :func:`os.access`; otherwise it will be empty."
msgstr ""

msgid ""
"This expression evaluates to ``True`` if :func:`os.access` supports "
"``effective_ids=True`` on the local platform::"
msgstr ""

msgid "os.access in os.supports_effective_ids"
msgstr ""

msgid ""
"Currently *effective_ids* is only supported on Unix platforms; it does not "
"work on Windows."
msgstr ""

msgid ""
"A :class:`set` object indicating which functions in the :mod:`!os` module "
"permit specifying their *path* parameter as an open file descriptor on the "
"local platform.  Different platforms provide different features, and the "
"underlying functionality Python uses to accept open file descriptors as "
"*path* arguments is not available on all platforms Python supports."
msgstr ""

msgid ""
"To determine whether a particular function permits specifying an open file "
"descriptor for its *path* parameter, use the ``in`` operator on "
"``supports_fd``. As an example, this expression evaluates to ``True`` "
"if :func:`os.chdir` accepts open file descriptors for *path* on your local "
"platform::"
msgstr ""

msgid "os.chdir in os.supports_fd"
msgstr ""

msgid ""
"A :class:`set` object indicating which functions in the :mod:`!os` module "
"accept ``False`` for their *follow_symlinks* parameter on the local "
"platform. Different platforms provide different features, and the underlying "
"functionality Python uses to implement *follow_symlinks* is not available on "
"all platforms Python supports.  For consistency's sake, functions that may "
"support *follow_symlinks* always allow specifying the parameter, but will "
"throw an exception if the functionality is used when it's not locally "
"available.  (Specifying ``True`` for *follow_symlinks* is always supported "
"on all platforms.)"
msgstr ""

msgid ""
"To check whether a particular function accepts ``False`` for its "
"*follow_symlinks* parameter, use the ``in`` operator on "
"``supports_follow_symlinks``.  As an example, this expression evaluates to "
"``True`` if you may specify ``follow_symlinks=False`` when "
"calling :func:`os.stat` on the local platform::"
msgstr ""

msgid "os.stat in os.supports_follow_symlinks"
msgstr ""

msgid "Create a symbolic link pointing to *src* named *dst*."
msgstr ""

msgid ""
"The *src* parameter refers to the target of the link (the file or directory "
"being linked to), and *dst* is the name of the link being created."
msgstr ""

msgid ""
"On Windows, a symlink represents either a file or a directory, and does not "
"morph to the target dynamically.  If the target is present, the type of the "
"symlink will be created to match. Otherwise, the symlink will be created as "
"a directory if *target_is_directory* is ``True`` or a file symlink (the "
"default) otherwise.  On non-Windows platforms, *target_is_directory* is "
"ignored."
msgstr ""

msgid ""
"On newer versions of Windows 10, unprivileged accounts can create symlinks "
"if Developer Mode is enabled. When Developer Mode is not available/enabled, "
"the *SeCreateSymbolicLinkPrivilege* privilege is required, or the process "
"must be run as an administrator."
msgstr ""

msgid ""
":exc:`OSError` is raised when the function is called by an unprivileged user."
msgstr ""

msgid ""
"Raises an :ref:`auditing event <auditing>` ``os.symlink`` with arguments "
"``src``, ``dst``, ``dir_fd``."
msgstr ""

msgid ""
"Added the *dir_fd* parameter, and now allow *target_is_directory* on non-"
"Windows platforms."
msgstr ""

msgid "Added support for unelevated symlinks on Windows with Developer Mode."
msgstr ""

msgid "Force write of everything to disk."
msgstr ""

msgid ""
"Truncate the file corresponding to *path*, so that it is at most *length* "
"bytes in size."
msgstr ""

msgid ""
"Raises an :ref:`auditing event <auditing>` ``os.truncate`` with arguments "
"``path``, ``length``."
msgstr ""

msgid ""
"Remove (delete) the file *path*.  This function is semantically identical "
"to :func:`remove`; the ``unlink`` name is its traditional Unix name.  Please "
"see the documentation for :func:`remove` for further information."
msgstr ""

msgid "Set the access and modified times of the file specified by *path*."
msgstr ""

msgid ""
":func:`utime` takes two optional parameters, *times* and *ns*. These specify "
"the times set on *path* and are used as follows:"
msgstr ""

msgid ""
"If *ns* is specified, it must be a 2-tuple of the form ``(atime_ns, "
"mtime_ns)`` where each member is an int expressing nanoseconds."
msgstr ""

msgid ""
"If *times* is not ``None``, it must be a 2-tuple of the form ``(atime, "
"mtime)`` where each member is a real number expressing seconds, rounded down "
"to nanoseconds."
msgstr ""

msgid ""
"If *times* is ``None`` and *ns* is unspecified, this is equivalent to "
"specifying ``ns=(atime_ns, mtime_ns)`` where both times are the current time."
msgstr ""

msgid "It is an error to specify tuples for both *times* and *ns*."
msgstr ""

msgid ""
"Note that the exact times you set here may not be returned by a "
"subsequent :func:`~os.stat` call, depending on the resolution with which "
"your operating system records access and modification times; "
"see :func:`~os.stat`. The best way to preserve exact times is to use the "
"*st_atime_ns* and *st_mtime_ns* fields from the :func:`os.stat` result "
"object with the *ns* parameter to :func:`utime`."
msgstr ""

msgid ""
"Raises an :ref:`auditing event <auditing>` ``os.utime`` with arguments "
"``path``, ``times``, ``ns``, ``dir_fd``."
msgstr ""

msgid ""
"Added support for specifying *path* as an open file descriptor, and the "
"*dir_fd*, *follow_symlinks*, and *ns* parameters."
msgstr ""

msgid "Accepts any real numbers as *times*, not only integers or floats."
msgstr ""

msgid ""
"Generate the file names in a directory tree by walking the tree either top-"
"down or bottom-up. For each directory in the tree rooted at directory *top* "
"(including *top* itself), it yields a 3-tuple ``(dirpath, dirnames, "
"filenames)``."
msgstr ""

msgid ""
"*dirpath* is a string, the path to the directory.  *dirnames* is a list of "
"the names of the subdirectories in *dirpath* (including symlinks to "
"directories, and excluding ``'.'`` and ``'..'``). *filenames* is a list of "
"the names of the non-directory files in *dirpath*. Note that the names in "
"the lists contain no path components.  To get a full path (which begins with "
"*top*) to a file or directory in *dirpath*, do ``os.path.join(dirpath, "
"name)``.  Whether or not the lists are sorted depends on the file system.  "
"If a file is removed from or added to the *dirpath* directory during "
"generating the lists, whether a name for that file be included is "
"unspecified."
msgstr ""

msgid ""
"If optional argument *topdown* is ``True`` or not specified, the triple for "
"a directory is generated before the triples for any of its subdirectories "
"(directories are generated top-down).  If *topdown* is ``False``, the triple "
"for a directory is generated after the triples for all of its subdirectories "
"(directories are generated bottom-up). No matter the value of *topdown*, the "
"list of subdirectories is retrieved before the tuples for the directory and "
"its subdirectories are generated."
msgstr ""

msgid ""
"When *topdown* is ``True``, the caller can modify the *dirnames* list in-"
"place (perhaps using :keyword:`del` or slice assignment), and :func:`walk` "
"will only recurse into the subdirectories whose names remain in *dirnames*; "
"this can be used to prune the search, impose a specific order of visiting, "
"or even to inform :func:`walk` about directories the caller creates or "
"renames before it resumes :func:`walk` again.  Modifying *dirnames* when "
"*topdown* is ``False`` has no effect on the behavior of the walk, because in "
"bottom-up mode the directories in *dirnames* are generated before *dirpath* "
"itself is generated."
msgstr ""

msgid ""
"By default, errors from the :func:`scandir` call are ignored.  If optional "
"argument *onerror* is specified, it should be a function; it will be called "
"with one argument, an :exc:`OSError` instance.  It can report the error to "
"continue with the walk, or raise the exception to abort the walk.  Note that "
"the filename is available as the ``filename`` attribute of the exception "
"object."
msgstr ""

msgid ""
"By default, :func:`walk` will not walk down into symbolic links that resolve "
"to directories. Set *followlinks* to ``True`` to visit directories pointed "
"to by symlinks, on systems that support them."
msgstr ""

msgid ""
"Be aware that setting *followlinks* to ``True`` can lead to infinite "
"recursion if a link points to a parent directory of itself. :func:`walk` "
"does not keep track of the directories it visited already."
msgstr ""

msgid ""
"If you pass a relative pathname, don't change the current working directory "
"between resumptions of :func:`walk`.  :func:`walk` never changes the current "
"directory, and assumes that its caller doesn't either."
msgstr ""

msgid ""
"This example displays the number of bytes taken by non-directory files in "
"each directory under the starting directory, except that it doesn't look "
"under any ``__pycache__`` subdirectory::"
msgstr ""

msgid ""
"import os\n"
"from os.path import join, getsize\n"
"for root, dirs, files in os.walk('python/Lib/xml'):\n"
"    print(root, \"consumes\", end=\" \")\n"
"    print(sum(getsize(join(root, name)) for name in files), end=\" \")\n"
"    print(\"bytes in\", len(files), \"non-directory files\")\n"
"    if '__pycache__' in dirs:\n"
"        dirs.remove('__pycache__')  # don't visit __pycache__ directories"
msgstr ""

msgid ""
"In the next example (simple implementation of :func:`shutil.rmtree`), "
"walking the tree bottom-up is essential, :func:`rmdir` doesn't allow "
"deleting a directory before the directory is empty::"
msgstr ""

msgid ""
"# Delete everything reachable from the directory named in \"top\",\n"
"# assuming there are no symbolic links.\n"
"# CAUTION:  This is dangerous!  For example, if top == '/', it\n"
"# could delete all your disk files.\n"
"import os\n"
"for root, dirs, files in os.walk(top, topdown=False):\n"
"    for name in files:\n"
"        os.remove(os.path.join(root, name))\n"
"    for name in dirs:\n"
"        os.rmdir(os.path.join(root, name))\n"
"os.rmdir(top)"
msgstr ""

msgid ""
"Raises an :ref:`auditing event <auditing>` ``os.walk`` with arguments "
"``top``, ``topdown``, ``onerror``, ``followlinks``."
msgstr ""

msgid ""
"This function now calls :func:`os.scandir` instead of :func:`os.listdir`, "
"making it faster by reducing the number of calls to :func:`os.stat`."
msgstr ""

msgid ""
"This behaves exactly like :func:`walk`, except that it yields a 4-tuple "
"``(dirpath, dirnames, filenames, dirfd)``, and it supports ``dir_fd``."
msgstr ""

msgid ""
"*dirpath*, *dirnames* and *filenames* are identical to :func:`walk` output, "
"and *dirfd* is a file descriptor referring to the directory *dirpath*."
msgstr ""

msgid ""
"This function always supports :ref:`paths relative to directory descriptors "
"<dir_fd>` and :ref:`not following symlinks <follow_symlinks>`.  Note however "
"that, unlike other functions, the :func:`fwalk` default value for "
"*follow_symlinks* is ``False``."
msgstr ""

msgid ""
"Since :func:`fwalk` yields file descriptors, those are only valid until the "
"next iteration step, so you should duplicate them (e.g. with :func:`dup`) if "
"you want to keep them longer."
msgstr ""

msgid ""
"import os\n"
"for root, dirs, files, rootfd in os.fwalk('python/Lib/xml'):\n"
"    print(root, \"consumes\", end=\" \")\n"
"    print(sum([os.stat(name, dir_fd=rootfd).st_size for name in files]),\n"
"          end=\" \")\n"
"    print(\"bytes in\", len(files), \"non-directory files\")\n"
"    if '__pycache__' in dirs:\n"
"        dirs.remove('__pycache__')  # don't visit __pycache__ directories"
msgstr ""

msgid ""
"In the next example, walking the tree bottom-up is essential: :func:`rmdir` "
"doesn't allow deleting a directory before the directory is empty::"
msgstr ""

msgid ""
"# Delete everything reachable from the directory named in \"top\",\n"
"# assuming there are no symbolic links.\n"
"# CAUTION:  This is dangerous!  For example, if top == '/', it\n"
"# could delete all your disk files.\n"
"import os\n"
"for root, dirs, files, rootfd in os.fwalk(top, topdown=False):\n"
"    for name in files:\n"
"        os.unlink(name, dir_fd=rootfd)\n"
"    for name in dirs:\n"
"        os.rmdir(name, dir_fd=rootfd)"
msgstr ""

msgid ""
"Raises an :ref:`auditing event <auditing>` ``os.fwalk`` with arguments "
"``top``, ``topdown``, ``onerror``, ``follow_symlinks``, ``dir_fd``."
msgstr ""

msgid "Added support for :class:`bytes` paths."
msgstr ""

msgid ""
"Create an anonymous file and return a file descriptor that refers to it. "
"*flags* must be one of the ``os.MFD_*`` constants available on the system "
"(or a bitwise ORed combination of them).  By default, the new file "
"descriptor is :ref:`non-inheritable <fd_inheritance>`."
msgstr ""

msgid ""
"The name supplied in *name* is used as a filename and will be displayed as "
"the target of the corresponding symbolic link in the directory ``/proc/self/"
"fd/``. The displayed name is always prefixed with ``memfd:`` and serves only "
"for debugging purposes. Names do not affect the behavior of the file "
"descriptor, and as such multiple files can have the same name without any "
"side effects."
msgstr ""

msgid "These flags can be passed to :func:`memfd_create`."
msgstr ""

msgid "The ``MFD_HUGE*`` flags are only available since Linux 4.14."
msgstr ""

msgid ""
"Create and return an event file descriptor. The file descriptors supports "
"raw :func:`read` and :func:`write` with a buffer size of "
"8, :func:`~select.select`, :func:`~select.poll` and similar. See man "
"page :manpage:`eventfd(2)` for more information.  By default, the new file "
"descriptor is :ref:`non-inheritable <fd_inheritance>`."
msgstr ""

msgid ""
"*initval* is the initial value of the event counter. The initial value must "
"be a 32 bit unsigned integer. Please note that the initial value is limited "
"to a 32 bit unsigned int although the event counter is an unsigned 64 bit "
"integer with a maximum value of 2\\ :sup:`64`\\ -\\ 2."
msgstr ""

msgid ""
"*flags* can be constructed from :const:`EFD_CLOEXEC`, :const:`EFD_NONBLOCK`, "
"and :const:`EFD_SEMAPHORE`."
msgstr ""

msgid ""
"If :const:`EFD_SEMAPHORE` is specified and the event counter is non-"
"zero, :func:`eventfd_read` returns 1 and decrements the counter by one."
msgstr ""

msgid ""
"If :const:`EFD_SEMAPHORE` is not specified and the event counter is non-"
"zero, :func:`eventfd_read` returns the current event counter value and "
"resets the counter to zero."
msgstr ""

msgid ""
"If the event counter is zero and :const:`EFD_NONBLOCK` is not "
"specified, :func:`eventfd_read` blocks."
msgstr ""

msgid ""
":func:`eventfd_write` increments the event counter. Write blocks if the "
"write operation would increment the counter to a value larger than "
"2\\ :sup:`64`\\ -\\ 2."
msgstr ""

msgid ""
"import os\n"
"\n"
"# semaphore with start value '1'\n"
"fd = os.eventfd(1, os.EFD_SEMAPHORE | os.EFD_CLOEXEC)\n"
"try:\n"
"    # acquire semaphore\n"
"    v = os.eventfd_read(fd)\n"
"    try:\n"
"        do_work()\n"
"    finally:\n"
"        # release semaphore\n"
"        os.eventfd_write(fd, v)\n"
"finally:\n"
"    os.close(fd)"
msgstr ""

msgid ""
"Read value from an :func:`eventfd` file descriptor and return a 64 bit "
"unsigned int. The function does not verify that *fd* is an :func:`eventfd`."
msgstr ""

msgid ""
"Add value to an :func:`eventfd` file descriptor. *value* must be a 64 bit "
"unsigned int. The function does not verify that *fd* is an :func:`eventfd`."
msgstr ""

msgid "Set close-on-exec flag for new :func:`eventfd` file descriptor."
msgstr ""

msgid ""
"Set :const:`O_NONBLOCK` status flag for new :func:`eventfd` file descriptor."
msgstr ""

msgid ""
"Provide semaphore-like semantics for reads from an :func:`eventfd` file "
"descriptor. On read the internal counter is decremented by one."
msgstr ""

msgid "Timer File Descriptors"
msgstr ""

msgid ""
"These functions provide support for Linux's *timer file descriptor* API. "
"Naturally, they are all only available on Linux."
msgstr ""

msgid "Create and return a timer file descriptor (*timerfd*)."
msgstr ""

msgid "The file descriptor returned by :func:`timerfd_create` supports:"
msgstr ""

msgid ":func:`read`"
msgstr ""

msgid ":func:`~select.select`"
msgstr ""

msgid ":func:`~select.poll`"
msgstr ""

msgid ""
"The file descriptor's :func:`read` method can be called with a buffer size "
"of 8. If the timer has already expired one or more times, :func:`read` "
"returns the number of expirations with the host's endianness, which may be "
"converted to an :class:`int` by ``int.from_bytes(x, "
"byteorder=sys.byteorder)``."
msgstr ""

msgid ""
":func:`~select.select` and :func:`~select.poll` can be used to wait until "
"timer expires and the file descriptor is readable."
msgstr ""

msgid ""
"*clockid* must be a valid :ref:`clock ID <time-clock-id-constants>`, as "
"defined in the :py:mod:`time` module:"
msgstr ""

msgid ":const:`time.CLOCK_REALTIME`"
msgstr ""

msgid ":const:`time.CLOCK_MONOTONIC`"
msgstr ""

msgid ":const:`time.CLOCK_BOOTTIME` (Since Linux 3.15 for timerfd_create)"
msgstr ""

msgid ""
"If *clockid* is :const:`time.CLOCK_REALTIME`, a settable system-wide real-"
"time clock is used. If the system clock is changed, the timer setting needs "
"to be updated. To cancel the timer when the system clock is changed, "
"see :const:`TFD_TIMER_CANCEL_ON_SET`."
msgstr ""

msgid ""
"If *clockid* is :const:`time.CLOCK_MONOTONIC`, a non-settable monotonically "
"increasing clock is used. Even if the system clock is changed, the timer "
"setting will not be affected."
msgstr ""

msgid ""
"If *clockid* is :const:`time.CLOCK_BOOTTIME`, it is the same "
"as :const:`time.CLOCK_MONOTONIC` except it includes any time that the system "
"is suspended."
msgstr ""

msgid ""
"The file descriptor's behaviour can be modified by specifying a *flags* "
"value. Any of the following variables may be used, combined using bitwise OR "
"(the ``|`` operator):"
msgstr ""

msgid ":const:`TFD_NONBLOCK`"
msgstr ""

msgid ":const:`TFD_CLOEXEC`"
msgstr ""

msgid ""
"If :const:`TFD_NONBLOCK` is not set as a flag, :func:`read` blocks until the "
"timer expires. If it is set as a flag, :func:`read` doesn't block, but if "
"there hasn't been an expiration since the last call to read, :func:`read` "
"raises :class:`OSError` with ``errno`` set to :const:`errno.EAGAIN`."
msgstr ""

msgid ":const:`TFD_CLOEXEC` is always set by Python automatically."
msgstr ""

msgid ""
"The file descriptor must be closed with :func:`os.close` when it is no "
"longer needed, or else the file descriptor will be leaked."
msgstr ""

msgid "The :manpage:`timerfd_create(2)` man page."
msgstr ""

msgid ""
"Alter a timer file descriptor's internal timer. This function operates the "
"same interval timer as :func:`timerfd_settime_ns`."
msgstr ""

msgid "*fd* must be a valid timer file descriptor."
msgstr ""

msgid ""
"The timer's behaviour can be modified by specifying a *flags* value. Any of "
"the following variables may be used, combined using bitwise OR (the ``|`` "
"operator):"
msgstr ""

msgid ":const:`TFD_TIMER_ABSTIME`"
msgstr ""

msgid ":const:`TFD_TIMER_CANCEL_ON_SET`"
msgstr ""

msgid ""
"The timer is disabled by setting *initial* to zero (``0``). If *initial* is "
"greater than zero, the timer is enabled. If *initial* is less than zero, it "
"raises an :class:`OSError` exception with ``errno`` set "
"to :const:`errno.EINVAL`."
msgstr ""

msgid "By default the timer will fire when *initial* seconds have elapsed."
msgstr ""

msgid ""
"However, if the :const:`TFD_TIMER_ABSTIME` flag is set, the timer will fire "
"when the timer's clock (set by *clockid* in :func:`timerfd_create`) reaches "
"*initial* seconds."
msgstr ""

msgid ""
"The timer's interval is set by the *interval* real number. If *interval* is "
"zero, the timer only fires once, on the initial expiration. If *interval* is "
"greater than zero, the timer fires every time *interval* seconds have "
"elapsed since the previous expiration. If *interval* is less than zero, it "
"raises :class:`OSError` with ``errno`` set to :const:`errno.EINVAL`."
msgstr ""

msgid ""
"If the :const:`TFD_TIMER_CANCEL_ON_SET` flag is set along "
"with :const:`TFD_TIMER_ABSTIME` and the clock for this timer "
"is :const:`time.CLOCK_REALTIME`, the timer is marked as cancelable if the "
"real-time clock is changed discontinuously. Reading the descriptor is "
"aborted with the error :const:`errno.ECANCELED`."
msgstr ""

msgid ""
"Linux manages system clock as UTC. A daylight-savings time transition is "
"done by changing time offset only and doesn't cause discontinuous system "
"clock change."
msgstr ""

msgid ""
"Discontinuous system clock change will be caused by the following events:"
msgstr ""

msgid "``settimeofday``"
msgstr ""

msgid "``clock_settime``"
msgstr ""

msgid "set the system date and time by ``date`` command"
msgstr ""

msgid ""
"Return a two-item tuple of (``next_expiration``, ``interval``) from the "
"previous timer state, before this function executed."
msgstr ""

msgid ""
":manpage:`timerfd_create(2)`, :manpage:`timerfd_settime(2)`, :manpage:`settimeofday(2)`, :manpage:`clock_settime(2)`, "
"and :manpage:`date(1)`."
msgstr ""

msgid ""
"Similar to :func:`timerfd_settime`, but use time as nanoseconds. This "
"function operates the same interval timer as :func:`timerfd_settime`."
msgstr ""

msgid "Return a two-item tuple of floats (``next_expiration``, ``interval``)."
msgstr ""

msgid ""
"``next_expiration`` denotes the relative time until the timer next fires, "
"regardless of if the :const:`TFD_TIMER_ABSTIME` flag is set."
msgstr ""

msgid ""
"``interval`` denotes the timer's interval. If zero, the timer will only fire "
"once, after ``next_expiration`` seconds have elapsed."
msgstr ""

msgid ":manpage:`timerfd_gettime(2)`"
msgstr ""

msgid "Similar to :func:`timerfd_gettime`, but return time as nanoseconds."
msgstr ""

msgid ""
"A flag for the :func:`timerfd_create` function, which sets "
"the :const:`O_NONBLOCK` status flag for the new timer file descriptor. "
"If :const:`TFD_NONBLOCK` is not set as a flag, :func:`read` blocks."
msgstr ""

msgid ""
"A flag for the :func:`timerfd_create` function, If :const:`TFD_CLOEXEC` is "
"set as a flag, set close-on-exec flag for new file descriptor."
msgstr ""

msgid ""
"A flag for the :func:`timerfd_settime` and :func:`timerfd_settime_ns` "
"functions. If this flag is set, *initial* is interpreted as an absolute "
"value on the timer's clock (in UTC seconds or nanoseconds since the Unix "
"Epoch)."
msgstr ""

msgid ""
"A flag for the :func:`timerfd_settime` and :func:`timerfd_settime_ns` "
"functions along with :const:`TFD_TIMER_ABSTIME`. The timer is cancelled when "
"the time of the underlying clock changes discontinuously."
msgstr ""

msgid "Linux extended attributes"
msgstr ""

msgid "These functions are all available on Linux only."
msgstr ""

msgid ""
"Return the value of the extended filesystem attribute *attribute* for "
"*path*. *attribute* can be bytes or str (directly or indirectly through "
"the :class:`PathLike` interface). If it is str, it is encoded with the "
"filesystem encoding."
msgstr ""

msgid ""
"Raises an :ref:`auditing event <auditing>` ``os.getxattr`` with arguments "
"``path``, ``attribute``."
msgstr ""

msgid "Accepts a :term:`path-like object` for *path* and *attribute*."
msgstr ""

msgid ""
"Return a list of the extended filesystem attributes on *path*.  The "
"attributes in the list are represented as strings decoded with the "
"filesystem encoding.  If *path* is ``None``, :func:`listxattr` will examine "
"the current directory."
msgstr ""

msgid ""
"Raises an :ref:`auditing event <auditing>` ``os.listxattr`` with argument "
"``path``."
msgstr ""

msgid ""
"``os.listxattr(-1)`` now fails with ``OSError(errno.EBADF)`` rather than "
"listing extended attributes of the current directory."
msgstr ""

msgid ""
"Removes the extended filesystem attribute *attribute* from *path*. "
"*attribute* should be bytes or str (directly or indirectly through "
"the :class:`PathLike` interface). If it is a string, it is encoded with "
"the :term:`filesystem encoding and error handler`."
msgstr ""

msgid ""
"Raises an :ref:`auditing event <auditing>` ``os.removexattr`` with arguments "
"``path``, ``attribute``."
msgstr ""

msgid ""
"Set the extended filesystem attribute *attribute* on *path* to *value*. "
"*attribute* must be a bytes or str with no embedded NULs (directly or "
"indirectly through the :class:`PathLike` interface). If it is a str, it is "
"encoded with the :term:`filesystem encoding and error handler`.  *flags* may "
"be :data:`XATTR_REPLACE` or :data:`XATTR_CREATE`. If :data:`XATTR_REPLACE` "
"is given and the attribute does not exist, ``ENODATA`` will be raised. "
"If :data:`XATTR_CREATE` is given and the attribute already exists, the "
"attribute will not be created and ``EEXISTS`` will be raised."
msgstr ""

msgid ""
"A bug in Linux kernel versions less than 2.6.39 caused the flags argument to "
"be ignored on some filesystems."
msgstr ""

msgid ""
"Raises an :ref:`auditing event <auditing>` ``os.setxattr`` with arguments "
"``path``, ``attribute``, ``value``, ``flags``."
msgstr ""

msgid ""
"The maximum size the value of an extended attribute can be. Currently, this "
"is 64 KiB on Linux."
msgstr ""

msgid ""
"This is a possible value for the flags argument in :func:`setxattr`. It "
"indicates the operation must create an attribute."
msgstr ""

msgid ""
"This is a possible value for the flags argument in :func:`setxattr`. It "
"indicates the operation must replace an existing attribute."
msgstr ""

msgid "Process Management"
msgstr ""

msgid "These functions may be used to create and manage processes."
msgstr ""

msgid ""
"The various :func:`exec\\* <execl>` functions take a list of arguments for "
"the new program loaded into the process.  In each case, the first of these "
"arguments is passed to the new program as its own name rather than as an "
"argument a user may have typed on a command line.  For the C programmer, "
"this is the ``argv[0]`` passed to a program's :c:func:`main`.  For example, "
"``os.execv('/bin/echo', ['foo', 'bar'])`` will only print ``bar`` on "
"standard output; ``foo`` will seem to be ignored."
msgstr ""

msgid ""
"Generate a :const:`~signal.SIGABRT` signal to the current process.  On Unix, "
"the default behavior is to produce a core dump; on Windows, the process "
"immediately returns an exit code of ``3``.  Be aware that calling this "
"function will not call the Python signal handler registered "
"for :const:`~signal.SIGABRT` with :func:`signal.signal`."
msgstr ""

msgid "Add a path to the DLL search path."
msgstr ""

msgid ""
"This search path is used when resolving dependencies for imported extension "
"modules (the module itself is resolved through :data:`sys.path`), and also "
"by :mod:`ctypes`."
msgstr ""

msgid ""
"Remove the directory by calling **close()** on the returned object or using "
"it in a :keyword:`with` statement."
msgstr ""

msgid ""
"See the `Microsoft documentation <https://msdn.microsoft.com/"
"44228cf2-6306-466c-8f16-f513cd3ba8b5>`_ for more information about how DLLs "
"are loaded."
msgstr ""

msgid ""
"Raises an :ref:`auditing event <auditing>` ``os.add_dll_directory`` with "
"argument ``path``."
msgstr ""

msgid ""
"Previous versions of CPython would resolve DLLs using the default behavior "
"for the current process. This led to inconsistencies, such as only sometimes "
"searching :envvar:`PATH` or the current working directory, and OS functions "
"such as ``AddDllDirectory`` having no effect."
msgstr ""

msgid ""
"In 3.8, the two primary ways DLLs are loaded now explicitly override the "
"process-wide behavior to ensure consistency. See the :ref:`porting notes "
"<bpo-36085-whatsnew>` for information on updating libraries."
msgstr ""

msgid ""
"These functions all execute a new program, replacing the current process; "
"they do not return.  On Unix, the new executable is loaded into the current "
"process, and will have the same process id as the caller.  Errors will be "
"reported as :exc:`OSError` exceptions."
msgstr ""

msgid ""
"The current process is replaced immediately. Open file objects and "
"descriptors are not flushed, so if there may be data buffered on these open "
"files, you should flush them using :func:`~io.IOBase.flush` "
"or :func:`os.fsync` before calling an :func:`exec\\* <execl>` function."
msgstr ""

msgid ""
"The \"l\" and \"v\" variants of the :func:`exec\\* <execl>` functions differ "
"in how command-line arguments are passed.  The \"l\" variants are perhaps "
"the easiest to work with if the number of parameters is fixed when the code "
"is written; the individual parameters simply become additional parameters to "
"the :func:`!execl\\*` functions.  The \"v\" variants are good when the "
"number of parameters is variable, with the arguments being passed in a list "
"or tuple as the *args* parameter.  In either case, the arguments to the "
"child process should start with the name of the command being run, but this "
"is not enforced."
msgstr ""

msgid ""
"The variants which include a \"p\" near the end "
"(:func:`execlp`, :func:`execlpe`, :func:`execvp`, and :func:`execvpe`) will "
"use the :envvar:`PATH` environment variable to locate the program *file*.  "
"When the environment is being replaced (using one of the :func:`exec\\*e "
"<execl>` variants, discussed in the next paragraph), the new environment is "
"used as the source of the :envvar:`PATH` variable. The other "
"variants, :func:`execl`, :func:`execle`, :func:`execv`, and :func:`execve`, "
"will not use the :envvar:`PATH` variable to locate the executable; *path* "
"must contain an appropriate absolute or relative path. Relative paths must "
"include at least one slash, even on Windows, as plain names will not be "
"resolved."
msgstr ""

msgid ""
"For :func:`execle`, :func:`execlpe`, :func:`execve`, and :func:`execvpe` "
"(note that these all end in \"e\"), the *env* parameter must be a mapping "
"which is used to define the environment variables for the new process (these "
"are used instead of the current process' environment); the "
"functions :func:`execl`, :func:`execlp`, :func:`execv`, and :func:`execvp` "
"all cause the new process to inherit the environment of the current process."
msgstr ""

msgid ""
"For :func:`execve` on some platforms, *path* may also be specified as an "
"open file descriptor.  This functionality may not be supported on your "
"platform; you can check whether or not it is available "
"using :data:`os.supports_fd`. If it is unavailable, using it will raise "
"a :exc:`NotImplementedError`."
msgstr ""

msgid ""
"Raises an :ref:`auditing event <auditing>` ``os.exec`` with arguments "
"``path``, ``args``, ``env``."
msgstr ""

msgid ""
"Added support for specifying *path* as an open file descriptor "
"for :func:`execve`."
msgstr ""

msgid ""
"Exit the process with status *n*, without calling cleanup handlers, flushing "
"stdio buffers, etc."
msgstr ""

msgid ""
"The standard way to exit is :func:`sys.exit(n) <sys.exit>`.  :func:`!_exit` "
"should normally only be used in the child process after a :func:`fork`."
msgstr ""

msgid ""
"The following exit codes are defined and can be used with :func:`_exit`, "
"although they are not required.  These are typically used for system "
"programs written in Python, such as a mail server's external command "
"delivery program."
msgstr ""

msgid ""
"Some of these may not be available on all Unix platforms, since there is "
"some variation.  These constants are defined where they are defined by the "
"underlying platform."
msgstr ""

msgid ""
"Exit code that means no error occurred. May be taken from the defined value "
"of ``EXIT_SUCCESS`` on some platforms. Generally has a value of zero."
msgstr ""

msgid ""
"Exit code that means the command was used incorrectly, such as when the "
"wrong number of arguments are given."
msgstr ""

msgid "Exit code that means the input data was incorrect."
msgstr ""

msgid "Exit code that means an input file did not exist or was not readable."
msgstr ""

msgid "Exit code that means a specified user did not exist."
msgstr ""

msgid "Exit code that means a specified host did not exist."
msgstr ""

msgid "Exit code that means that a required service is unavailable."
msgstr ""

msgid "Exit code that means an internal software error was detected."
msgstr ""

msgid ""
"Exit code that means an operating system error was detected, such as the "
"inability to fork or create a pipe."
msgstr ""

msgid ""
"Exit code that means some system file did not exist, could not be opened, or "
"had some other kind of error."
msgstr ""

msgid "Exit code that means a user specified output file could not be created."
msgstr ""

msgid ""
"Exit code that means that an error occurred while doing I/O on some file."
msgstr ""

msgid ""
"Exit code that means a temporary failure occurred.  This indicates something "
"that may not really be an error, such as a network connection that couldn't "
"be made during a retryable operation."
msgstr ""

msgid ""
"Exit code that means that a protocol exchange was illegal, invalid, or not "
"understood."
msgstr ""

msgid ""
"Exit code that means that there were insufficient permissions to perform the "
"operation (but not intended for file system problems)."
msgstr ""

msgid "Exit code that means that some kind of configuration error occurred."
msgstr ""

msgid "Exit code that means something like \"an entry was not found\"."
msgstr ""

msgid ""
"Fork a child process.  Return ``0`` in the child and the child's process id "
"in the parent.  If an error occurs :exc:`OSError` is raised."
msgstr ""

msgid ""
"Note that some platforms including FreeBSD <= 6.3 and Cygwin have known "
"issues when using ``fork()`` from a thread."
msgstr ""

msgid ""
"Raises an :ref:`auditing event <auditing>` ``os.fork`` with no arguments."
msgstr ""

msgid ""
"If you use TLS sockets in an application calling ``fork()``, see the warning "
"in the :mod:`ssl` documentation."
msgstr ""

msgid ""
"On macOS the use of this function is unsafe when mixed with using higher-"
"level system APIs, and that includes using :mod:`urllib.request`."
msgstr ""

msgid ""
"Calling ``fork()`` in a subinterpreter is no longer supported "
"(:exc:`RuntimeError` is raised)."
msgstr ""

msgid ""
"If Python is able to detect that your process has multiple "
"threads, :func:`os.fork` now raises a :exc:`DeprecationWarning`."
msgstr ""

msgid ""
"We chose to surface this as a warning, when detectable, to better inform "
"developers of a design problem that the POSIX platform specifically notes as "
"not supported. Even in code that *appears* to work, it has never been safe "
"to mix threading with :func:`os.fork` on POSIX platforms. The CPython "
"runtime itself has always made API calls that are not safe for use in the "
"child process when threads existed in the parent (such as ``malloc`` and "
"``free``)."
msgstr ""

msgid ""
"Users of macOS or users of libc or malloc implementations other than those "
"typically found in glibc to date are among those already more likely to "
"experience deadlocks running such code."
msgstr ""

msgid ""
"See `this discussion on fork being incompatible with threads <https://"
"discuss.python.org/t/33555>`_ for technical details of why we're surfacing "
"this longstanding platform compatibility problem to developers."
msgstr ""

msgid ""
"Fork a child process, using a new pseudo-terminal as the child's controlling "
"terminal. Return a pair of ``(pid, fd)``, where *pid* is ``0`` in the child, "
"the new child's process id in the parent, and *fd* is the file descriptor of "
"the master end of the pseudo-terminal.  For a more portable approach, use "
"the :mod:`pty` module.  If an error occurs :exc:`OSError` is raised."
msgstr ""

msgid ""
"The returned file descriptor *fd* is :ref:`non-inheritable <fd_inheritance>`."
msgstr ""

msgid ""
"Raises an :ref:`auditing event <auditing>` ``os.forkpty`` with no arguments."
msgstr ""

msgid ""
"Calling ``forkpty()`` in a subinterpreter is no longer supported "
"(:exc:`RuntimeError` is raised)."
msgstr ""

msgid ""
"If Python is able to detect that your process has multiple threads, this now "
"raises a :exc:`DeprecationWarning`. See the longer explanation "
"on :func:`os.fork`."
msgstr ""

msgid "The returned file descriptor is now made non-inheritable."
msgstr ""

msgid ""
"Send signal *sig* to the process *pid*.  Constants for the specific signals "
"available on the host platform are defined in the :mod:`signal` module."
msgstr ""

msgid ""
"Windows: The :const:`signal.CTRL_C_EVENT` "
"and :const:`signal.CTRL_BREAK_EVENT` signals are special signals which can "
"only be sent to console processes which share a common console window, e.g., "
"some subprocesses. Any other value for *sig* will cause the process to be "
"unconditionally killed by the TerminateProcess API, and the exit code will "
"be set to *sig*."
msgstr ""

msgid "See also :func:`signal.pthread_kill`."
msgstr ""

msgid ""
"Raises an :ref:`auditing event <auditing>` ``os.kill`` with arguments "
"``pid``, ``sig``."
msgstr ""

msgid "Send the signal *sig* to the process group *pgid*."
msgstr ""

msgid ""
"Raises an :ref:`auditing event <auditing>` ``os.killpg`` with arguments "
"``pgid``, ``sig``."
msgstr ""

msgid ""
"Add *increment* to the process's \"niceness\".  Return the new niceness."
msgstr ""

msgid ""
"Return a file descriptor referring to the process *pid* with *flags* set. "
"This descriptor can be used to perform process management without races and "
"signals."
msgstr ""

msgid "See the :manpage:`pidfd_open(2)` man page for more details."
msgstr ""

msgid ""
"This flag indicates that the file descriptor will be non-blocking. If the "
"process referred to by the file descriptor has not yet terminated, then an "
"attempt to wait on the file descriptor using :manpage:`waitid(2)` will "
"immediately return the error :const:`~errno.EAGAIN` rather than blocking."
msgstr ""

msgid ""
"Lock program segments into memory.  The value of *op* (defined in ``<sys/"
"lock.h>``) determines which segments are locked."
msgstr ""

msgid ""
"Open a pipe to or from command *cmd*. The return value is an open file "
"object connected to the pipe, which can be read or written depending on "
"whether *mode* is ``'r'`` (default) or ``'w'``. The *buffering* argument "
"have the same meaning as the corresponding argument to the built-"
"in :func:`open` function. The returned file object reads or writes text "
"strings rather than bytes."
msgstr ""

msgid ""
"The ``close`` method returns :const:`None` if the subprocess exited "
"successfully, or the subprocess's return code if there was an error. On "
"POSIX systems, if the return code is positive it represents the return value "
"of the process left-shifted by one byte.  If the return code is negative, "
"the process was terminated by the signal given by the negated value of the "
"return code.  (For example, the return value might be ``- signal.SIGKILL`` "
"if the subprocess was killed.)  On Windows systems, the return value "
"contains the signed integer return code from the child process."
msgstr ""

msgid ""
"On Unix, :func:`waitstatus_to_exitcode` can be used to convert the ``close`` "
"method result (exit status) into an exit code if it is not ``None``. On "
"Windows, the ``close`` method result is directly the exit code (or ``None``)."
msgstr ""

msgid ""
"This is implemented using :class:`subprocess.Popen`; see that class's "
"documentation for more powerful ways to manage and communicate with "
"subprocesses."
msgstr ""

msgid ""
"The :ref:`Python UTF-8 Mode <utf8-mode>` affects encodings used for *cmd* "
"and pipe contents."
msgstr ""

msgid ""
":func:`popen` is a simple wrapper around :class:`subprocess.Popen`. "
"Use :class:`subprocess.Popen` or :func:`subprocess.run` to control options "
"like encodings."
msgstr ""

msgid "The :mod:`subprocess` module is recommended instead."
msgstr ""

msgid "Wraps the :c:func:`!posix_spawn` C library API for use from Python."
msgstr ""

msgid ""
"Most users should use :func:`subprocess.run` instead of :func:`posix_spawn`."
msgstr ""

msgid ""
"The positional-only arguments *path*, *args*, and *env* are similar "
"to :func:`execve`. *env* is allowed to be ``None``, in which case current "
"process' environment is used."
msgstr ""

msgid ""
"The *path* parameter is the path to the executable file.  The *path* should "
"contain a directory.  Use :func:`posix_spawnp` to pass an executable file "
"without directory."
msgstr ""

msgid ""
"The *file_actions* argument may be a sequence of tuples describing actions "
"to take on specific file descriptors in the child process between the C "
"library implementation's :c:func:`fork` and :c:func:`exec` steps. The first "
"item in each tuple must be one of the three type indicator listed below "
"describing the remaining tuple elements:"
msgstr ""

msgid "(``os.POSIX_SPAWN_OPEN``, *fd*, *path*, *flags*, *mode*)"
msgstr ""

msgid "Performs ``os.dup2(os.open(path, flags, mode), fd)``."
msgstr ""

msgid "(``os.POSIX_SPAWN_CLOSE``, *fd*)"
msgstr ""

msgid "Performs ``os.close(fd)``."
msgstr ""

msgid "(``os.POSIX_SPAWN_DUP2``, *fd*, *new_fd*)"
msgstr ""

msgid "Performs ``os.dup2(fd, new_fd)``."
msgstr ""

msgid "(``os.POSIX_SPAWN_CLOSEFROM``, *fd*)"
msgstr ""

msgid "Performs ``os.closerange(fd, INF)``."
msgstr ""

msgid ""
"These tuples correspond to the C library :c:func:`!"
"posix_spawn_file_actions_addopen`, :c:func:`!"
"posix_spawn_file_actions_addclose`, :c:func:`!"
"posix_spawn_file_actions_adddup2`, and :c:func:`!"
"posix_spawn_file_actions_addclosefrom_np` API calls used to prepare for "
"the :c:func:`!posix_spawn` call itself."
msgstr ""

msgid ""
"The *setpgroup* argument will set the process group of the child to the "
"value specified. If the value specified is 0, the child's process group ID "
"will be made the same as its process ID. If the value of *setpgroup* is not "
"set, the child will inherit the parent's process group ID. This argument "
"corresponds to the C library :c:macro:`!POSIX_SPAWN_SETPGROUP` flag."
msgstr ""

msgid ""
"If the *resetids* argument is ``True`` it will reset the effective UID and "
"GID of the child to the real UID and GID of the parent process. If the "
"argument is ``False``, then the child retains the effective UID and GID of "
"the parent. In either case, if the set-user-ID and set-group-ID permission "
"bits are enabled on the executable file, their effect will override the "
"setting of the effective UID and GID. This argument corresponds to the C "
"library :c:macro:`!POSIX_SPAWN_RESETIDS` flag."
msgstr ""

msgid ""
"If the *setsid* argument is ``True``, it will create a new session ID for "
"``posix_spawn``. *setsid* requires :c:macro:`!POSIX_SPAWN_SETSID` "
"or :c:macro:`!POSIX_SPAWN_SETSID_NP` flag. "
"Otherwise, :exc:`NotImplementedError` is raised."
msgstr ""

msgid ""
"The *setsigmask* argument will set the signal mask to the signal set "
"specified. If the parameter is not used, then the child inherits the "
"parent's signal mask. This argument corresponds to the C library :c:macro:`!"
"POSIX_SPAWN_SETSIGMASK` flag."
msgstr ""

msgid ""
"The *setsigdef* argument will reset the disposition of all signals in the "
"set specified. This argument corresponds to the C library :c:macro:`!"
"POSIX_SPAWN_SETSIGDEF` flag."
msgstr ""

msgid ""
"The *scheduler* argument must be a tuple containing the (optional) scheduler "
"policy and an instance of :class:`sched_param` with the scheduler "
"parameters. A value of ``None`` in the place of the scheduler policy "
"indicates that is not being provided. This argument is a combination of the "
"C library :c:macro:`!POSIX_SPAWN_SETSCHEDPARAM` and :c:macro:`!"
"POSIX_SPAWN_SETSCHEDULER` flags."
msgstr ""

msgid ""
"Raises an :ref:`auditing event <auditing>` ``os.posix_spawn`` with arguments "
"``path``, ``argv``, ``env``."
msgstr ""

msgid ""
"*env* parameter accepts ``None``. ``os.POSIX_SPAWN_CLOSEFROM`` is available "
"on platforms where :c:func:`!posix_spawn_file_actions_addclosefrom_np` "
"exists."
msgstr ""

msgid "Wraps the :c:func:`!posix_spawnp` C library API for use from Python."
msgstr ""

msgid ""
"Similar to :func:`posix_spawn` except that the system searches for the "
"*executable* file in the list of directories specified by the :envvar:`PATH` "
"environment variable (in the same way as for ``execvp(3)``)."
msgstr ""

msgid "See :func:`posix_spawn` documentation."
msgstr ""

msgid ""
"Register callables to be executed when a new child process is forked "
"using :func:`os.fork` or similar process cloning APIs. The parameters are "
"optional and keyword-only. Each specifies a different call point."
msgstr ""

msgid "*before* is a function called before forking a child process."
msgstr ""

msgid ""
"*after_in_parent* is a function called from the parent process after forking "
"a child process."
msgstr ""

msgid "*after_in_child* is a function called from the child process."
msgstr ""

msgid ""
"These calls are only made if control is expected to return to the Python "
"interpreter.  A typical :mod:`subprocess` launch will not trigger them as "
"the child is not going to re-enter the interpreter."
msgstr ""

msgid ""
"Functions registered for execution before forking are called in reverse "
"registration order.  Functions registered for execution after forking "
"(either in the parent or in the child) are called in registration order."
msgstr ""

msgid ""
"Note that :c:func:`fork` calls made by third-party C code may not call those "
"functions, unless it explicitly "
"calls :c:func:`PyOS_BeforeFork`, :c:func:`PyOS_AfterFork_Parent` "
"and :c:func:`PyOS_AfterFork_Child`."
msgstr ""

msgid "There is no way to unregister a function."
msgstr ""

msgid "Execute the program *file* in a new process."
msgstr ""

msgid ""
"(Note that the :mod:`subprocess` module provides more powerful facilities "
"for spawning new processes and retrieving their results; using that module "
"is preferable to using these functions.  Check especially "
"the :ref:`subprocess-replacements` section.)"
msgstr ""

msgid ""
"If *mode* is :const:`P_NOWAIT`, this function returns the process id of the "
"new process; if *mode* is :const:`P_WAIT`, returns the process's exit code "
"if it exits normally, or ``-signal``, where *signal* is the signal that "
"killed the process.  On Windows, the process id will actually be the process "
"handle, so can be used with the :func:`waitpid` function."
msgstr ""

msgid ""
"Note on VxWorks, this function doesn't return ``-signal`` when the new "
"process is killed. Instead it raises OSError exception."
msgstr ""

msgid ""
"The \"l\" and \"v\" variants of the :func:`spawn\\* <spawnl>` functions "
"differ in how command-line arguments are passed.  The \"l\" variants are "
"perhaps the easiest to work with if the number of parameters is fixed when "
"the code is written; the individual parameters simply become additional "
"parameters to the :func:`!spawnl\\*` functions.  The \"v\" variants are good "
"when the number of parameters is variable, with the arguments being passed "
"in a list or tuple as the *args* parameter.  In either case, the arguments "
"to the child process must start with the name of the command being run."
msgstr ""

msgid ""
"The variants which include a second \"p\" near the end "
"(:func:`spawnlp`, :func:`spawnlpe`, :func:`spawnvp`, and :func:`spawnvpe`) "
"will use the :envvar:`PATH` environment variable to locate the program "
"*file*.  When the environment is being replaced (using one of "
"the :func:`spawn\\*e <spawnl>` variants, discussed in the next paragraph), "
"the new environment is used as the source of the :envvar:`PATH` variable.  "
"The other variants, :func:`spawnl`, :func:`spawnle`, :func:`spawnv`, "
"and :func:`spawnve`, will not use the :envvar:`PATH` variable to locate the "
"executable; *file* must contain an appropriate absolute or relative path."
msgstr ""

msgid ""
"For :func:`spawnle`, :func:`spawnlpe`, :func:`spawnve`, and :func:`spawnvpe` "
"(note that these all end in \"e\"), the *env* parameter must be a mapping "
"which is used to define the environment variables for the new process (they "
"are used instead of the current process' environment); the "
"functions :func:`spawnl`, :func:`spawnlp`, :func:`spawnv`, "
"and :func:`spawnvp` all cause the new process to inherit the environment of "
"the current process.  Note that keys and values in the *env* dictionary must "
"be strings; invalid keys or values will cause the function to fail, with a "
"return value of ``127``."
msgstr ""

msgid ""
"As an example, the following calls to :func:`spawnlp` and :func:`spawnvpe` "
"are equivalent::"
msgstr ""

msgid ""
"import os\n"
"os.spawnlp(os.P_WAIT, 'cp', 'cp', 'index.html', '/dev/null')\n"
"\n"
"L = ['cp', 'index.html', '/dev/null']\n"
"os.spawnvpe(os.P_WAIT, 'cp', L, os.environ)"
msgstr ""

msgid ""
"Raises an :ref:`auditing event <auditing>` ``os.spawn`` with arguments "
"``mode``, ``file``, ``args``, ``env``."
msgstr ""

msgid ""
":func:`spawnlp`, :func:`spawnlpe`, :func:`spawnvp` and :func:`spawnvpe` are "
"not available on Windows.  :func:`spawnle` and :func:`spawnve` are not "
"thread-safe on Windows; we advise you to use the :mod:`subprocess` module "
"instead."
msgstr ""

msgid ""
"Possible values for the *mode* parameter to the :func:`spawn\\* <spawnl>` "
"family of functions.  If either of these values is given, "
"the :func:`spawn\\* <spawnl>` functions will return as soon as the new "
"process has been created, with the process id as the return value."
msgstr ""

msgid ""
"Possible value for the *mode* parameter to the :func:`spawn\\* <spawnl>` "
"family of functions.  If this is given as *mode*, the :func:`spawn\\* "
"<spawnl>` functions will not return until the new process has run to "
"completion and will return the exit code of the process the run is "
"successful, or ``-signal`` if a signal kills the process."
msgstr ""

msgid ""
"Possible values for the *mode* parameter to the :func:`spawn\\* <spawnl>` "
"family of functions.  These are less portable than those listed "
"above. :const:`P_DETACH` is similar to :const:`P_NOWAIT`, but the new "
"process is detached from the console of the calling process. "
"If :const:`P_OVERLAY` is used, the current process will be replaced; "
"the :func:`spawn\\* <spawnl>` function will not return."
msgstr ""

msgid "Start a file with its associated application."
msgstr ""

msgid ""
"When *operation* is not specified, this acts like double-clicking the file "
"in Windows Explorer, or giving the file name as an argument to "
"the :program:`start` command from the interactive command shell: the file is "
"opened with whatever application (if any) its extension is associated."
msgstr ""

msgid ""
"When another *operation* is given, it must be a \"command verb\" that "
"specifies what should be done with the file. Common verbs documented by "
"Microsoft are ``'open'``, ``'print'`` and  ``'edit'`` (to be used on files) "
"as well as ``'explore'`` and ``'find'`` (to be used on directories)."
msgstr ""

msgid ""
"When launching an application, specify *arguments* to be passed as a single "
"string. This argument may have no effect when using this function to launch "
"a document."
msgstr ""

msgid ""
"The default working directory is inherited, but may be overridden by the "
"*cwd* argument. This should be an absolute path. A relative *path* will be "
"resolved against this argument."
msgstr ""

msgid ""
"Use *show_cmd* to override the default window style. Whether this has any "
"effect will depend on the application being launched. Values are integers as "
"supported by the Win32 :c:func:`!ShellExecute` function."
msgstr ""

msgid ""
":func:`startfile` returns as soon as the associated application is launched. "
"There is no option to wait for the application to close, and no way to "
"retrieve the application's exit status.  The *path* parameter is relative to "
"the current directory or *cwd*.  If you want to use an absolute path, make "
"sure the first character is not a slash (``'/'``)  Use :mod:`pathlib` or "
"the :func:`os.path.normpath` function to ensure that paths are properly "
"encoded for Win32."
msgstr ""

msgid ""
"To reduce interpreter startup overhead, the Win32 :c:func:`!ShellExecute` "
"function is not resolved until this function is first called.  If the "
"function cannot be resolved, :exc:`NotImplementedError` will be raised."
msgstr ""

msgid ""
"Raises an :ref:`auditing event <auditing>` ``os.startfile`` with arguments "
"``path``, ``operation``."
msgstr ""

msgid ""
"Raises an :ref:`auditing event <auditing>` ``os.startfile/2`` with arguments "
"``path``, ``operation``, ``arguments``, ``cwd``, ``show_cmd``."
msgstr ""

msgid ""
"Added the *arguments*, *cwd* and *show_cmd* arguments, and the "
"``os.startfile/2`` audit event."
msgstr ""

msgid ""
"Execute the command (a string) in a subshell.  This is implemented by "
"calling the Standard C function :c:func:`system`, and has the same "
"limitations. Changes to :data:`sys.stdin`, etc. are not reflected in the "
"environment of the executed command. If *command* generates any output, it "
"will be sent to the interpreter standard output stream. The C standard does "
"not specify the meaning of the return value of the C function, so the return "
"value of the Python function is system-dependent."
msgstr ""

msgid ""
"On Unix, the return value is the exit status of the process encoded in the "
"format specified for :func:`wait`."
msgstr ""

msgid ""
"On Windows, the return value is that returned by the system shell after "
"running *command*.  The shell is given by the Windows environment "
"variable :envvar:`COMSPEC`: it is usually :program:`cmd.exe`, which returns "
"the exit status of the command run; on systems using a non-native shell, "
"consult your shell documentation."
msgstr ""

msgid ""
"The :mod:`subprocess` module provides more powerful facilities for spawning "
"new processes and retrieving their results; using that module is recommended "
"to using this function.  See the :ref:`subprocess-replacements` section in "
"the :mod:`subprocess` documentation for some helpful recipes."
msgstr ""

msgid ""
"On Unix, :func:`waitstatus_to_exitcode` can be used to convert the result "
"(exit status) into an exit code. On Windows, the result is directly the exit "
"code."
msgstr ""

msgid ""
"Raises an :ref:`auditing event <auditing>` ``os.system`` with argument "
"``command``."
msgstr ""

msgid ""
"Returns the current global process times. The return value is an object with "
"five attributes:"
msgstr ""

msgid ":attr:`!user` - user time"
msgstr ""

msgid ":attr:`!system` - system time"
msgstr ""

msgid ":attr:`!children_user` - user time of all child processes"
msgstr ""

msgid ":attr:`!children_system` - system time of all child processes"
msgstr ""

msgid ":attr:`!elapsed` - elapsed real time since a fixed point in the past"
msgstr ""

msgid ""
"For backwards compatibility, this object also behaves like a five-tuple "
"containing :attr:`!user`, :attr:`!system`, :attr:`!children_user`, :attr:`!"
"children_system`, and :attr:`!elapsed` in that order."
msgstr ""

msgid ""
"See the Unix manual page :manpage:`times(2)` and `times(3) <https://"
"man.freebsd.org/cgi/man.cgi?time(3)>`_ manual page on Unix or `the "
"GetProcessTimes MSDN <https://docs.microsoft.com/windows/win32/api/"
"processthreadsapi/nf-processthreadsapi-getprocesstimes>`_ on Windows. On "
"Windows, only :attr:`!user` and :attr:`!system` are known; the other "
"attributes are zero."
msgstr ""

msgid ""
"Wait for completion of a child process, and return a tuple containing its "
"pid and exit status indication: a 16-bit number, whose low byte is the "
"signal number that killed the process, and whose high byte is the exit "
"status (if the signal number is zero); the high bit of the low byte is set "
"if a core file was produced."
msgstr ""

msgid ""
"If there are no children that could be waited for, :exc:`ChildProcessError` "
"is raised."
msgstr ""

msgid ""
":func:`waitstatus_to_exitcode` can be used to convert the exit status into "
"an exit code."
msgstr ""

msgid ""
"The other :func:`!wait*` functions documented below can be used to wait for "
"the completion of a specific child process and have more "
"options. :func:`waitpid` is the only one also available on Windows."
msgstr ""

msgid "Wait for the completion of a child process."
msgstr ""

msgid ""
"*idtype* can be :data:`P_PID`, :data:`P_PGID`, :data:`P_ALL`, or (on "
"Linux) :data:`P_PIDFD`. The interpretation of *id* depends on it; see their "
"individual descriptions."
msgstr ""

msgid ""
"*options* is an OR combination of flags.  At least one "
"of :data:`WEXITED`, :data:`WSTOPPED` or :data:`WCONTINUED` is "
"required; :data:`WNOHANG` and :data:`WNOWAIT` are additional optional flags."
msgstr ""

msgid ""
"The return value is an object representing the data contained in "
"the :c:type:`siginfo_t` structure with the following attributes:"
msgstr ""

msgid ":attr:`!si_pid` (process ID)"
msgstr ""

msgid ":attr:`!si_uid` (real user ID of the child)"
msgstr ""

msgid ":attr:`!si_signo` (always :const:`~signal.SIGCHLD`)"
msgstr ""

msgid ""
":attr:`!si_status` (the exit status or signal number, depending on :attr:`!"
"si_code`)"
msgstr ""

msgid ":attr:`!si_code` (see :data:`CLD_EXITED` for possible values)"
msgstr ""

msgid ""
"If :data:`WNOHANG` is specified and there are no matching children in the "
"requested state, ``None`` is returned. Otherwise, if there are no matching "
"children that could be waited for, :exc:`ChildProcessError` is raised."
msgstr ""

msgid "This function is now available on macOS as well."
msgstr ""

msgid "The details of this function differ on Unix and Windows."
msgstr ""

msgid ""
"On Unix: Wait for completion of a child process given by process id *pid*, "
"and return a tuple containing its process id and exit status indication "
"(encoded as for :func:`wait`).  The semantics of the call are affected by "
"the value of the integer *options*, which should be ``0`` for normal "
"operation."
msgstr ""

msgid ""
"If *pid* is greater than ``0``, :func:`waitpid` requests status information "
"for that specific process.  If *pid* is ``0``, the request is for the status "
"of any child in the process group of the current process.  If *pid* is "
"``-1``, the request pertains to any child of the current process.  If *pid* "
"is less than ``-1``, status is requested for any process in the process "
"group ``-pid`` (the absolute value of *pid*)."
msgstr ""

msgid ""
"*options* is an OR combination of flags.  If it contains :data:`WNOHANG` and "
"there are no matching children in the requested state, ``(0, 0)`` is "
"returned.  Otherwise, if there are no matching children that could be waited "
"for, :exc:`ChildProcessError` is raised.  Other options that can be used "
"are :data:`WUNTRACED` and :data:`WCONTINUED`."
msgstr ""

msgid ""
"On Windows: Wait for completion of a process given by process handle *pid*, "
"and return a tuple containing *pid*, and its exit status shifted left by 8 "
"bits (shifting makes cross-platform use of the function easier). A *pid* "
"less than or equal to ``0`` has no special meaning on Windows, and raises an "
"exception. The value of integer *options* has no effect. *pid* can refer to "
"any process whose id is known, not necessarily a child process. "
"The :func:`spawn\\* <spawnl>` functions called with :const:`P_NOWAIT` return "
"suitable process handles."
msgstr ""

msgid ""
"Similar to :func:`waitpid`, except no process id argument is given and a 3-"
"element tuple containing the child's process id, exit status indication, and "
"resource usage information is returned.  Refer to :func:`resource.getrusage` "
"for details on resource usage information.  The *options* argument is the "
"same as that provided to :func:`waitpid` and :func:`wait4`."
msgstr ""

msgid ""
":func:`waitstatus_to_exitcode` can be used to convert the exit status into "
"an exitcode."
msgstr ""

msgid ""
"Similar to :func:`waitpid`, except a 3-element tuple, containing the child's "
"process id, exit status indication, and resource usage information is "
"returned.  Refer to :func:`resource.getrusage` for details on resource usage "
"information.  The arguments to :func:`wait4` are the same as those provided "
"to :func:`waitpid`."
msgstr ""

msgid ""
"These are the possible values for *idtype* in :func:`waitid`. They affect "
"how *id* is interpreted:"
msgstr ""

msgid ":data:`!P_PID` - wait for the child whose PID is *id*."
msgstr ""

msgid ":data:`!P_PGID` - wait for any child whose progress group ID is *id*."
msgstr ""

msgid ":data:`!P_ALL` - wait for any child; *id* is ignored."
msgstr ""

msgid ""
":data:`!P_PIDFD` - wait for the child identified by the file descriptor *id* "
"(a process file descriptor created with :func:`pidfd_open`)."
msgstr ""

msgid ":data:`!P_PIDFD` is only available on Linux >= 5.4."
msgstr ""

msgid "The :data:`!P_PIDFD` constant."
msgstr ""

msgid ""
"This *options* flag for :func:`waitpid`, :func:`wait3`, :func:`wait4`, "
"and :func:`waitid` causes child processes to be reported if they have been "
"continued from a job control stop since they were last reported."
msgstr ""

msgid ""
"This *options* flag for :func:`waitid` causes child processes that have "
"terminated to be reported."
msgstr ""

msgid ""
"The other ``wait*`` functions always report children that have terminated, "
"so this option is not available for them."
msgstr ""

msgid ""
"This *options* flag for :func:`waitid` causes child processes that have been "
"stopped by the delivery of a signal to be reported."
msgstr ""

msgid "This option is not available for the other ``wait*`` functions."
msgstr ""

msgid ""
"This *options* flag for :func:`waitpid`, :func:`wait3`, and :func:`wait4` "
"causes child processes to also be reported if they have been stopped but "
"their current state has not been reported since they were stopped."
msgstr ""

msgid "This option is not available for :func:`waitid`."
msgstr ""

msgid ""
"This *options* flag causes :func:`waitpid`, :func:`wait3`, :func:`wait4`, "
"and :func:`waitid` to return right away if no child process status is "
"available immediately."
msgstr ""

msgid ""
"This *options* flag causes :func:`waitid` to leave the child in a waitable "
"state, so that a later :func:`!wait*` call can be used to retrieve the child "
"status information again."
msgstr ""

msgid ""
"These are the possible values for :attr:`!si_code` in the result returned "
"by :func:`waitid`."
msgstr ""

msgid "Added :data:`CLD_KILLED` and :data:`CLD_STOPPED` values."
msgstr ""

msgid "Convert a wait status to an exit code."
msgstr ""

msgid "On Unix:"
msgstr ""

msgid ""
"If the process exited normally (if ``WIFEXITED(status)`` is true), return "
"the process exit status (return ``WEXITSTATUS(status)``): result greater "
"than or equal to 0."
msgstr ""

msgid ""
"If the process was terminated by a signal (if ``WIFSIGNALED(status)`` is "
"true), return ``-signum`` where *signum* is the number of the signal that "
"caused the process to terminate (return ``-WTERMSIG(status)``): result less "
"than 0."
msgstr ""

msgid "Otherwise, raise a :exc:`ValueError`."
msgstr ""

msgid "On Windows, return *status* shifted right by 8 bits."
msgstr ""

msgid ""
"On Unix, if the process is being traced or if :func:`waitpid` was called "
"with :data:`WUNTRACED` option, the caller must first check if "
"``WIFSTOPPED(status)`` is true. This function must not be called if "
"``WIFSTOPPED(status)`` is true."
msgstr ""

msgid ""
":func:`WIFEXITED`, :func:`WEXITSTATUS`, :func:`WIFSIGNALED`, :func:`WTERMSIG`, :func:`WIFSTOPPED`, :func:`WSTOPSIG` "
"functions."
msgstr ""

msgid ""
"The following functions take a process status code as returned "
"by :func:`system`, :func:`wait`, or :func:`waitpid` as a parameter.  They "
"may be used to determine the disposition of a process."
msgstr ""

msgid ""
"Return ``True`` if a core dump was generated for the process, otherwise "
"return ``False``."
msgstr ""

msgid "This function should be employed only if :func:`WIFSIGNALED` is true."
msgstr ""

msgid ""
"Return ``True`` if a stopped child has been resumed by delivery "
"of :const:`~signal.SIGCONT` (if the process has been continued from a job "
"control stop), otherwise return ``False``."
msgstr ""

msgid "See :data:`WCONTINUED` option."
msgstr ""

msgid ""
"Return ``True`` if the process was stopped by delivery of a signal, "
"otherwise return ``False``."
msgstr ""

msgid ""
":func:`WIFSTOPPED` only returns ``True`` if the :func:`waitpid` call was "
"done using :data:`WUNTRACED` option or when the process is being traced "
"(see :manpage:`ptrace(2)`)."
msgstr ""

msgid ""
"Return ``True`` if the process was terminated by a signal, otherwise return "
"``False``."
msgstr ""

msgid ""
"Return ``True`` if the process exited terminated normally, that is, by "
"calling ``exit()`` or ``_exit()``, or by returning from ``main()``; "
"otherwise return ``False``."
msgstr ""

msgid "Return the process exit status."
msgstr ""

msgid "This function should be employed only if :func:`WIFEXITED` is true."
msgstr ""

msgid "Return the signal which caused the process to stop."
msgstr ""

msgid "This function should be employed only if :func:`WIFSTOPPED` is true."
msgstr ""

msgid "Return the number of the signal that caused the process to terminate."
msgstr ""

msgid "Interface to the scheduler"
msgstr ""

msgid ""
"These functions control how a process is allocated CPU time by the operating "
"system. They are only available on some Unix platforms. For more detailed "
"information, consult your Unix manpages."
msgstr ""

msgid ""
"The following scheduling policies are exposed if they are supported by the "
"operating system."
msgstr ""

msgid "The default scheduling policy."
msgstr ""

msgid ""
"Scheduling policy for CPU-intensive processes that tries to preserve "
"interactivity on the rest of the computer."
msgstr ""

msgid "Scheduling policy for tasks with deadline constraints."
msgstr ""

msgid "Scheduling policy for extremely low priority background tasks."
msgstr ""

msgid "Alias for :data:`SCHED_OTHER`."
msgstr ""

msgid "Scheduling policy for sporadic server programs."
msgstr ""

msgid "A First In First Out scheduling policy."
msgstr ""

msgid "A round-robin scheduling policy."
msgstr ""

msgid ""
"This flag can be OR'ed with any other scheduling policy. When a process with "
"this flag set forks, its child's scheduling policy and priority are reset to "
"the default."
msgstr ""

msgid ""
"This class represents tunable scheduling parameters used "
"in :func:`sched_setparam`, :func:`sched_setscheduler`, "
"and :func:`sched_getparam`. It is immutable."
msgstr ""

msgid "At the moment, there is only one possible parameter:"
msgstr ""

msgid "The scheduling priority for a scheduling policy."
msgstr ""

msgid ""
"Get the minimum priority value for *policy*. *policy* is one of the "
"scheduling policy constants above."
msgstr ""

msgid ""
"Get the maximum priority value for *policy*. *policy* is one of the "
"scheduling policy constants above."
msgstr ""

msgid ""
"Set the scheduling policy for the process with PID *pid*. A *pid* of 0 means "
"the calling process. *policy* is one of the scheduling policy constants "
"above. *param* is a :class:`sched_param` instance."
msgstr ""

msgid ""
"Return the scheduling policy for the process with PID *pid*. A *pid* of 0 "
"means the calling process. The result is one of the scheduling policy "
"constants above."
msgstr ""

msgid ""
"Set the scheduling parameters for the process with PID *pid*. A *pid* of 0 "
"means the calling process. *param* is a :class:`sched_param` instance."
msgstr ""

msgid ""
"Return the scheduling parameters as a :class:`sched_param` instance for the "
"process with PID *pid*. A *pid* of 0 means the calling process."
msgstr ""

msgid ""
"Return the round-robin quantum in seconds for the process with PID *pid*. A "
"*pid* of 0 means the calling process."
msgstr ""

msgid ""
"Voluntarily relinquish the CPU. See :manpage:`sched_yield(2)` for details."
msgstr ""

msgid ""
"Restrict the process with PID *pid* (or the current process if zero) to a "
"set of CPUs.  *mask* is an iterable of integers representing the set of CPUs "
"to which the process should be restricted."
msgstr ""

msgid "Return the set of CPUs the process with PID *pid* is restricted to."
msgstr ""

msgid ""
"If *pid* is zero, return the set of CPUs the calling thread of the current "
"process is restricted to."
msgstr ""

msgid "See also the :func:`process_cpu_count` function."
msgstr ""

msgid "Miscellaneous System Information"
msgstr ""

msgid ""
"Return string-valued system configuration values. *name* specifies the "
"configuration value to retrieve; it may be a string which is the name of a "
"defined system value; these names are specified in a number of standards "
"(POSIX, Unix 95, Unix 98, and others).  Some platforms define additional "
"names as well. The names known to the host operating system are given as the "
"keys of the ``confstr_names`` dictionary.  For configuration variables not "
"included in that mapping, passing an integer for *name* is also accepted."
msgstr ""

msgid ""
"If the configuration value specified by *name* isn't defined, ``None`` is "
"returned."
msgstr ""

msgid ""
"If *name* is a string and is not known, :exc:`ValueError` is raised.  If a "
"specific value for *name* is not supported by the host system, even if it is "
"included in ``confstr_names``, an :exc:`OSError` is raised "
"with :const:`errno.EINVAL` for the error number."
msgstr ""

msgid ""
"Dictionary mapping names accepted by :func:`confstr` to the integer values "
"defined for those names by the host operating system. This can be used to "
"determine the set of names known to the system."
msgstr ""

msgid ""
"Return the number of logical CPUs in the **system**. Returns ``None`` if "
"undetermined."
msgstr ""

msgid ""
"The :func:`process_cpu_count` function can be used to get the number of "
"logical CPUs usable by the calling thread of the **current process**."
msgstr ""

msgid ""
"If :option:`-X cpu_count <-X>` is given or :envvar:`PYTHON_CPU_COUNT` is "
"set, :func:`cpu_count` returns the override value *n*."
msgstr ""

msgid ""
"Return the number of processes in the system run queue averaged over the "
"last 1, 5, and 15 minutes or raises :exc:`OSError` if the load average was "
"unobtainable."
msgstr ""

msgid ""
"Get the number of logical CPUs usable by the calling thread of the **current "
"process**. Returns ``None`` if undetermined. It can be less "
"than :func:`cpu_count` depending on the CPU affinity."
msgstr ""

msgid ""
"The :func:`cpu_count` function can be used to get the number of logical CPUs "
"in the **system**."
msgstr ""

msgid ""
"If :option:`-X cpu_count <-X>` is given or :envvar:`PYTHON_CPU_COUNT` is "
"set, :func:`process_cpu_count` returns the override value *n*."
msgstr ""

msgid "See also the :func:`sched_getaffinity` function."
msgstr ""

msgid ""
"Return integer-valued system configuration values. If the configuration "
"value specified by *name* isn't defined, ``-1`` is returned.  The comments "
"regarding the *name* parameter for :func:`confstr` apply here as well; the "
"dictionary that provides information on the known names is given by "
"``sysconf_names``."
msgstr ""

msgid ""
"Dictionary mapping names accepted by :func:`sysconf` to the integer values "
"defined for those names by the host operating system. This can be used to "
"determine the set of names known to the system."
msgstr ""

msgid "Add ``'SC_MINSIGSTKSZ'`` name."
msgstr ""

msgid ""
"The following data values are used to support path manipulation operations.  "
"These are defined for all platforms."
msgstr ""

msgid ""
"Higher-level operations on pathnames are defined in the :mod:`os.path` "
"module."
msgstr ""

msgid ""
"The constant string used by the operating system to refer to the current "
"directory. This is ``'.'`` for Windows and POSIX. Also available "
"via :mod:`os.path`."
msgstr ""

msgid ""
"The constant string used by the operating system to refer to the parent "
"directory. This is ``'..'`` for Windows and POSIX. Also available "
"via :mod:`os.path`."
msgstr ""

msgid ""
"The character used by the operating system to separate pathname components. "
"This is ``'/'`` for POSIX and ``'\\\\'`` for Windows.  Note that knowing "
"this is not sufficient to be able to parse or concatenate pathnames --- "
"use :func:`os.path.split` and :func:`os.path.join` --- but it is "
"occasionally useful. Also available via :mod:`os.path`."
msgstr ""

msgid ""
"An alternative character used by the operating system to separate pathname "
"components, or ``None`` if only one separator character exists.  This is set "
"to ``'/'`` on Windows systems where ``sep`` is a backslash. Also available "
"via :mod:`os.path`."
msgstr ""

msgid ""
"The character which separates the base filename from the extension; for "
"example, the ``'.'`` in :file:`os.py`. Also available via :mod:`os.path`."
msgstr ""

msgid ""
"The character conventionally used by the operating system to separate search "
"path components (as in :envvar:`PATH`), such as ``':'`` for POSIX or ``';'`` "
"for Windows. Also available via :mod:`os.path`."
msgstr ""

msgid ""
"The default search path used by :func:`exec\\*p\\* <execl>` "
"and :func:`spawn\\*p\\* <spawnl>` if the environment doesn't have a "
"``'PATH'`` key. Also available via :mod:`os.path`."
msgstr ""

msgid ""
"The string used to separate (or, rather, terminate) lines on the current "
"platform.  This may be a single character, such as ``'\\n'`` for POSIX, or "
"multiple characters, for example, ``'\\r\\n'`` for Windows. Do not use "
"*os.linesep* as a line terminator when writing files opened in text mode "
"(the default); use a single ``'\\n'`` instead, on all platforms."
msgstr ""

msgid ""
"The file path of the null device. For example: ``'/dev/null'`` for POSIX, "
"``'nul'`` for Windows.  Also available via :mod:`os.path`."
msgstr ""

msgid ""
"Flags for use with the :func:`~sys.setdlopenflags` "
"and :func:`~sys.getdlopenflags` functions.  See the Unix manual "
"page :manpage:`dlopen(3)` for what the different flags mean."
msgstr ""

msgid "Random numbers"
msgstr ""

msgid ""
"Get up to *size* random bytes. The function can return less bytes than "
"requested."
msgstr ""

msgid ""
"These bytes can be used to seed user-space random number generators or for "
"cryptographic purposes."
msgstr ""

msgid ""
"``getrandom()`` relies on entropy gathered from device drivers and other "
"sources of environmental noise. Unnecessarily reading large quantities of "
"data will have a negative impact on  other users  of the ``/dev/random`` and "
"``/dev/urandom`` devices."
msgstr ""

msgid ""
"The flags argument is a bit mask that can contain zero or more of the "
"following values ORed together: :py:const:`os.GRND_RANDOM` "
"and :py:data:`GRND_NONBLOCK`."
msgstr ""

msgid ""
"See also the `Linux getrandom() manual page <https://man7.org/linux/man-"
"pages/man2/getrandom.2.html>`_."
msgstr ""

msgid ""
"Return a bytestring of *size* random bytes suitable for cryptographic use."
msgstr ""

msgid ""
"This function returns random bytes from an OS-specific randomness source.  "
"The returned data should be unpredictable enough for cryptographic "
"applications, though its exact quality depends on the OS implementation."
msgstr ""

msgid ""
"On Linux, if the ``getrandom()`` syscall is available, it is used in "
"blocking mode: block until the system urandom entropy pool is initialized "
"(128 bits of entropy are collected by the kernel). See the :pep:`524` for "
"the rationale. On Linux, the :func:`getrandom` function can be used to get "
"random bytes in non-blocking mode (using the :data:`GRND_NONBLOCK` flag) or "
"to poll until the system urandom entropy pool is initialized."
msgstr ""

msgid ""
"On other Unix-like systems, the C ``getrandom()`` function is used if it is "
"available, otherwise the C ``getentropy()`` function."
msgstr ""

msgid ""
"If none of these functions can be used, random bytes are read from the ``/"
"dev/urandom`` device. If the ``/dev/urandom`` device is not available or not "
"readable, the :exc:`NotImplementedError` exception is raised."
msgstr ""

msgid "On Windows, it will use ``BCryptGenRandom()``."
msgstr ""

msgid ""
"The :mod:`secrets` module provides higher level functions. For an easy-to-"
"use interface to the random number generator provided by your platform, "
"please see :class:`random.SystemRandom`."
msgstr ""

msgid ""
"On Linux 3.17 and newer, the ``getrandom()`` syscall is now used when "
"available.  On OpenBSD 5.6 and newer, the C ``getentropy()`` function is now "
"used. These functions avoid the usage of an internal file descriptor."
msgstr ""

msgid ""
"On Linux, if the ``getrandom()`` syscall blocks (the urandom entropy pool is "
"not initialized yet), fall back on reading ``/dev/urandom``."
msgstr ""

msgid ""
"On Linux, ``getrandom()`` is now used in blocking mode to increase the "
"security."
msgstr ""

msgid ""
"On Windows, ``BCryptGenRandom()`` is used instead of ``CryptGenRandom()`` "
"which is deprecated."
msgstr ""

msgid ""
"By  default, when reading from ``/dev/random``, :func:`getrandom` blocks if "
"no random bytes are available, and when reading from ``/dev/urandom``, it "
"blocks if the entropy pool has not yet been initialized."
msgstr ""

msgid ""
"If the :py:data:`GRND_NONBLOCK` flag is set, then :func:`getrandom` does not "
"block in these cases, but instead immediately raises :exc:`BlockingIOError`."
msgstr ""

msgid ""
"If  this  bit  is  set,  then  random bytes are drawn from the ``/dev/"
"random`` pool instead of the ``/dev/urandom`` pool."
msgstr ""

msgid "user"
msgstr ""

msgid "effective id"
msgstr ""

msgid "process"
msgstr ""

msgid "group"
msgstr ""

msgid "id"
msgstr "id"

msgid "id of parent"
msgstr ""

msgid "scheduling priority"
msgstr ""

msgid "environment variables"
msgstr ""

msgid "setting"
msgstr ""

msgid "id, setting"
msgstr ""

msgid "gethostname() (in module socket)"
msgstr ""

msgid "gethostbyaddr() (in module socket)"
msgstr ""

msgid "deleting"
msgstr ""

msgid "module"
msgstr "modul"

msgid "pty"
msgstr "pty"

msgid "directory"
msgstr ""

msgid "changing"
msgstr ""

msgid "creating"
msgstr ""

msgid "UNC paths"
msgstr ""

msgid "and os.makedirs()"
msgstr ""

msgid "stat"
msgstr "stat"

msgid "walking"
msgstr ""

msgid "traversal"
msgstr ""

msgid "killing"
msgstr ""

msgid "signalling"
msgstr ""

msgid ". (dot)"
msgstr ""

msgid "in pathnames"
msgstr ""

msgid ".."
msgstr ""

msgid "/ (slash)"
msgstr ""

msgid "\\ (backslash)"
msgstr ""

msgid "in pathnames (Windows)"
msgstr ""

msgid ": (colon)"
msgstr ""

msgid "path separator (POSIX)"
msgstr ""

msgid "; (semicolon)"
msgstr ""
