GNUTLS_DB_CHECK_ENTRY_EXPIRE_TIME(3)

πŸ’– gnutls_db_check_entry_expire_time(3) πŸ’–

okay bestie, so this is a page from the gnutls manual (section 3, the library functions section, iykyk) and it's about finding out when a database entry is gonna ✨expire✨. short one. cute one. let's get into it.


🌸 NAME 🌸

gnutls_db_check_entry_expire_time β€” it's literally an API function, that's the whole name, periodt.


✨ SYNOPSIS ✨

#include <gnutls/gnutls.h>

time_t gnutls_db_check_entry_expire_time(gnutls_datum_t * entry);

πŸŽ€ ARGUMENTS πŸŽ€

  • gnutls_datum_t * entry β€” bestie this is a pointer to a gnutls_datum_t type. that's it. that's the whole argument. she's low maintenance fr.

πŸ¦‹ DESCRIPTION πŸ¦‹

so this function returns the time that this entry will expire. the way it works is that it can be used for database entry expiration πŸ’… like if you're managing a lil database of stuff and you need to know when a thing goes stale, this is your girl.


🌈 RETURNS 🌈

the time this entry will expire β€” or zero on error. so if you get a 0 back, that's the error vibe check failing, not a real timestamp. πŸ™ˆ


⭐ SINCE ⭐

3.6.5 β€” so she's been around since then, an icon of that era πŸ’œ


πŸ’€ REPORTING BUGS πŸ’€

found a bug? not me gatekeeping the bug report address:


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: you can copy and share this file however you want, no royalties, just don't delete the copyright notice and this notice. slay. 🫢)


🧚 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/


πŸ’– and that's the whole page bestie, no cap. go check your entry's expire time, stay hydrated, and don't forget to #include <gnutls/gnutls.h> πŸ’–

gnutls version 3.8.13 β€” written down for you by the gnutls girlies (copyright 2001-2023, Free Software Foundation, Inc., and others), page gnutls_db_check_entry_expire_time(3). mwah. πŸ’…βœ¨

πŸ“¦ where this page comes from