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:
- Report bugs to <bugs@gnutls.org>.
- Home page: https://www.gnutls.org
π COPYRIGHT π
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, version3.8.13, and it's filed undergnutls_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
- alpine 3.22: gnutls-doc 3.8.13-r0 Β· LGPL-2.1-or-later
- alpine 3.23: gnutls-doc 3.8.13-r0 Β· LGPL-2.1-or-later
- alpine 3.24: gnutls-doc 3.8.13-r0 Β· LGPL-2.1-or-later
- arch rolling: gnutls 3.8.13-3 Β· GPL-3.0-or-later AND LGPL-2.1-or-later
- fedora 43: gnutls-devel 3.8.13-1.fc43 Β· GPL-3.0-or-later AND LGPL-2.1-or-later
- fedora 43: gnutls-devel 3.8.13-1.fc43 Β· GPL-3.0-or-later AND LGPL-2.1-or-later
- fedora 44: gnutls-devel 3.8.13-1.fc44 Β· GPL-3.0-or-later AND LGPL-2.1-or-later
- fedora 44: gnutls-devel 3.8.13-1.fc44 Β· GPL-3.0-or-later AND LGPL-2.1-or-later
- ubuntu stonking: gnutls-doc 3.8.13-1ubuntu1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms