MCD_DUMP_DATA_UNREGISTER(3)

πŸ’– MCD_DUMP_DATA_UNREGISTER(3) πŸ’–

okay bestie so real talk β€” this is a page from the minicoredumper manual (section 3, the library-call girlies πŸŽ€), and it's all about ✨cleaning up after yourself✨. iconic behaviour honestly.


🌸 NAME 🌸

mcd_dump_data_unregister β€” unregister previously registered dump data


✨ SYNOPSIS ✨

#include <minicoredumper.h>

int mcd_dump_data_unregister(mcd_dump_data_t dd);

Compile and link with -lminicoredumper.

not the -lminicoredumper at the end, do NOT forget it, she will NOT link without it πŸ’€

πŸ¦‹ DESCRIPTION πŸ¦‹

so the mcd_dump_data_unregister() function does the opposite of registering β€” it unregisters dump data that you already registered earlier with:

and dd is a pointer to the registered dump that was saved during registration. like, the lil receipt you kept from when you signed up πŸ§ΎπŸ’… you hand that receipt back and she takes you off the list. periodt.


πŸ‘‘ RETURN VALUE πŸ‘‘

mcd_dump_data_unregister() returns 0 on success. slay. πŸ’–

otherwise, an error value is returned. not slay. 😭


🚨 ERRORS 🚨

  • ENOKEY β€” dd was not found in the list of registered dumps. it's giving "who is she, I don't know her" πŸ™ˆ she looked through the whole list and you were simply not there bestie.

🌈 SEE ALSO 🌈

The DiaMon Workgroup: <http://www.diamon.org>


and that's the whole vibe check 🫢 this page came straight out of the minicoredumper manual, dated 2016-09-12. go forth and unregister responsibly, bestie β€” no cap. β­πŸ§šβ€β™€οΈπŸ’œ