__iucv_message_receive(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 __iucv_message_receive (9) β€” Kernel API Manual πŸ’…

okay so bestie, welcome to the Kernel API Manual, section 9, and today's main character is __iucv_message_receive. she receives messages. she does NOT do locking. we stan a low-maintenance icon ✨


✨ NAME ✨

__iucv_message_receive β€” Receives messages on an established path (no locking) πŸŽ€

like yes, that's the whole vibe: messages come in on a path you already established, and she does not lock anything. not her job. not her problem. periodt.


πŸ¦‹ SYNOPSIS πŸ¦‹

int __iucv_message_receive (struct iucv_path *path , struct iucv_message
*msg , u8 flags , void *buffer , size_t size , size_t *residual );

look at that signature. gorgeous. iconic. returns an int, takes six whole arguments, and one of them is literally a size_t *residual so you will be getting a pointer back, no cap πŸ’–


πŸŽ€ ARGUMENTS πŸŽ€

  • path β€” address of iucv path structure. this is your established path, the little road the messages travel on πŸ›£οΈ
  • msg β€” address of iucv msg structure. the message itself lives here 🫢
  • flags β€” flags that affect how the message is received. the one flag named here is IUCV_IPBUFLST ⭐
  • buffer β€” address of data buffer, or address of struct iucv_array. yes, she's flexible like that β€” either a plain buffer or an array struct πŸ”₯
  • size β€” length of data buffer. keep it accurate or, like, don't 😭
  • residual β€” bestie the original manpage literally gives no description here, so I'm not about to invent one for you. it's a parameter, it's listed, that's what we know πŸ™ˆ

πŸ’œ DESCRIPTION πŸ’œ

so here's the tea β˜• β€” this function receives messages that are being sent to you over established paths. that's it, that's the job, and she does it well πŸ‘‘

and the extra slay? she will also deal with RMDATA messages embedded in struct iucv_message as well. so those little embedded ones don't get to sneak past her. not on her watch πŸ’…

Locking: no locking 🚨

like, for real, none. so if you were expecting her to hold a lock for you, she is not that girl. you handle that yourself, bestie. iykyk.


🌈 RETURN 🌈

the result from the CP IUCV call. she's not out here making up her own return values, she just hands you back whatever CP IUCV said. honest queen 🫢


πŸ‘‘ SEE ALSO πŸ‘‘

Kernel file ./net/iucv/iucv.c β€” and the entire friend group, in order:

like, the whole roster. she knows everybody πŸ¦‹


and that's a wrap, bestie πŸŽ€ this page came from ./net/iucv, dated October 2026, and it's filed under __iucv_message_receive(9) β€” go forth and receive those messages, no locking, no stress, all vibes πŸ’–βœ¨

πŸ“¦ where this page comes from