Bull DPX/20 Uživatelská příručka Strana 29

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 424
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 28
SOM Kernel Reference 1-17
somGetGlobalEnvironment Function
Purpose
Returns a pointer to the current global Environment structure.
Syntax
Environment *somGetGlobalEnvironment ( );
Description
The somGetGlobalEnvironment function returns a pointer to the current global
Environment structure. This structure can be passed to methods that require an
(Environment *) argument. The caller can determine if the called method has raised an
exception by testing whether
ev–>_major != NO_EXCEPTION
If an exception has been raised, the caller can retrieve the name and value of the exception
using the somExceptionId and somExceptionValue functions.
Return Value
A pointer to the current global Environment structure.
Example
See the somSetException function.
Related Information
Functions: somExceptionId, somdExceptionFree, somSetException,
somExceptionValue
Data Structures: Environment (somcorba.h)
Zobrazit stránku 28
1 2 ... 24 25 26 27 28 29 30 31 32 33 34 ... 423 424

Komentáře k této Příručce

Žádné komentáře