Trf_DeleteOptions(3)
π Trf_DeleteOptions β the cleanup era π
okay so bestie, we're in the Library Functions Manual and this page is Trf_DeleteOptions(3). It's the other half of the options lifecycle. If Trf_CreateOptions is the glow-up, this is the "okay we're done here, go home" moment. And honestly? Both are necessary. Balance. π§
β¨ NAME β¨
Trf_DeleteOptions β the interface to the procedures that delete a container you made earlier with Trf_CreateOptions. no cap, that's the whole job. ποΈ
πΈ SYNOPSIS πΈ
#include <transform.h>
void Trf_DeleteOptions
(
Trf_Options options,
ClientData clientData
);
π PARAMETERS π
Trf_Options optionsβ the container you want to destroy. yeet it. π It's the thing you're here to take apart.ClientData clientDataβ arbitrary info, exactly as defined inTrf_TypeDefinition.clientData. it's giving "whatever you need to pass along," and the library is not gonna ask questions. π
π DESCRIPTION π
so here's the deal: it is this procedure's responsibility to clear and release all the memory of the specified container. all of it. every last byte, no crumbs left. β¨
and the container must have been created by the corresponding procedure of type Trf_CreateOptions β like, you can't just hand it some random thing and expect a clean goodbye. matching pairs only, iykyk. π«Ά
π₯ SEE ALSO π₯
the whole friend group, fr fr:
Trf_Init(3)Trf_SafeInit(3)Trf_IsInitialized(3)Trf_CreateOptions(3)Trf_CheckOptions(3)Trf_SetOption(3)Trf_SetObjOption(3)Trf_QueryOptions(3)Trf_SeekQueryOptions(3)Trf_WriteProc(3)Trf_CreateCtrlBlock(3)Trf_DeleteCtrlBlock(3)Trf_TransformCharacter(3)Trf_TransformBuffer(3)Trf_FlushTransformation(3)Trf_ClearCtrlBlock(3)Trf_QueryMaxRead(3)Trf_Register(3)Trf_ConverterOptions(3)Trf_MDStart(3)Trf_MDUpdate(3)Trf_MDUpdateBuf(3)Trf_MDFinal(3)Trf_MDCheck(3)Trf_RegisterMessageDigest(3)Trf_LoadLibrary(3)Trf_XorBuffer(3)Trf_ShiftRegister(3)Trf_FlipRegisterShort(3)Trf_FlipRegisterLong(3)Trf_InitStubs(3)
lowkey important: if you created it withTrf_CreateOptions, you free it withTrf_DeleteOptions. don't leave it hanging, bestie, that's not main character energy, that's a memory leak. π
and that's the page, mwah π this lil' rewrite was served up from c2man transform.h and dated 27 August 2002 β yes, an actual icon, born before most of us. periodt. ππ
π¦ where this page comes from
- debian bookworm: tcl-trf-doc 2.1.4-dfsg3-2.1
- debian trixie: tcl-trf-doc 2.1.4-dfsg3-8
- ubuntu jammy: tcl-trf-doc 2.1.4-dfsg3-2.1build1
- ubuntu noble: tcl-trf-doc 2.1.4-dfsg3-3
- ubuntu questing: tcl-trf-doc 2.1.4-dfsg3-8
- ubuntu resolute: tcl-trf-doc 2.1.4-dfsg3-8build1
- ubuntu stonking: tcl-trf-doc 2.1.4-dfsg3-9build1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms