GLOBUS_XIO_TCP_DRIVER_IO(3)
π NAME π
globus_xio_tcp_driver_io β it's giving Reading/Writing, bestie π
Literally just Reading/Writing. That's the whole vibe. π¦
β¨ SYNOPSIS β¨
okay so there's no fancy flag list here, this page is more of a "let me explain the energy" situation π keep reading, it's all in the description below π
πΈ Detailed Description πΈ
Reading/Writing. π«Ά
So here's the tea, bestie: both the globus_xio_register_read() and globus_xio_register_write() calls? They follow the same semantics as described below. No cap, they're twins fr fr π―
- If the
waitforbytesparameter is greater than zero β the io is gonna happen asynchronously β¨ and it's only completed when at leastwaitforbyteshas been read/written. It's patient. It waits. main character energy honestly π - If the
waitforbytesparameter is equal to zero β okay so now we have options, and one of these alternative behaviors occurs:- If the length of the buffer is > 0 β the read or write happens synchronously β and lowkey here's the detail you don't wanna miss: if the user is using one of the blocking xio calls, no internal callback will occur. None. Zero. Nada. π
- If the length of the buffer is also 0 β then the call behaves like an asynchronous notification of data ready to be either read or written. ie, an asynchronous
select(). It's not doing the thing, it's telling you the thing is ready. it's giving "hey bestie, it's your turn" π£π
π¨ and in any case, when an error or EOF occurs before thewaitforbytesrequest has been met, the outgoingnbytesis set to the amount of data actually read/written before the error or EOF occurred. So like, it tells you the truth about how far you got before it all went sideways π accurate reporting slay
π Author π
Generated automatically by Doxygen for globus_xio from the source code. π€ (not a human girly writing this, just the machine doing its lil thing, but she ate regardless π
β¨)
and that's the whole page, bestie π«Ά this lil slice of wisdom came to you from the globus_xio crew, Version 6.6 π mwah, go read/write something iconic πππ¦
π¦ where this page comes from
- epel 10: globus-xio-doc 6.6-4.el10_0 Β· Apache-2.0
- fedora 43: globus-xio-doc 6.6-9.fc43 Β· Apache-2.0
- fedora 44: globus-xio-doc 6.6-10.fc44 Β· Apache-2.0
- ubuntu resolute: libglobus-xio-doc 6.6-3build2 Β· Apache-2.0
- ubuntu stonking: libglobus-xio-doc 6.6-4 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms