gnutls_pkcs7_attrs_deinit(3)

πŸ’– gnutls_pkcs7_attrs_deinit β€” API function πŸ’–

okay bestie, we're in the gnutls manual and today's main character is gnutls_pkcs7_attrs_deinit, a little cleanup function that is so underrated. no cap.


✨ SYNOPSIS ✨

#include <gnutls/pkcs7.h>

void gnutls_pkcs7_attrs_deinit(gnutls_pkcs7_attrs_t list);

like, look at her. she takes one thing and she returns nothing. it's giving "i don't need a return value, i just need closure" πŸŽ€


🌸 ARGUMENTS 🌸

  • gnutls_pkcs7_attrs_t list β€” a list of existing attributes. yes, an existing one, girlie. this is the thing you're about to send to the void πŸ¦‹

πŸ’… DESCRIPTION πŸ’…

This function will clear a PKCS 7 attribute list.

that's it. that's the whole job. she clears it. she frees it. she does not text back. periodt. 🫢

if you allocated a PKCS 7 attribute list and you're done with it, this is the girl you call so you're not out here leaking memory like it's a situationship. clear the list. be responsible. your valgrind output will thank you. πŸ’œ


⭐ SINCE ⭐

Available since version 3.4.2 β€” so she's been holding it down since way back. a legend, fr fr. πŸ‘‘


πŸ› REPORTING BUGS πŸ›

found a bug? don't just scream into the group chat, actually report it:


Copyright Β© 2001-2023 Free Software Foundation, Inc., and others.

Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved.

(translation: share it, remix it, just keep the receipts. respect the notice and you're golden ✨)


πŸ‘€ SEE ALSO πŸ‘€

The full documentation for gnutls is maintained as a Texinfo manual. If the /usr/share/doc/gnutls/ directory does not contain the HTML form visit

https://www.gnutls.org/manual/

iykyk β€” the Texinfo manual is where all the lore lives. go read it, bestie. πŸ“š


lowkey important reminder: this page lives in the gnutls manual, version 3.8.13, and it's filed under gnutls_pkcs7_attrs_deinit(3) β€” so if you ever need to find her again, you know exactly where she is. 🌈

okay that's the whole page, mwah, go clear your attribute lists responsibly πŸ’‹πŸŒΈπŸŽ€

πŸ“¦ where this page comes from