shishi_generalize_now(3)

πŸ“¦
version 1.0.3 Β· 2 versions
  • 1.0.3 Β· debian bookworm, debian trixie, nixos 26.05, nixpkgs unstable, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking (latest)
  • 1.0.2 Β· ubuntu jammy
, in debian bookworm, debian trixie, nixos 26.05, nixpkgs unstable, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking

✨ NAME ✨

shishi_generalize_now β€” bestie it's an API function, and it's giving "what time is it" but make it Kerberos πŸ’…


🌸 SYNOPSIS 🌸

#include <shishi.h>

const char * shishi_generalize_now(Shishi * handle);

πŸŽ€ ARGUMENTS πŸŽ€

  • Shishi * handle β€” okay so this is your Shishi handle, the one you got handed to you when you called shishi_init(). No handle, no vibe check, no service 🫢

πŸ¦‹ DESCRIPTION πŸ¦‹

So basically what this icon does is take the current time β€” like, right now right now β€” and convert it into a KerberosTime string. That's it. That's the whole slay. ⭐

Heads up bestie, and this part is IMPORTANT: the returned string is not yours to deallocate. Do not call free() on it. The library owns it. You're just borrowing it. If you deallocate it, that's not main character energy, that's undefined-behaviour energy πŸ’€

πŸ”₯ RETURN VALUE πŸ”₯

It returns a KerberosTime formatted string that corresponds to the current time. A whole little timestamp, freshly formatted, just for you ✨


😭 REPORTING BUGS 😭

Found a bug? Spill the tea, respectfully, to <bug-shishi@gnu.org> πŸ“


Copyright Β© 2002-2022 Simon Josefsson.

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: go off, remix it, just keep the receipts πŸ’œ)


🌈 SEE ALSO 🌈

The full documentation for shishi is maintained as a Texinfo manual. If the info and shishi programs are properly installed at your site, the command

info shishi

should give you access to the complete manual. iykyk πŸ“–βœ¨


okay that's the whole page bestie, mwah πŸ’– β€” this was shishi_generalize_now(3) from the shishi manual, version 1.0.3. Go forth and generalize responsibly πŸ§šβ€β™€οΈπŸ’