parport_wait_event(9)
π¦ parport_wait_event(9) π¦
okay so bestie, welcome to the Kernel API Manual β todayβs main character is parport_wait_event(9), and itβs literally all about waiting for an event on a parallel port. no cap, letβs get into it π
πΈ NAME πΈ
parport_wait_event β wait for an event on a parallel port β¨
π SYNOPSIS π
int parport_wait_event (struct parport *port , signed long timeout );
π ARGUMENTS π
portβ the port to wait on π«Άtimeoutβ how long to wait, in jiffies β³
π DESCRIPTION π
So this function waits for up to timeout jiffies for an interrupt to occur on a parallel port. Thatβs the whole vibe. If the port timeout is set to zero, it returns immediately β like, no waiting around, periodt.
If an interrupt occurs before the timeout period elapses, this function returns zero immediately. Slay. If it times out, it returns one. And if you get an error code less than zero? That indicates an error β most likely a pending signal β and the calling code should finish what itβs doing as soon as it can. fr fr, wrap it up π
error code less than zero = error, bestie. most likely a pending signal. the caller should finish what itβs doing as soon as it can.
π SEE ALSO π
Kernel file ./drivers/parport/ieee1284.c:
parport_poll_peripheral(9)parport_wait_peripheral(9)parport_negotiate(9)parport_write(9)parport_read(9)parport_set_timeout(9)
okay thatβs the whole page, bestie β signing off from ./drivers/parport, dated October 2026, 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