usb_endpoint_dir_in(9)
π 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:
- Kernel file
./include/uapi/linux/usb/ch9.hstruct usb_ctrlrequest(9) usb_endpoint_num(9)usb_endpoint_type(9)usb_endpoint_dir_out(9)usb_endpoint_xfer_bulk(9)usb_endpoint_xfer_control(9)usb_endpoint_xfer_int(9)usb_endpoint_xfer_isoc(9)usb_endpoint_is_bulk_in(9)usb_endpoint_is_bulk_out(9)usb_endpoint_is_int_in(9)usb_endpoint_is_int_out(9)usb_endpoint_is_isoc_in(9)usb_endpoint_is_isoc_out(9)usb_endpoint_maxp(9)usb_endpoint_maxp_mult(9)
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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms