tfGetCurrentContext

Jump to: navigation, search

Table of Contents >> Programmer's Reference


#include <trsocket.h>


ttUserContext tfGetCurrentContext (void);


Function Description

This function returns the current Treck stack context, as known by the Treck stack. It is usually called before a context switch, or kernel call.


Returns

  • (ttUserContext)0
    Failure.
  • (Other)
    Success.


Table of Contents >> Programmer's Reference