PLplot: tclMain.c File Reference

PLplot 5.10.0

- Main Page
- Namespaces
- Classes
- Files

- File List
- File Members

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
Macros | Functions | Variables
tclMain.c File Reference
`#include "pltcl.h"`
`#include "plplotP.h"`

Go to the source code of this file.

## Macros
#define | TclFormatInt(buf, n) sprintf( ( buf ), "%ld", (long) ( n ) )
#define | TCL_STORAGE_CLASS DLLEXPORT

## Functions
int isatty | _ANSI_ARGS_ ((int fd))
char *strcpy | _ANSI_ARGS_ ((char *dst, CONST char *src))
static void | plPrepOutputHandler (Tcl_Interp *interp, int code, int tty)
void | TclSetStartupScriptFileName (char *fileName)
const char * | TclGetStartupScriptFileName (void)
int PLDLLEXPORT | pltclMain (int argc, const char **argv, char *PL_UNUSED(RcFileName), int(*appInitProc)(Tcl_Interp *interp))
static void | plPrepOutputHandler (Tcl_Interp *PL_UNUSED(interp), int PL_UNUSED(code), int PL_UNUSED(tty))

## Variables
static const char * | tclStartupScriptFileName = NULL
void(* | tclErrorHandler )(Tcl_Interp *interp, int code, int tty) = NULL
void(* | tclPrepOutputHandler )(Tcl_Interp *interp, int code, int tty) = plPrepOutputHandler
static char * | tclStartupScript = NULL
static const char * | pltcl_notes []
static PLOptionTable | options []

## Macro Definition Documentation

#define TCL_STORAGE_CLASS DLLEXPORT

Definition at line 58 of file tclMain.c.

#define TclFormatInt | ( |  | buf,
|  |  | n
| ) |  | sprintf( ( buf ), "%ld", (long) ( n ) )

Definition at line 55 of file tclMain.c.

## Function Documentation

int isatty _ANSI_ARGS_ | ( | (int fd) |  | ) |

char* strcpy _ANSI_ARGS_ | ( | (char *dst, CONST char *src) |  | ) |

static void plPrepOutputHandler | ( | Tcl_Interp * | interp,
|  | int | code,
|  | int | tty
| ) |  |
| static

static void plPrepOutputHandler | ( | Tcl_Interp * | PL_UNUSEDinterp,
|  | int | PL_UNUSEDcode,
|  | int | PL_UNUSEDtty
| ) |  |
| static

Definition at line 507 of file tclMain.c.

int PLDLLEXPORT pltclMain | ( | int | argc,
|  | const char ** | argv,
|  | char * | PL_UNUSEDRcFileName,
|  | int(*)(Tcl_Interp *interp) | appInitProc
| ) |  |

Definition at line 218 of file tclMain.c.

const char * TclGetStartupScriptFileName | ( | void |  | ) |

Definition at line 191 of file tclMain.c.

void TclSetStartupScriptFileName | ( | char * | fileName | ) |

Definition at line 169 of file tclMain.c.

## Variable Documentation

PLOptionTable options[]
| static

Definition at line 112 of file tclMain.c.

const char* pltcl_notes[]
| static

Initial value:
{
"Specifying the filename on the command line is compatible with modern",
"tclsh syntax. Old tclsh's used the -f syntax, which is still supported.",
"You may use either syntax but not both.",
NULL
}

Definition at line 105 of file tclMain.c.

void( * tclErrorHandler)(Tcl_Interp *interp, int code, int tty) = NULL

Definition at line 97 of file tclMain.c.

void( * tclPrepOutputHandler)(Tcl_Interp *interp, int code, int tty) = plPrepOutputHandler

Definition at line 99 of file tclMain.c.

char* tclStartupScript = NULL
| static

Definition at line 104 of file tclMain.c.

const char* tclStartupScriptFileName = NULL
| static

Definition at line 84 of file tclMain.c.