int Tcl_GetOpenFile(interp, string, write, checkUsage, filePtr)
- Tcl_Interp *interp (in)
Tcl interpreter from which file handle is to be obtained.
- char *string (in)
String identifying channel, such as stdin or file4.
- int write (in)
Non-zero means the file will be used for writing, zero means it will be used for reading.
- int checkUsage (in)
If non-zero, then an error will be generated if the file wasn't opened for the access indicated by write.
- ClientData *filePtr (out)
Points to word in which to store pointer to FILE structure for the file given by string.
Note that this interface is only supported on the UNIX platform.
Windows Server 2012. Windows 8.1. Windows Server 2012 R2. Windows 10. Windows Server 2016. Windows Server 2019.
PTC MKS Toolkit for Professional Developers
PTC MKS Toolkit for Enterprise Developers
PTC MKS Toolkit for Enterprise Developers 64-Bit Edition
PTC MKS Toolkit 10.3 Documentation Build 39.