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
72520eee
Commit
72520eee
authored
Feb 12, 1998
by
Fred Drake
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Py_Exit(status) calls exit(status), not exit(0).
parent
6346878d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
Doc/api.tex
Doc/api.tex
+1
-1
Doc/api/api.tex
Doc/api/api.tex
+1
-1
No files found.
Doc/api.tex
View file @
72520eee
...
@@ -538,7 +538,7 @@ called which will attempt to produce a \file{core} file.
...
@@ -538,7 +538,7 @@ called which will attempt to produce a \file{core} file.
\begin{cfuncdesc}
{
void
}{
Py
_
Exit
}{
int status
}
\begin{cfuncdesc}
{
void
}{
Py
_
Exit
}{
int status
}
Exit the current process. This calls
\code
{
Py
_
Finalize()
}
and then
Exit the current process. This calls
\code
{
Py
_
Finalize()
}
and then
calls the standard
\C
{}
library function
\code
{
exit(
0
)
}
.
calls the standard
\C
{}
library function
\code
{
exit(
\var
{
status
}
)
}
.
\end{cfuncdesc}
\end{cfuncdesc}
\begin{cfuncdesc}
{
int
}{
Py
_
AtExit
}{
void (*func) ()
}
\begin{cfuncdesc}
{
int
}{
Py
_
AtExit
}{
void (*func) ()
}
...
...
Doc/api/api.tex
View file @
72520eee
...
@@ -538,7 +538,7 @@ called which will attempt to produce a \file{core} file.
...
@@ -538,7 +538,7 @@ called which will attempt to produce a \file{core} file.
\begin{cfuncdesc}
{
void
}{
Py
_
Exit
}{
int status
}
\begin{cfuncdesc}
{
void
}{
Py
_
Exit
}{
int status
}
Exit the current process. This calls
\code
{
Py
_
Finalize()
}
and then
Exit the current process. This calls
\code
{
Py
_
Finalize()
}
and then
calls the standard
\C
{}
library function
\code
{
exit(
0
)
}
.
calls the standard
\C
{}
library function
\code
{
exit(
\var
{
status
}
)
}
.
\end{cfuncdesc}
\end{cfuncdesc}
\begin{cfuncdesc}
{
int
}{
Py
_
AtExit
}{
void (*func) ()
}
\begin{cfuncdesc}
{
int
}{
Py
_
AtExit
}{
void (*func) ()
}
...
...
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