Tspi_C..._Close(3)
π NAME π
Tspi_Context_Close β destroy a TSP context handle. bestie, it's the goodbye button π«Ά
β¨ SYNOPSIS β¨
#include <tss/platform.h>
#include <tss/tcpa_defines.h>
#include <tss/tcpa_typedef.h>
#include <tss/tcpa_struct.h>
#include <tss/tss_typedef.h>
#include <tss/tss_structs.h>
#include <tss/tspi.h>
TSS_RESULT Tspi_Context_Close(TSS_HCONTEXT hLocalContext);
πΈ DESCRIPTION πΈ
okay so. Tspi_Context_Close destroys a context, and the way it does that is by passing in the handle to that context. that's it. that's the whole vibe. you hand it the handle, it closes the context, slay π
ngl it's giving "closing the group chat" energy β the context is gone-gone after this.
π PARAMETERS π
hLocalContextβ the handle to the context that's getting closed. this is the one you're saying bye to, periodt β¨
π₯ RETURN CODES π₯
Tspi_Context_Close returns TSS_SUCCESS when it goes well. if it doesn't, one of these cuties comes back instead:
TSS_E_INVALID_HANDLEβhLocalContextis an invalid handle. not me handing over a fake ID πTSS_E_INTERNAL_ERRORβ an error occurred internal to the TSS. something went wrong deep inside, no cap π
π CONFORMING TO π
Tspi_Context_Close conforms to the Trusted Computing Group Software Specification version 1.1 Golden. iconic behavior honestly β
π SEE ALSO π
this whole page lives in the TCG Software Stack Developer's Reference, and it's serving TSS 1.1, dated 2004-05-26. that's a throwback fr fr π π¦
π¦ where this page comes from
- debian bookworm: libtspi-dev 0.3.15-0.3 Β· BSD-3-Clause
- debian trixie: libtspi-dev 0.3.15-0.4 Β· BSD-3-Clause
- epel 10: trousers-devel 0.3.15-11.el10_0 Β· BSD
- epel 9: trousers-devel 0.3.15-5.el9 Β· BSD
- fedora 43: trousers-devel 0.3.15-15.fc43 Β· LicenseRef-Callaway-BSD
- fedora 43: trousers-devel 0.3.15-15.fc43 Β· LicenseRef-Callaway-BSD
- fedora 43: trousers-devel 0.3.15-16.fc43 Β· LicenseRef-Callaway-BSD
- fedora 43: trousers-devel 0.3.15-16.fc43 Β· LicenseRef-Callaway-BSD
- fedora 44: trousers-devel 0.3.15-17.fc44 Β· LicenseRef-Callaway-BSD
- fedora 44: trousers-devel 0.3.15-17.fc44 Β· LicenseRef-Callaway-BSD
- nixos 26.05: trousers 0.3.15
- nixpkgs unstable: netbsd-source 11.0
- nixpkgs unstable: trousers 0.3.15
- opensuse-leap 16.0: trousers-devel 0.3.15-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: trousers-devel 0.3.15-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: trousers-devel 0.3.15-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: trousers-devel 0.3.15-160000.2.2 Β· BSD-3-Clause
- ubuntu jammy: libtspi-dev 0.3.15-0.2 Β· BSD-3-Clause
- ubuntu noble: libtspi-dev 0.3.15-0.3build2 Β· BSD-3-Clause
- ubuntu questing: libtspi-dev 0.3.15-0.4
- ubuntu resolute: libtspi-dev 0.3.15-1 Β· BSD-3-Clause
- ubuntu stonking: libtspi-dev 0.3.15-1ubuntu2 Β· BSD-3-Clause
- Copyright (C) 2004 International Business Machines Corporation
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms