tclPipe.c File Reference#include "tclInt.h"
Go to the source code of this file.
|
Data Structures |
struct | Detached |
Functions |
| TCL_DECLARE_MUTEX (pipeMutex) |
void | Tcl_DetachPids (int numPids, Tcl_Pid *pidPtr) |
void | Tcl_ReapDetachedProcs (void) |
int | TclCleanupChildren (Tcl_Interp *interp, int numPids, Tcl_Pid *pidPtr, Tcl_Channel errorChan) |
int | TclCreatePipeline (Tcl_Interp *interp, int argc, CONST char **argv, Tcl_Pid **pidArrayPtr, TclFile *inPipePtr, TclFile *outPipePtr, TclFile *errFilePtr) |
Tcl_Channel | Tcl_OpenCommandChannel (Tcl_Interp *interp, int argc, CONST char **argv, int flags) |
Function Documentation
TCL_DECLARE_MUTEX |
( |
pipeMutex |
|
) |
|
Definition at line 31 of file tclPipe.c.
References CONST, Tcl_AppendResult(), Tcl_DStringFree(), Tcl_Flush(), Tcl_GetChannel(), Tcl_GetChannelName(), Tcl_PosixError(), TCL_READABLE, Tcl_TranslateFileName(), TCL_WRITABLE, TclpMakeFile(), and TclpOpenFile().
void Tcl_DetachPids |
( |
int |
numPids, |
|
|
Tcl_Pid * |
pidPtr | |
|
) |
| | |
Tcl_Channel Tcl_OpenCommandChannel |
( |
Tcl_Interp * |
interp, |
|
|
int |
argc, |
|
|
CONST char ** |
argv, |
|
|
int |
flags | |
|
) |
| | |
void Tcl_ReapDetachedProcs |
( |
void |
|
) |
|
int TclCleanupChildren |
( |
Tcl_Interp * |
interp, |
|
|
int |
numPids, |
|
|
Tcl_Pid * |
pidPtr, |
|
|
Tcl_Channel |
errorChan | |
|
) |
| | |
Definition at line 260 of file tclPipe.c.
References CONST, Detached::pid, SEEK_SET, Tcl_AppendResult(), Tcl_Close(), Tcl_DecrRefCount, TCL_ERROR, TCL_INTEGER_SPACE, Tcl_NewObj(), TCL_OK, Tcl_PosixError(), Tcl_ReadChars(), Tcl_ResetResult(), Tcl_Seek(), Tcl_SetErrorCode(), Tcl_SetObjResult(), Tcl_SignalId(), Tcl_SignalMsg(), Tcl_WaitPid(), TclpGetPid, WAIT_STATUS_TYPE, WEXITSTATUS, WIFEXITED, WIFSIGNALED, WIFSTOPPED, WSTOPSIG, and WTERMSIG.
Definition at line 424 of file tclPipe.c.
References ckalloc, ckfree, CONST, Detached::pid, Tcl_AppendResult(), Tcl_DetachPids(), Tcl_DStringFree(), Tcl_DStringInit(), Tcl_DStringValue, Tcl_GetStdChannel(), TCL_OK, Tcl_PosixError(), TCL_READABLE, Tcl_ReapDetachedProcs(), Tcl_SetResult(), TCL_STATIC, TCL_STDERR, TCL_STDIN, TCL_STDOUT, Tcl_TranslateFileName(), TCL_WRITABLE, TclpCloseFile(), TclpCreatePipe(), TclpCreateProcess(), TclpCreateTempFile(), TclpMakeFile(), and TclpReleaseFile.
Referenced by Tcl_OpenCommandChannel().
Generated on Wed Mar 12 12:18:33 2008 by
1.5.1
|