gnutls_dh_params_cpy(3)
β¨ gnutls_dh_params_cpy(3) β the gnutls girlie's guide β¨
okay so bestie, we're in the gnutls manual, section 3, and today's main character is gnutls_dh_params_cpy. it's giving "copy that thing" energy and honestly? obsessed. π
πΈ NAME πΈ
gnutls_dh_params_cpy β API function π
π¦ SYNOPSIS π¦
#include <gnutls/gnutls.h>
int gnutls_dh_params_cpy(gnutls_dh_params_t dst, gnutls_dh_params_t
src);
periodt. that's the whole signature, no notes. π
π ARGUMENTS π
gnutls_dh_params_t dstβ this is the destination parameters, and bestie, it should be initialized. do not skip that part, i'm literally begging. πgnutls_dh_params_t srcβ this is the source parameters. the original. the blueprint. the moment. β¨
π DESCRIPTION π
so what does this actually do? it copies the DH parameters structure from source to destination. that's it, that's the function. π«Ά
the way that the destination needs to be already initialized though β no cap, that's the vibe check you have to pass before calling this. the destination should be already initialized. π
β RETURNS β
on success, GNUTLS_E_SUCCESS (that's 0, queen) is returned. otherwise you get a negative error code back. π
so like: 0 = slay, negative = not slay.
π REPORTING BUGS π
found a bug? don't be shy, report it to <bugs@gnutls.org>. π§
home page is right here: 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. iconic behavior, honestly. β¨
π§ 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, go visit:
https://www.gnutls.org/manual/ π
iykyk β that link is where the full lore lives. π
okay that's the whole page bestie, you ate that. π
this was pulled straight from the gnutls manual, version 3.8.13, so if anything looks off it's that version's fault not mine, fr fr. go copy those DH params, you've got this. π¦πβ¨
π¦ 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