Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
cpython
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
Batuhan Osman TASKAYA
cpython
Commits
2799f9d0
Kaydet (Commit)
2799f9d0
authored
Nis 21, 1999
tarafından
Fred Drake
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Reflow paragraph to work around LaTeX2HTML dropping a space.
Make all references to the os module hyperlinks.
üst
6d20caa2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
libposix.tex
Doc/lib/libposix.tex
+6
-6
No files found.
Doc/lib/libposix.tex
Dosyayı görüntüle @
2799f9d0
...
...
@@ -4,7 +4,7 @@
\declaremodule
{
builtin
}{
posix
}
\platform
{
Unix
}
\modulesynopsis
{
The most common
\POSIX
{}
system calls (normally used
via module
\module
{
os
}
).
}
via module
\module
{
os
}
).
}
This module provides access to operating system functionality that is
...
...
@@ -13,12 +13,12 @@ disguised \UNIX{} interface).
\strong
{
Do not import this module directly.
}
Instead, import the
module
\refmodule
{
os
}
, which provides a
\emph
{
portable
}
version of this
interface. On
\UNIX
{}
, the
\module
{
os
}
module provides a superset of
interface. On
\UNIX
{}
, the
\
ref
module
{
os
}
module provides a superset of
the
\module
{
posix
}
interface. On non-
\UNIX
{}
operating systems the
\module
{
posix
}
module is not available, but a subset is always
available through the
\
module
{
os
}
interface. Once
\
module
{
os
}
is
available through the
\
refmodule
{
os
}
interface. Once
\ref
module
{
os
}
is
imported, there is
\emph
{
no
}
performance penalty in using it instead
of
\module
{
posix
}
. In addition,
\module
{
os
}
\refstmodindex
{
os
}
of
\module
{
posix
}
. In addition,
\
ref
module
{
os
}
\refstmodindex
{
os
}
provides some additional functionality, such as automatically calling
\function
{
putenv()
}
when an entry in
\code
{
os.environ
}
is changed.
...
...
@@ -68,8 +68,8 @@ Module \module{posix} defines the following data item:
\begin
{
datadesc
}{
environ
}
A dictionary representing the string environment at the time the
interpreter was started. For example,
\code
{
environ
[
'HOME'
]
}
is the
pathname of your home directory, equivalent to
\code
{
getenv
(
"HOME"
)
}
in C.
pathname of your home directory, equivalent to
\code
{
getenv
(
"HOME"
)
}
in C.
Modifying this dictionary does not affect the string environment
passed on by
\function
{
execv
()
}
,
\function
{
popen
()
}
or
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment