PX_DELETE(3)
π PX_DELETE(3) π
okay so bestie, welcome to the Library Functions Manual, section 3, page PX_DELETE(3) β yes that's the same name as the header, it's giving main character energy, we love a self-referential icon π
β¨ NAME β¨
PX_delete β deletes an instance of a Paradox file ποΈπ¦
β¨ SYNOPSIS β¨
#include <paradox.h>
void PX_delete(pxdoc_t *pxdoc)
like, that's it. that's the whole vibe. no return value, no drama, just vibes and a pointer π
β¨ DESCRIPTION β¨
okay so here's the tea, bestie β β PX_delete deletes a Paradox file but it does not close it. read that again. it does not close it. π€
and when we say "deleting", we mean it frees all allocated memory β every last byte it was holding onto, gone, released, returned to the void π«Ά β but it does not close the file descriptor. nope. that file descriptor is still out there living its best life, untouched, unbothered, thriving β¨
so like, memory: freed. file descriptor: not our problem, not our business, we do not touch it, periodt π
fr fr, don't expect this function to clean up your file descriptor for you β it literally says right there it doesn't, and we respect the honesty π
β¨ SEE ALSO β¨
the whole friend group, assembled π:
(if you're wondering where PX_close(3) fits in β bestie, that's the one that actually closes things. just saying. π)
β¨ AUTHOR β¨
this manual page was written by Uwe Steinmann uwe@steinmann.cx β absolute legend, icon, ate and left no crumbs ππ
and that's the whole page, bestie!! this was PX_DELETE(3) from the Library Functions Manual, section 3 β same name at the top, same name at the bottom, a perfectly symmetrical little butterfly π¦β¨ tysm for reading, go free your memory, mwah ππ
π¦ where this page comes from
- debian bookworm: pxlib-dev 0.6.8-1+b1
- debian trixie: pxlib-dev 0.6.9-1+b1
- ubuntu jammy: pxlib-dev 0.6.8-1
- ubuntu noble: pxlib-dev 0.6.8-1
- ubuntu questing: pxlib-dev 0.6.9-1
- ubuntu resolute: pxlib-dev 0.6.9-1build1
- ubuntu stonking: pxlib-dev 0.6.10-1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms