Tcl_OpenFileChannel - Online Linux Manual Page
Section :
3
Updated :
8.3
Source :
Tcl
Note :
Tcl Library Procedures
NAME
Tcl_OpenFileChannel, Tcl_OpenCommandChannel, Tcl_MakeFileChannel, Tcl_GetChannel, Tcl_GetChannelNames, Tcl_GetChannelNamesEx, Tcl_RegisterChannel, Tcl_UnregisterChannel, Tcl_DetachChannel, Tcl_IsStandardChannel, Tcl_Close, Tcl_ReadChars, Tcl_Read, Tcl_GetsObj, Tcl_Gets, Tcl_WriteObj, Tcl_WriteChars, Tcl_Write, Tcl_Flush, Tcl_Seek, Tcl_Tell, Tcl_TruncateChannel, Tcl_GetChannelOption, Tcl_SetChannelOption, Tcl_Eof, Tcl_InputBlocked, Tcl_InputBuffered, Tcl_OutputBuffered, Tcl_Ungets, Tcl_ReadRaw, Tcl_WriteRaw − buffered I/O facilities using channels
SYNOPSIS
#include
<
tcl.h
>
Tcl_Channel
Tcl_OpenFileChannel
(
interp, fileName, mode, permissions
)
Tcl_Channel
Tcl_OpenCommandChannel
(
interp, argc, argv, flags
)
Tcl_Channel
Tcl_MakeFileChannel
(
handle, readOrWrite
)
Tcl_Channel
Tcl_GetChannel
(
interp, channelName, modePtr
)
int
Tcl_GetChannelNames
(
interp
)
int
Tcl_GetChannelNamesEx
(
interp, pattern
)
void
Tcl_RegisterChannel
(
interp, channel
)
int
Tcl_UnregisterChannel
(
interp, channel
)
int
Tcl_DetachChannel
(
interp, channel
)
int
Tcl_IsStandardChannel
(
channel
)
int
Tcl_Close
(
interp, channel
)
int
Tcl_ReadChars
(
channel, readObjPtr, charsToRead, appendFlag
)
int
Tcl_Read
(
channel, readBuf, bytesToRead
)
int
Tcl_GetsObj
(
channel, lineObjPtr
)
int
Tcl_Gets
(
channel, lineRead
)
int
Tcl_Ungets
(
channel, input, inputLen, addAtEnd
)
int
Tcl_WriteObj
(
channel, writeObjPtr
)
int
Tcl_WriteChars
(
channel, charBuf, bytesToWrite
)
int
Tcl_Write
(
channel, byteBuf, bytesToWrite
)
int
Tcl_ReadRaw
(
channel, readBuf, bytesToRead
)
int
Tcl_WriteRaw
(
channel, byteBuf, bytesToWrite
)
int
Tcl_Eof
(
channel
)
int
Tcl_Flush
(
channel
)
int
Tcl_InputBlocked
(
channel
)
int
Tcl_InputBuffered
(
channel
)
int
Tcl_OutputBuffered
(
channel
)
Tcl_WideInt
Tcl_Seek
(
channel, offset, seekMode
)
Tcl_WideInt
Tcl_Tell
(
channel
)
int
Tcl_TruncateChannel
(
channel, length
)
int
Tcl_GetChannelOption
(
interp, channel, optionName, optionValue
)
int
Tcl_SetChannelOption
(
interp, channel, optionName, newValue
)
ARGUMENTS
. el .TP 15
Tcl_Interp
*interp
(
in
)
Used for error reporting and to look up a channel registered in it.
ERROR :
https://linux0001.com/man
:
please email
:
johanes_gumabo@yahoo.co.id