GET_SYSINFO(4)

πŸ“¦
version 2.5.3 Β· 2 versions
, in nixos 26.05

okay so welcome to the Get_Sysinfo page from the special file manual β€” yes, the manual name is literally special file, and we love that for us. This whole thing is about getting info about a tool's host, and we're covering every arg, every example, zero skipping. πŸ’–

✨ NAME ✨

Get_Sysinfo β€” get information about a tool's host. That's the whole vibe: ask the handler's host for its deets. 🫢

🌸 SYNOPSIS 🌸

Get_Sysinfo(out string sysname,
        out string nodename,
        out string release,
        out string version,
        out string machine);

πŸ’… DESCRIPTION πŸ’…

The Get_Sysinfo request gets information about the handler's host. It's giving "bestie, describe your machine" energy. πŸ‘‘

  • sysname β€” the name of the host's operating system.
  • nodename β€” the name of the host.
  • release and version β€” implementation-specific information about the host's operating system.
  • machine β€” an implementation-specific name that identifies the hardware on which the operating system is running.

πŸŽ€ APPLICATION USAGE πŸŽ€

The ttdt_session_join(3) function can be used to register for, and transparently process, the Get_Sysinfo request. Slay, honestly. ✨

πŸ¦‹ EXAMPLES πŸ¦‹

The Get_Sysinfo message can be sent as in the following example:

Tt_message msg = tttk_message_create(0, TT_REQUEST, TT_SESSION,
                        the_recipient_procid, TTDT_GET_SYSINFO,
                        my_callback);
tt_message_arg_add(msg, TT_OUT, Tttk_string, 0);
tt_message_arg_add(msg, TT_OUT, Tttk_string, 0);
tt_message_arg_add(msg, TT_OUT, Tttk_string, 0);
tt_message_arg_add(msg, TT_OUT, Tttk_string, 0);
tt_message_arg_add(msg, TT_OUT, Tttk_string, 0);
tt_message_send(msg);

🌈 SEE ALSO 🌈


and that's the whole Get_Sysinfo(special file) page, bestie β€” the footer is just that same Get_Sysinfo(special file) title/manual line, so there's no extra source/version/date stamp hiding in the original. Periodt. πŸ’œ

πŸ“¦ where this page comes from