Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
3a228115
Commit
3a228115
authored
Apr 21, 1999
by
Fred Drake
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Reflow paragraph to work around LaTeX2HTML dropping a space.
Make all references to the os module hyperlinks.
parent
8db5c5c1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
Doc/lib/libposix.tex
Doc/lib/libposix.tex
+6
-6
No files found.
Doc/lib/libposix.tex
View file @
3a228115
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
\declaremodule
{
builtin
}{
posix
}
\declaremodule
{
builtin
}{
posix
}
\platform
{
Unix
}
\platform
{
Unix
}
\modulesynopsis
{
The most common
\POSIX
{}
system calls (normally used
\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
This module provides access to operating system functionality that is
...
@@ -13,12 +13,12 @@ disguised \UNIX{} interface).
...
@@ -13,12 +13,12 @@ disguised \UNIX{} interface).
\strong
{
Do not import this module directly.
}
Instead, import the
\strong
{
Do not import this module directly.
}
Instead, import the
module
\refmodule
{
os
}
, which provides a
\emph
{
portable
}
version of this
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
the
\module
{
posix
}
interface. On non-
\UNIX
{}
operating systems the
\module
{
posix
}
module is not available, but a subset is always
\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
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
provides some additional functionality, such as automatically calling
\function
{
putenv()
}
when an entry in
\code
{
os.environ
}
is changed.
\function
{
putenv()
}
when an entry in
\code
{
os.environ
}
is changed.
...
@@ -68,8 +68,8 @@ Module \module{posix} defines the following data item:
...
@@ -68,8 +68,8 @@ Module \module{posix} defines the following data item:
\begin
{
datadesc
}{
environ
}
\begin
{
datadesc
}{
environ
}
A dictionary representing the string environment at the time the
A dictionary representing the string environment at the time the
interpreter was started. For example,
\code
{
environ
[
'HOME'
]
}
is the
interpreter was started. For example,
\code
{
environ
[
'HOME'
]
}
is the
pathname of your home directory, equivalent to
\code
{
getenv
(
"HOME"
)
}
pathname of your home directory, equivalent to
in C.
\code
{
getenv
(
"HOME"
)
}
in C.
Modifying this dictionary does not affect the string environment
Modifying this dictionary does not affect the string environment
passed on by
\function
{
execv
()
}
,
\function
{
popen
()
}
or
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