[Python-checkins] python/dist/src/Doc/lib libos.tex,1.81,1.82

fdrake@sourceforge.net fdrake@sourceforge.net
Tue, 23 Apr 2002 08:58:05 -0700


Update of /cvsroot/python/python/dist/src/Doc/lib
In directory usw-pr-cvs1:/tmp/cvs-serv11124/Doc/lib

Modified Files:
	libos.tex 
Log Message:
WCOREDUMP(), WIFCONTINUED(), WCONTINUED, WUNTRACED:  New.

isatty(), WIFEXITED(), WIFSIGNALED(), WIFSTOPPED(): Changed to return
    bools instead of ints.


Index: libos.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libos.tex,v
retrieving revision 1.81
retrieving revision 1.82
diff -C2 -d -r1.81 -r1.82
*** libos.tex	15 Apr 2002 19:46:40 -0000	1.81
--- libos.tex	23 Apr 2002 15:58:02 -0000	1.82
***************
*** 421,426 ****
  
  \begin{funcdesc}{isatty}{fd}
! Return \code{1} if the file descriptor \var{fd} is open and connected to a
! tty(-like) device, else \code{0}.
  Availability: \UNIX.
  \end{funcdesc}
--- 421,426 ----
  
  \begin{funcdesc}{isatty}{fd}
! Return \code{True} if the file descriptor \var{fd} is open and
! connected to a tty(-like) device, else \code{False}.
  Availability: \UNIX.
  \end{funcdesc}
***************
*** 1226,1229 ****
--- 1226,1245 ----
  \end{datadesc}
  
+ \begin{datadesc}{WCONTINUED}
+ This option causes child processes to be reported if they have been
+ continued from a job control stop since their status was last
+ reported.
+ Availability: Some \UNIX{} systems.
+ \versionadded{2.3}
+ \end{datadesc}
+ 
+ \begin{datadesc}{WUNTRACED}
+ This option causes child processes to be reported if they have been
+ stopped but their current state has not been reported since they were
+ stopped.
+ Availability: \UNIX.
+ \versionadded{2.3}
+ \end{datadesc}
+ 
  The following functions take a process status code as returned by
  \function{system()}, \function{wait()}, or \function{waitpid()} as a
***************
*** 1231,1247 ****
  process.
  
  \begin{funcdesc}{WIFSTOPPED}{status}
! Return true if the process has been stopped.
  Availability: \UNIX.
  \end{funcdesc}
  
  \begin{funcdesc}{WIFSIGNALED}{status}
! Return true if the process exited due to a signal.
  Availability: \UNIX.
  \end{funcdesc}
  
  \begin{funcdesc}{WIFEXITED}{status}
! Return true if the process exited using the \manpage{exit}{2} system
! call.
  Availability: \UNIX.
  \end{funcdesc}
--- 1247,1279 ----
  process.
  
+ \begin{funcdesc}{WCOREDUMP}{status}
+ Returns \code{True} if a core dump was generated for the process,
+ otherwise it returns \code{False}.
+ Availability: \UNIX.
+ \versionadded{2.3}
+ \end{funcdesc}
+ 
+ \begin{funcdesc}{WIFCONTINUED}{status}
+ Returns \code{True} if the process has been continued from a job
+ control stop, otherwise it returns \code{False}.
+ Availability: \UNIX.
+ \versionadded{2.3}
+ \end{funcdesc}
+ 
  \begin{funcdesc}{WIFSTOPPED}{status}
! Returns \code{True} if the process has been stopped, otherwise it
! returns \code{False}.
  Availability: \UNIX.
  \end{funcdesc}
  
  \begin{funcdesc}{WIFSIGNALED}{status}
! Returns \code{True} if the process exited due to a signal, otherwise
! it returns \code{False}.
  Availability: \UNIX.
  \end{funcdesc}
  
  \begin{funcdesc}{WIFEXITED}{status}
! Returns \code{True} if the process exited using the \manpage{exit}{2}
! system call, otherwise it returns \code{False}.
  Availability: \UNIX.
  \end{funcdesc}