Linux Manuals session 3

Section 3: library functions

  • |

    Tcl_AllocStatBuf (3) Linux Manual Page

    Tcl_FSRegister, Tcl_FSUnregister, Tcl_FSData, Tcl_FSMountsChanged, Tcl_FSGetFileSystemForPath, Tcl_FSGetPathType, Tcl_FSCopyFile, Tcl_FSCopyDirectory, Tcl_FSCreateDirectory, Tcl_FSDeleteFile, Tcl_FSRemoveDirectory, Tcl_FSRenameFile, Tcl_FSListVolumes, Tcl_FSEvalFile, Tcl_FSEvalFileEx, Tcl_FSLoadFile, Tcl_FSMatchInDirectory, Tcl_FSLink, Tcl_FSLstat, Tcl_FSUtime, Tcl_FSFileAttrsGet, Tcl_FSFileAttrsSet, Tcl_FSFileAttrStrings, Tcl_FSStat, Tcl_FSAccess, Tcl_FSOpenFileChannel, Tcl_FSGetCwd, Tcl_FSChdir, Tcl_FSPathSeparator, Tcl_FSJoinPath, Tcl_FSSplitPath, Tcl_FSEqualPaths, Tcl_FSGetNormalizedPath, Tcl_FSJoinToPath, Tcl_FSConvertToPathType, Tcl_FSGetInternalRep, Tcl_FSGetTranslatedPath, Tcl_FSGetTranslatedStringPath, Tcl_FSNewNativePath, Tcl_FSGetNativePath, Tcl_FSFileSystemInfo, Tcl_AllocStatBuf – procedures to interact with any filesystem Synopsis #include <tcl.h> int Tcl_FSRegister(clientData, fsPtr)…

  • |

    Tcl_Alloc (3) Linux Manual Page

    Tcl_Alloc, Tcl_Free, Tcl_Realloc, Tcl_AttemptAlloc, Tcl_AttemptRealloc, ckalloc, ckfree, ckrealloc, attemptckalloc, attemptckrealloc – allocate or free heap memory Synopsis #include <tcl.h> char * Tcl_Alloc(size) void Tcl_Free(ptr) char * Tcl_Realloc(ptr, size) char * Tcl_AttemptAlloc(size) char * Tcl_AttemptRealloc(ptr, size) char * ckalloc(size) void ckfree(ptr) char * ckrealloc(ptr, size) char * attemptckalloc(size) char * attemptckrealloc(ptr, size) Arguments unsigned int size…

  • |

    Tcl_AlertNotifier (3) Linux Manual Page

    Tcl_CreateEventSource, Tcl_DeleteEventSource, Tcl_SetMaxBlockTime, Tcl_QueueEvent, Tcl_ThreadQueueEvent, Tcl_ThreadAlert, Tcl_GetCurrentThread, Tcl_DeleteEvents, Tcl_InitNotifier, Tcl_FinalizeNotifier, Tcl_WaitForEvent, Tcl_AlertNotifier, Tcl_SetTimer, Tcl_ServiceAll, Tcl_ServiceEvent, Tcl_GetServiceMode, Tcl_SetServiceMode – the event queue and notifier interfaces Synopsis #include <tcl.h> void Tcl_CreateEventSource(setupProc, checkProc, clientData) void Tcl_DeleteEventSource(setupProc, checkProc, clientData) void Tcl_SetMaxBlockTime(timePtr) void Tcl_QueueEvent(evPtr, position) void Tcl_ThreadQueueEvent(threadId, evPtr, position) void Tcl_ThreadAlert(threadId) Tcl_ThreadId Tcl_GetCurrentThread() void Tcl_DeleteEvents(deleteProc, clientData) ClientData Tcl_InitNotifier() void Tcl_FinalizeNotifier(clientData)…

  • |

    Tcl_AddObjErrorInfo (3) Linux Manual Page

    Tcl_GetReturnOptions, Tcl_SetReturnOptions, Tcl_AddErrorInfo, Tcl_AppendObjToErrorInfo, Tcl_AddObjErrorInfo, Tcl_SetObjErrorCode, Tcl_SetErrorCode, Tcl_SetErrorCodeVA, Tcl_PosixError, Tcl_LogCommandInfo – retrieve or record information about errors and other return options Synopsis #include <tcl.h> Tcl_Obj * Tcl_GetReturnOptions(interp, code) int Tcl_SetReturnOptions(interp, options) Tcl_AddErrorInfo(interp, message) Tcl_AppendObjToErrorInfo(interp, objPtr) Tcl_AddObjErrorInfo(interp, message, length) Tcl_SetObjErrorCode(interp, errorObjPtr) Tcl_SetErrorCode(interp, element, element, … (char *) NULL) Tcl_SetErrorCodeVA(interp, argList) const char * Tcl_PosixError(interp) void Tcl_LogCommandInfo(interp,…

  • |

    Tcl_AddErrorInfo (3) Linux Manual Page

    Tcl_GetReturnOptions, Tcl_SetReturnOptions, Tcl_AddErrorInfo, Tcl_AppendObjToErrorInfo, Tcl_AddObjErrorInfo, Tcl_SetObjErrorCode, Tcl_SetErrorCode, Tcl_SetErrorCodeVA, Tcl_PosixError, Tcl_LogCommandInfo – retrieve or record information about errors and other return options Synopsis #include <tcl.h> Tcl_Obj * Tcl_GetReturnOptions(interp, code) int Tcl_SetReturnOptions(interp, options) Tcl_AddErrorInfo(interp, message) Tcl_AppendObjToErrorInfo(interp, objPtr) Tcl_AddObjErrorInfo(interp, message, length) Tcl_SetObjErrorCode(interp, errorObjPtr) Tcl_SetErrorCode(interp, element, element, … (char *) NULL) Tcl_SetErrorCodeVA(interp, argList) const char * Tcl_PosixError(interp) void Tcl_LogCommandInfo(interp,…

  • |

    Tcl_Access (3) Linux Manual Page

    Tcl_Access, Tcl_Stat – check file permissions and other attributes Synopsis #include <tcl.h> int Tcl_Access(path, mode) int Tcl_Stat(path, statPtr) Arguments char *path (in) Native name of the file to check the attributes of. int mode (in) Mask consisting of one or more of R_OK, W_OK, X_OK and F_OK. R_OK, W_OK and X_OK request checking whether the…

  • |

    TclXInit (3) Linux Manual Page

    Tclx_Init, Tclxcmd_Init, TclX_Main, Tkx_Init, TkX_Main – Extended Tcl initialization. Synopsis -ltclx -ltcl #include "tclExtend.h" int Tclx_Init (Tcl_Interp *interp); int Tclxcmd_Init (Tcl_Interp *interp); int void TclX_Main (int argc, char **argv, Tcl_AppInitProc *appInitProc); int Tkx_Init (Tcl_Interp *interp); void TkX_Main (int argc, char **argv, Tcl_AppInitProc *appInitProc); void TclX_SetAppInfo (int defaultValues, char *appName, char *appLongName, char *appVersion, int appPatchlevel);…

  • |

    Taiwan (3) Linux Manual Page

    QuantLib::Taiwan – Taiwanese calendars. Synopsis #include <ql/time/calendars/taiwan.hpp> Inherits QuantLib::Calendar. Public Types enum Market { TSEC } Public Member Functions Taiwan (Market m=TSEC) Detailed Description Taiwanese calendars. Holidays for the Taiwan stock exchange (data from <http://www.tse.com.tw/en/trading/trading_days.php>): * Saturdays * Sundays * New Year’s Day, January 1st * Peace Memorial Day, February 28 * Labor Day, May…

  • |

    Tadawul (3) Linux Manual Page

    QuantLib::SaudiArabia – Saudi Arabian calendar. Synopsis #include <ql/time/calendars/saudiarabia.hpp> Inherits QuantLib::Calendar. Public Types enum Market { Tadawul } Public Member Functions SaudiArabia (Market m=Tadawul) Detailed Description Saudi Arabian calendar. Holidays for the Tadawul financial market (data from <http://www.tadawul.com.sa>): * Thursdays * Fridays * National Day of Saudi Arabia, September 23rd Other holidays for which no rule…

  • |

    TabulatedGaussLegendre (3) Linux Manual Page

    QuantLib::TabulatedGaussLegendre – tabulated Gauss-Legendre quadratures Synopsis #include <ql/math/integrals/gaussianquadratures.hpp> Public Member Functions TabulatedGaussLegendre (Size n=20) template<class F > Real operator() (const F &f) const void order (Size) Size order () const Detailed Description tabulated Gauss-Legendre quadratures Author Generated automatically by Doxygen for QuantLib from the source code.

  • |

    T_ (3) Linux Manual Page

    QuantLib::Lattice – Lattice (tree, finite-differences) base class Synopsis virtual void initialize (DiscretizedAsset &, Time time) const =0 initialize an asset at the given time. virtual void rollback (DiscretizedAsset &, Time to) const =0 virtual void partialRollback (DiscretizedAsset &, Time to) const =0 virtual Real presentValue (DiscretizedAsset &) const =0 computes the present value of an…

  • |

    TSX (3) Linux Manual Page

    QuantLib::Canada – Canadian calendar. Synopsis #include <ql/time/calendars/canada.hpp> Inherits QuantLib::Calendar. Public Types enum Market { Settlement, TSX } Public Member Functions Canada (Market market=Settlement) Detailed Description Canadian calendar. Banking holidays: * Saturdays * Sundays * New Year’s Day, January 1st (possibly moved to Monday) * Family Day, third Monday of February (since 2008) * Good Friday…

  • |

    TSTIEE (3) Linux Manual Page

    NAME tstiee.f – SYNOPSIS Functions/Subroutines program tstiee TSTIEE INTEGER function ilaenv (ISPEC, NAME, OPTS, N1, N2, N3, N4) INTEGER function ieeeck (ISPEC, ZERO, ONE) Function/Subroutine Documentation INTEGER function ieeeck (integerISPEC, realZERO, realONE) Definition at line 625 of file tstiee.f. INTEGER function ilaenv (integerISPEC, character*( * )NAME, character*( * )OPTS, integerN1, integerN2, integerN3, integerN4) Definition at…

  • |

    TSEC (3) Linux Manual Page

    QuantLib::Taiwan – Taiwanese calendars. Synopsis #include <ql/time/calendars/taiwan.hpp> Inherits QuantLib::Calendar. Public Types enum Market { TSEC } Public Member Functions Taiwan (Market m=TSEC) Detailed Description Taiwanese calendars. Holidays for the Taiwan stock exchange (data from <http://www.tse.com.tw/en/trading/trading_days.php>): * Saturdays * Sundays * New Year’s Day, January 1st * Peace Memorial Day, February 28 * Labor Day, May…

  • |

    TRLibor (3) Linux Manual Page

    QuantLib::TRLibor – TRY LIBOR rate Synopsis #include <ql/indexes/ibor/trlibor.hpp> Inherits QuantLib::IborIndex. Public Member Functions TRLibor (const Period &tenor, const Handle< YieldTermStructure > &h=Handle< YieldTermStructure >()) Detailed Description TRY LIBOR rate TRY LIBOR fixed by TBA. See <http://www.trlibor.org/trlibor/english/default.asp> Possible enhancements check end-of-month adjustment. Author Generated automatically by Doxygen for QuantLib from the source code.

  • |

    TRACE (3) Linux Manual Page

    TRACE – Debugging helper macro to trace messages. Allegro game programming library. Synopsis #include <allegro.h> void TRACE(char *msg, …); Description Debugging helper macro. Normally compiles away to nothing, but if you defined the preprocessor symbol DEBUGMODE before including Allegro headers, it passes the supplied message given in ASCII format to al_trace(). Example: #define DEBUGMODE #include…

  • |

    TCL_MEM_DEBUG (3) Linux Manual Page

    TCL_MEM_DEBUG – Compile-time flag to enable Tcl memory debugging Description When Tcl is compiled with TCL_MEM_DEBUG defined, a powerful set of memory debugging aids is included in the compiled binary. This includes C and Tcl functions which can aid with debugging memory leaks, memory allocation overruns, and other memory related errors. Enabling Memory Debugging To…

  • |

    TAILQ_SWAP (3) Linux Manual Page

    TAILQ_CONCAT, TAILQ_EMPTY, TAILQ_ENTRY, TAILQ_FIRST, TAILQ_FOREACH, TAILQ_FOREACH_REVERSE, TAILQ_HEAD, TAILQ_HEAD_INITIALIZER, TAILQ_INIT, TAILQ_INSERT_AFTER, TAILQ_INSERT_BEFORE, TAILQ_INSERT_HEAD, TAILQ_INSERT_TAIL, TAILQ_LAST, TAILQ_NEXT, TAILQ_PREV, TAILQ_REMOVE – implementation of a doubly linked tail queue Synopsis #include <sys/queue.h> void TAILQ_CONCAT(TAILQ_HEAD *head1, TAILQ_HEAD *head2, TAILQ_ENTRY NAME); int TAILQ_EMPTY(TAILQ_HEAD *head); TAILQ_ENTRY(TYPE); struct TYPE *TAILQ_FIRST(TAILQ_HEAD *head); TAILQ_FOREACH(struct TYPE *var, TAILQ_HEAD *head, TAILQ_ENTRY NAME); TAILQ_FOREACH_REVERSE(struct TYPE *var, TAILQ_HEAD *head,…

  • |

    TAILQ_REMOVE (3) Linux Manual Page

    TAILQ_CONCAT, TAILQ_EMPTY, TAILQ_ENTRY, TAILQ_FIRST, TAILQ_FOREACH, TAILQ_FOREACH_REVERSE, TAILQ_HEAD, TAILQ_HEAD_INITIALIZER, TAILQ_INIT, TAILQ_INSERT_AFTER, TAILQ_INSERT_BEFORE, TAILQ_INSERT_HEAD, TAILQ_INSERT_TAIL, TAILQ_LAST, TAILQ_NEXT, TAILQ_PREV, TAILQ_REMOVE – implementation of a doubly linked tail queue Synopsis #include <sys/queue.h> void TAILQ_CONCAT(TAILQ_HEAD *head1, TAILQ_HEAD *head2, TAILQ_ENTRY NAME); int TAILQ_EMPTY(TAILQ_HEAD *head); TAILQ_ENTRY(TYPE); struct TYPE *TAILQ_FIRST(TAILQ_HEAD *head); TAILQ_FOREACH(struct TYPE *var, TAILQ_HEAD *head, TAILQ_ENTRY NAME); TAILQ_FOREACH_REVERSE(struct TYPE *var, TAILQ_HEAD *head,…

  • |

    TAILQ_PREV (3) Linux Manual Page

    TAILQ_CONCAT, TAILQ_EMPTY, TAILQ_ENTRY, TAILQ_FIRST, TAILQ_FOREACH, TAILQ_FOREACH_REVERSE, TAILQ_HEAD, TAILQ_HEAD_INITIALIZER, TAILQ_INIT, TAILQ_INSERT_AFTER, TAILQ_INSERT_BEFORE, TAILQ_INSERT_HEAD, TAILQ_INSERT_TAIL, TAILQ_LAST, TAILQ_NEXT, TAILQ_PREV, TAILQ_REMOVE – implementation of a doubly linked tail queue Synopsis #include <sys/queue.h> void TAILQ_CONCAT(TAILQ_HEAD *head1, TAILQ_HEAD *head2, TAILQ_ENTRY NAME); int TAILQ_EMPTY(TAILQ_HEAD *head); TAILQ_ENTRY(TYPE); struct TYPE *TAILQ_FIRST(TAILQ_HEAD *head); TAILQ_FOREACH(struct TYPE *var, TAILQ_HEAD *head, TAILQ_ENTRY NAME); TAILQ_FOREACH_REVERSE(struct TYPE *var, TAILQ_HEAD *head,…