# Copyright (C) 2001-2018, Python Software Foundation # For licence information, see README file. # #, fuzzy msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-04-02 22:11+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" "Language: fr\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #: ../Doc/library/posix.rst:2 msgid ":mod:`posix` --- The most common POSIX system calls" msgstr "" #: ../Doc/library/posix.rst:10 msgid "" "This module provides access to operating system functionality that is " "standardized by the C Standard and the POSIX standard (a thinly disguised " "Unix interface)." msgstr "" #: ../Doc/library/posix.rst:16 msgid "" "**Do not import this module directly.** Instead, import the module :mod:" "`os`, which provides a *portable* version of this interface. On Unix, the :" "mod:`os` module provides a superset of the :mod:`posix` interface. On non-" "Unix operating systems the :mod:`posix` module is not available, but a " "subset is always available through the :mod:`os` interface. Once :mod:`os` " "is imported, there is *no* performance penalty in using it instead of :mod:" "`posix`. In addition, :mod:`os` provides some additional functionality, " "such as automatically calling :func:`~os.putenv` when an entry in ``os." "environ`` is changed." msgstr "" #: ../Doc/library/posix.rst:25 msgid "" "Errors are reported as exceptions; the usual exceptions are given for type " "errors, while errors reported by the system calls raise :exc:`OSError`." msgstr "" #: ../Doc/library/posix.rst:32 msgid "Large File Support" msgstr "" #: ../Doc/library/posix.rst:40 msgid "" "Several operating systems (including AIX, HP-UX, Irix and Solaris) provide " "support for files that are larger than 2 GiB from a C programming model " "where :c:type:`int` and :c:type:`long` are 32-bit values. This is typically " "accomplished by defining the relevant size and offset types as 64-bit " "values. Such files are sometimes referred to as :dfn:`large files`." msgstr "" #: ../Doc/library/posix.rst:46 msgid "" "Large file support is enabled in Python when the size of an :c:type:`off_t` " "is larger than a :c:type:`long` and the :c:type:`long long` type is " "available and is at least as large as an :c:type:`off_t`. It may be " "necessary to configure and compile Python with certain compiler flags to " "enable this mode. For example, it is enabled by default with recent versions " "of Irix, but with Solaris 2.6 and 2.7 you need to do something like::" msgstr "" #: ../Doc/library/posix.rst:56 msgid "On large-file-capable Linux systems, this might work::" msgstr "" #: ../Doc/library/posix.rst:65 msgid "Notable Module Contents" msgstr "" #: ../Doc/library/posix.rst:67 msgid "" "In addition to many functions described in the :mod:`os` module " "documentation, :mod:`posix` defines the following data item:" msgstr "" #: ../Doc/library/posix.rst:72 msgid "" "A dictionary representing the string environment at the time the interpreter " "was started. Keys and values are bytes on Unix and str on Windows. For " "example, ``environ[b'HOME']`` (``environ['HOME']`` on Windows) is the " "pathname of your home directory, equivalent to ``getenv(\"HOME\")`` in C." msgstr "" #: ../Doc/library/posix.rst:77 msgid "" "Modifying this dictionary does not affect the string environment passed on " "by :func:`~os.execv`, :func:`~os.popen` or :func:`~os.system`; if you need " "to change the environment, pass ``environ`` to :func:`~os.execve` or add " "variable assignments and export statements to the command string for :func:" "`~os.system` or :func:`~os.popen`." msgstr "" #: ../Doc/library/posix.rst:83 msgid "On Unix, keys and values are bytes." msgstr "" #: ../Doc/library/posix.rst:88 msgid "" "The :mod:`os` module provides an alternate implementation of ``environ`` " "which updates the environment on modification. Note also that updating :data:" "`os.environ` will render this dictionary obsolete. Use of the :mod:`os` " "module version of this is recommended over direct access to the :mod:`posix` " "module." msgstr ""