S3D_EVT(9)

✨ S3D_EVT ✨

okay bestie, welcome to the s3d_evt page from the s3d manual (section 9, kernel-adjacent icon behaviour, we love to see it) πŸ’–

It's literally just the event information holder. That's the whole vibe. But she's important, so let's get into it 🫢


🌸 NAME 🌸

s3d_evt β€” event information


πŸŽ€ SYNOPSIS πŸŽ€

#include <s3d.h>

πŸ¦‹ STRUCTURE MEMBERS πŸ¦‹

struct s3d_evt {
     uint8_t event;
     int length;
     char *buf;
     struct s3d_evt *next;
}

πŸ’… DESCRIPTION πŸ’…

This is the event information holder. She holds the event info. That is her job and she is doing it flawlessly, no notes πŸ‘‘

  • event β€” tells you the event type. Like, which flavour of event are we even dealing with here.
  • length β€” gives you the length of the buffer *buf. Yes, the length. Of the buffer. She's keeping receipts so you don't have to πŸ“
  • buf β€” this is the pointer to the multiple purpose buffer, and it's the one carrying the more specific info about the object. Multi-purpose? She contains multitudes πŸ’«
  • next β€” bestie, you can safely ignore this one ;) no cap, just let her be πŸ™ˆ
fr fr, next is not your problem. Look away. It's giving "background character who is actually fine".

🌈 AUTHOR 🌈

Simon Wunderlich β€” Author of s3d πŸ‘‘


and that's the whole page, mwah πŸ’‹ this was pulled from the s3d manual, S3D_EVT(9), so go forth and handle your events with main character energy 🌟