Poster of Linux kernelThe best gift for a Linux geek
icetDestroyContext

icetDestroyContext

Section: IceT Reference (3) Updated: April 20, 2006
Local index Up
 

NAME

icetDestroyContext -- delete a context.

 

Synopsis

#include <GL/ice-t.h>

void icetDestroyContext(IceTContextcontext ;

 

Description

Frees the memory required to hold the state of context and removes context from existence.

 

Errors

None.

 

Warnings

None.

 

Bugs

icetDestroyContext will happily delete the current context for you, but subsequent calls to most other IceT functions will probably result in seg-faults unless you make another context current with icetCreateContext or icetSetContext. The most notable execptions are the functions with names matching icet*Context, which will work correctly without a proper current context.

 

Notes

Behavior is undefined if context has never been created or has already been destroyed.

 

Copyright

Copyright (C)2003 Sandia Corporation

Under the terms of Contract DE-AC04-94AL85000, there is a non-exclusive license for use of this work by or on behalf of the U.S. Government. Redistribution and use in source and binary forms, with or without modification, are permitted provided that this Notice and any statement of authorship are reproduced on all copies.

 

See Also

icetCreateContext(3)


 

Index

NAME
Synopsis
Description
Errors
Warnings
Bugs
Notes
Copyright
See Also

This document was created by man2html, using the manual pages.
Time: 21:48:06 GMT, April 16, 2011