usb_endpoint_dir_in(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… usb_endpoint_dir_in(9) πŸ’…

okay bestie, welcome to the Kernel API Manual β€” today's main character is usb_endpoint_dir_in(9) and honestly? she's a tiny little function doing one (1) job and doing it flawlessly. πŸŽ€


✨ NAME ✨

usb_endpoint_dir_in β€” check if the endpoint has IN direction πŸ¦‹


🌸 SYNOPSIS 🌸

int usb_endpoint_dir_in (const struct usb_endpoint_descriptor *epd );

like yes that's the whole thing, she's short and she knows it πŸ’…


🧚 ARGUMENTS 🧚

  • epd β€” the endpoint you wanna check, bestie. that's it. that's the whole arg 🫢

πŸ’– DESCRIPTION πŸ’–

so here's the vibe: it returns true if the endpoint is of type IN, otherwise it returns false. no cap, that's literally the entire personality. one job, zero drama, iconic behavior honestly πŸ‘‘

like… is she an IN endpoint or not? ask and ye shall receive 🌈


πŸ”₯ SEE ALSO πŸ”₯

the whole friend group, fr fr β€” go say hi to all of them:

bestie the "in" girlies and the "out" girlies both get a page and that's the balance the kernel deserves πŸ’€βœ¨

aaaand that's the page!! πŸ“ source vibes come straight from ./include/uapi/linux/usb and this cutie is dated October 2026 β€” mwah, hope that cleared things up, mwah πŸ’œπŸ§šβ€β™€οΈ

πŸ“¦ where this page comes from