dnsjit.core.receiver(3)

πŸ“¦
version 1.5.1 Β· 5 versions
, in epel 10, epel 9, fedora 43, fedora 44, ubuntu resolute, ubuntu stonking

πŸ’– dnsjit.core.receiver(3) πŸ’–

okay bestie, welcome to the Library Functions Manual section for dnsjit.core.receiver β€” yes the page name says receiver but the whole thing is lowkey about a time structure, we don't make the rules, we just read them πŸ’…


✨ NAME ✨

dnsjit.core.receiver β€” a non-system depended time specification structure definition πŸ•°οΈ

Like, it's a time thing. But make it portable. Periodt.


🌸 SYNOPSIS 🌸

typedef struct core_timespec {
    int64_t sec;
    int64_t nsec;
} core_timespec_t;

πŸŽ€ C

#include "core/timespec.h"

πŸ¦‹ Lua

require("dnsjit.core.timespec_h")

⭐ Lua functions

local ts = require("dnsjit.core.timespec"):max_init()

πŸ’œ DESCRIPTION πŸ’œ

So the tea is this: it's mainly used in C modules, and it gives you a time specification structure that's system independent β€” meaning it doesn't care what your OS thinks time is β€” and it can be passed to Lua. iconic behaviour fr fr 🫢

🧚 Functions

  • Timespec:max_init() β€” returns a brand new structure where both sec and nsec are set to 2LL ^ 62, which is the maximum positive values according to Lua. the absolute ceiling, the final boss, no cap πŸ”₯

πŸ‘‘ AUTHORS and CONTRIBUTORS πŸ‘‘

  • Jerry LundstrΓΆm (DNS-OARC)
  • TomΓ‘Ε‘ KΕ™Γ­ΕΎek (CZ.NIC)
  • Petr Ε paček (ISC)

Maintained by DNS-OARC πŸ’™

https://www.dns-oarc.net/

πŸ’€ BUGS πŸ’€

Got issues? Got feature requests? Bestie, don't suffer in silence, use this:

https://codeberg.org/DNS-OARC/dnsjit/issues

For questions and help, hit up:

admin@dns-oarc.net

mwah πŸ’‹ this page is from dnsjit, version 1.5.1 β€” that's the source and the version, and honestly? slay. thanks for reading, bestie, go touch some int64_t πŸŽ€βœ¨