shishi_generalize_ctime(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

πŸ’– shishi_generalize_ctime β€” the NAME section, bestie πŸ’–

okay so this is shishi_generalize_ctime, living in section 3 of the shishi manual β€” she's an API function, and she's here to do exactly one little job and do it cute πŸŽ€


✨ SYNOPSIS ✨

no cap, here's the whole vibe:

#include <shishi.h>

time_t shishi_generalize_ctime(Shishi * handle, const char * t);

that's it. that's the whole entrance. iconic behavior honestly πŸ‘‘


🫢 ARGUMENTS 🫢

two things go in, one time value comes out. let's meet the girls:

  • Shishi * handle β€” the Shishi handle, and you gotta get it from shishi_init(). she's the main character of the whole operation, everything routes through her πŸ’…
  • const char * t β€” a KerberosTime string, and she's the one getting converted. yes literally, she's a string right now. we're about to change her whole life πŸ¦‹

🌸 DESCRIPTION 🌸

so the way that this works is: shishi_generalize_ctime takes that KerberosTime formatted string sitting in t and converts it into an integral C time representation. like, she takes the fancy KerberosTime outfit and gets her into comfy C time clothes. glow up, but make it integers ✨


⭐ RETURN VALUE ⭐

she returns the C time that corresponds to the input argument. that's the whole gift. no notes πŸ’–


😭 REPORTING BUGS 😭

if something's broken (not you bestie, the code), report bugs 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.


🌈 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, then this command

info shishi

should give you access to the complete manual. periodt πŸ’…


okay that's the whole page bestie, tysm for reading πŸ₯° she's from shishi version 1.0.3 and she's dated shishi_generalize_ctime(3) β€” go forth and convert those KerberosTime strings, you've got this πŸ’œπŸ¦‹βœ¨