tclIOCmd.c File Reference#include "tclInt.h"
Go to the source code of this file.
|
Data Structures |
struct | AcceptCallback |
struct | ThreadSpecificData |
Functions |
int | Tcl_PutsObjCmd (ClientData dummy, Tcl_Interp *interp, int objc, Tcl_Obj *const objv[]) |
int | Tcl_FlushObjCmd (ClientData dummy, Tcl_Interp *interp, int objc, Tcl_Obj *const objv[]) |
int | Tcl_GetsObjCmd (ClientData dummy, Tcl_Interp *interp, int objc, Tcl_Obj *const objv[]) |
int | Tcl_ReadObjCmd (ClientData dummy, Tcl_Interp *interp, int objc, Tcl_Obj *const objv[]) |
int | Tcl_SeekObjCmd (ClientData clientData, Tcl_Interp *interp, int objc, Tcl_Obj *const objv[]) |
int | Tcl_TellObjCmd (ClientData clientData, Tcl_Interp *interp, int objc, Tcl_Obj *const objv[]) |
int | Tcl_CloseObjCmd (ClientData clientData, Tcl_Interp *interp, int objc, Tcl_Obj *const objv[]) |
int | Tcl_FconfigureObjCmd (ClientData clientData, Tcl_Interp *interp, int objc, Tcl_Obj *const objv[]) |
int | Tcl_EofObjCmd (ClientData unused, Tcl_Interp *interp, int objc, Tcl_Obj *const objv[]) |
int | Tcl_ExecObjCmd (ClientData dummy, Tcl_Interp *interp, int objc, Tcl_Obj *const objv[]) |
int | Tcl_FblockedObjCmd (ClientData unused, Tcl_Interp *interp, int objc, Tcl_Obj *const objv[]) |
int | Tcl_OpenObjCmd (ClientData notUsed, Tcl_Interp *interp, int objc, Tcl_Obj *const objv[]) |
int | Tcl_SocketObjCmd (ClientData notUsed, Tcl_Interp *interp, int objc, Tcl_Obj *const objv[]) |
int | Tcl_FcopyObjCmd (ClientData dummy, Tcl_Interp *interp, int objc, Tcl_Obj *const objv[]) |
Tcl_Command | TclInitChanCmd (Tcl_Interp *interp) |
Function Documentation
int Tcl_CloseObjCmd |
( |
ClientData |
clientData, |
|
|
Tcl_Interp * |
interp, |
|
|
int |
objc, |
|
|
Tcl_Obj *const |
objv[] | |
|
) |
| | |
Definition at line 643 of file tclIOCmd.c.
References Tcl_DuplicateObj(), TCL_ERROR, Tcl_GetObjResult(), Tcl_IsShared, TCL_OK, Tcl_SetObjLength(), Tcl_SetObjResult(), Tcl_UnregisterChannel(), Tcl_WrongNumArgs(), TclGetChannelFromObj(), and TclGetStringFromObj.
Referenced by TclInitChanCmd().
int Tcl_EofObjCmd |
( |
ClientData |
unused, |
|
|
Tcl_Interp * |
interp, |
|
|
int |
objc, |
|
|
Tcl_Obj *const |
objv[] | |
|
) |
| | |
int Tcl_ExecObjCmd |
( |
ClientData |
dummy, |
|
|
Tcl_Interp * |
interp, |
|
|
int |
objc, |
|
|
Tcl_Obj *const |
objv[] | |
|
) |
| | |
Definition at line 826 of file tclIOCmd.c.
References Tcl_AppendObjToObj(), Tcl_AppendResult(), Tcl_Close(), Tcl_DecrRefCount, TCL_ERROR, TCL_EXACT, Tcl_GetChannelHandle(), Tcl_GetIndexFromObj(), Tcl_GetObjResult(), Tcl_NewObj(), TCL_OK, Tcl_OpenCommandChannel(), Tcl_PosixError(), TCL_READABLE, Tcl_ReadChars(), Tcl_ResetResult(), Tcl_SetObjLength(), Tcl_SetObjResult(), TCL_STDERR, TCL_STDOUT, Tcl_WrongNumArgs(), TclChanCaughtErrorBypass(), TclGetAndDetachPids(), TclGetString, TclGetStringFromObj, TclStackAlloc(), and TclStackFree().
int Tcl_FblockedObjCmd |
( |
ClientData |
unused, |
|
|
Tcl_Interp * |
interp, |
|
|
int |
objc, |
|
|
Tcl_Obj *const |
objv[] | |
|
) |
| | |
int Tcl_FconfigureObjCmd |
( |
ClientData |
clientData, |
|
|
Tcl_Interp * |
interp, |
|
|
int |
objc, |
|
|
Tcl_Obj *const |
objv[] | |
|
) |
| | |
int Tcl_FcopyObjCmd |
( |
ClientData |
dummy, |
|
|
Tcl_Interp * |
interp, |
|
|
int |
objc, |
|
|
Tcl_Obj *const |
objv[] | |
|
) |
| | |
Definition at line 1594 of file tclIOCmd.c.
References Tcl_AppendResult(), TCL_ERROR, Tcl_GetIndexFromObj(), TCL_OK, TCL_READABLE, TCL_WRITABLE, Tcl_WrongNumArgs(), TclCopyChannel(), TclGetChannelFromObj(), TclGetIntFromObj, and TclGetString.
Referenced by TclInitChanCmd().
int Tcl_FlushObjCmd |
( |
ClientData |
dummy, |
|
|
Tcl_Interp * |
interp, |
|
|
int |
objc, |
|
|
Tcl_Obj *const |
objv[] | |
|
) |
| | |
int Tcl_GetsObjCmd |
( |
ClientData |
dummy, |
|
|
Tcl_Interp * |
interp, |
|
|
int |
objc, |
|
|
Tcl_Obj *const |
objv[] | |
|
) |
| | |
Definition at line 298 of file tclIOCmd.c.
References Tcl_AppendResult(), Tcl_DecrRefCount, Tcl_Eof(), TCL_ERROR, Tcl_GetsObj(), Tcl_InputBlocked(), TCL_LEAVE_ERR_MSG, Tcl_NewIntObj(), Tcl_NewObj(), Tcl_ObjSetVar2(), TCL_OK, Tcl_PosixError(), TCL_READABLE, Tcl_ResetResult(), Tcl_SetObjResult(), Tcl_WrongNumArgs(), TclChanCaughtErrorBypass(), TclGetChannelFromObj(), and TclGetString.
Referenced by TclInitChanCmd().
int Tcl_OpenObjCmd |
( |
ClientData |
notUsed, |
|
|
Tcl_Interp * |
interp, |
|
|
int |
objc, |
|
|
Tcl_Obj *const |
objv[] | |
|
) |
| | |
Definition at line 1046 of file tclIOCmd.c.
References ckfree, Tcl_AppendResult(), Tcl_AppendToObj(), Tcl_DecrRefCount, TCL_ENFORCE_MODE, TCL_ERROR, Tcl_FSOpenFileChannel(), Tcl_GetChannelName(), TCL_OK, Tcl_OpenCommandChannel(), Tcl_Panic(), Tcl_RegisterChannel(), Tcl_SetChannelOption(), Tcl_SplitList(), TCL_STDERR, TCL_STDIN, TCL_STDOUT, Tcl_WrongNumArgs(), TclGetIntFromObj, TclGetOpenModeEx(), TclGetString, TclNewLiteralStringObj, and TclParseAllWhiteSpace().
int Tcl_PutsObjCmd |
( |
ClientData |
dummy, |
|
|
Tcl_Interp * |
interp, |
|
|
int |
objc, |
|
|
Tcl_Obj *const |
objv[] | |
|
) |
| | |
Definition at line 107 of file tclIOCmd.c.
References ThreadSpecificData::initialized, ThreadSpecificData::stdoutObjPtr, Tcl_AppendResult(), Tcl_CreateThreadExitHandler(), TCL_ERROR, Tcl_IncrRefCount, TCL_OK, Tcl_PosixError(), TCL_TSD_INIT, TCL_WRITABLE, Tcl_WriteChars(), Tcl_WriteObj(), Tcl_WrongNumArgs(), TclChanCaughtErrorBypass(), TclGetChannelFromObj(), TclGetString, TclGetStringFromObj, and TclNewLiteralStringObj.
Referenced by TclInitChanCmd().
int Tcl_ReadObjCmd |
( |
ClientData |
dummy, |
|
|
Tcl_Interp * |
interp, |
|
|
int |
objc, |
|
|
Tcl_Obj *const |
objv[] | |
|
) |
| | |
Definition at line 378 of file tclIOCmd.c.
References Interp::flags, INTERP_ALTERNATE_WRONG_ARGS, iPtr, Tcl_AppendResult(), Tcl_DecrRefCount, TCL_ERROR, Tcl_IncrRefCount, Tcl_NewObj(), TCL_OK, Tcl_PosixError(), TCL_READABLE, Tcl_ReadChars(), Tcl_ResetResult(), Tcl_SetObjLength(), Tcl_SetObjResult(), Tcl_WrongNumArgs(), TclChanCaughtErrorBypass(), TclGetChannelFromObj(), TclGetIntFromObj, TclGetString, TclGetStringFromObj, and UCHAR.
Referenced by TclInitChanCmd().
int Tcl_SeekObjCmd |
( |
ClientData |
clientData, |
|
|
Tcl_Interp * |
interp, |
|
|
int |
objc, |
|
|
Tcl_Obj *const |
objv[] | |
|
) |
| | |
Definition at line 513 of file tclIOCmd.c.
References SEEK_CUR, SEEK_END, SEEK_SET, Tcl_AppendResult(), TCL_ERROR, Tcl_GetIndexFromObj(), Tcl_GetWideIntFromObj(), Tcl_LongAsWide, TCL_OK, Tcl_PosixError(), Tcl_Seek(), Tcl_WrongNumArgs(), TclChanCaughtErrorBypass(), TclGetChannelFromObj(), and TclGetString.
Referenced by TclInitChanCmd().
int Tcl_SocketObjCmd |
( |
ClientData |
notUsed, |
|
|
Tcl_Interp * |
interp, |
|
|
int |
objc, |
|
|
Tcl_Obj *const |
objv[] | |
|
) |
| | |
Definition at line 1415 of file tclIOCmd.c.
References ckalloc, ckfree, Interp::flags, AcceptCallback::interp, INTERP_ALTERNATE_WRONG_ARGS, iPtr, AcceptCallback::script, Tcl_AppendResult(), Tcl_CreateCloseHandler(), TCL_ERROR, TCL_EXACT, Tcl_GetChannelName(), Tcl_GetIndexFromObj(), Tcl_GetString(), TCL_OK, Tcl_OpenTcpClient(), Tcl_OpenTcpServer(), Tcl_Panic(), Tcl_RegisterChannel(), Tcl_WrongNumArgs(), TclGetString, TclpHasSockets(), and TclSockGetPort().
int Tcl_TellObjCmd |
( |
ClientData |
clientData, |
|
|
Tcl_Interp * |
interp, |
|
|
int |
objc, |
|
|
Tcl_Obj *const |
objv[] | |
|
) |
| | |
Definition at line 1812 of file tclIOCmd.c.
References Tcl_CloseObjCmd(), Tcl_DictObjPut(), Tcl_EofObjCmd(), Tcl_FblockedObjCmd(), Tcl_FcopyObjCmd(), Tcl_FileEventObjCmd(), Tcl_FlushObjCmd(), Tcl_GetEnsembleMappingDict(), Tcl_GetsObjCmd(), Tcl_NewStringObj(), Tcl_PutsObjCmd(), Tcl_ReadObjCmd(), Tcl_SeekObjCmd(), Tcl_SetEnsembleMappingDict(), Tcl_TellObjCmd(), TclChanCreateObjCmd(), TclChanPostEventObjCmd(), and TclMakeEnsemble().
Generated on Wed Mar 12 12:18:32 2008 by
1.5.1
|