aa_dfa_next(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

aa_dfa_next β€” step one character to the next state in the dfa

okay so this little cutie is from the Kernel API Manual, and the whole vibe is: take a dfa, take a state, take one input character, and step to the next state. Bestie, it’s giving β€œone tiny step in the dfa journey,” slay. πŸ’…βœ¨

πŸ’… SYNOPSIS πŸ’…

aa_state_t aa_dfa_next (const struct aa_dfa *dfa , aa_state_t state ,
       const char c );

✨ ARGUMENTS ✨

  • dfa β€” the dfa to traverse (NOT NULL, so do not come in here with a null, bestie πŸ™…β€β™€οΈ).
  • state β€” the state to start in.
  • c β€” the input character to transition on.

πŸ¦‹ DESCRIPTION πŸ¦‹

The DESCRIPTION text literally says: aa_dfa_match will step through the dfa by one input character c.

Yes, it says aa_dfa_match even though the page is aa_dfa_next β€” I’m just relaying the lore, not editing it. No cap. 😭✨

πŸŽ€ RETURN πŸŽ€

What comes back is: state reach after input c. That’s exactly the phrase on the page, bestie β€” state reach after input c. 🫢

πŸ”₯ SEE ALSO πŸ”₯


big sparkly sign-off: source/version energy is ./security/apparmor, the date is October 2026, and the page is aa_dfa_next(9). πŸ’–βœ¨πŸŽ€

πŸ“¦ where this page comes from