ZMQ_MSG_SIZE(3)

πŸ’– zmq_msg_size(3) πŸ’–

okay bestie, welcome to the zmq_msg_size page of the 0MQ manual β€” she's a lil function, she's a size_t, and she is here to tell you exactly how thicc your message is. no cap.


✨ SYNOPSIS ✨

size_t zmq_msg_size (zmq_msg_t *msg);

🌸 DESCRIPTION 🌸

so like, zmq_msg_size() shall return the size in bytes of the content of the message object that msg points at. that's it. that's the whole job. she counts bytes and she goes home. πŸ’…

⚠️ Caution β€” never access zmq_msg_t members directly, bestie, i am begging you. like, do not reach into her bag. always use the zmq_msg family of functions instead. iykyk. 🫢

πŸ’œ RETURN VALUE πŸ’œ

upon successful completion, zmq_msg_size() shall return the size of the message content in bytes. slay. ✨


πŸ¦‹ ERRORS πŸ¦‹

no errors are defined. she simply does not have a bad day. iconic behaviour fr fr. 😌


πŸ‘‘ SEE ALSO πŸ‘‘


πŸŽ€ AUTHORS πŸŽ€

this page was written by the 0MQ community. to make a change please read the 0MQ Contribution Policy at http://www.zeromq.org/docs:contributing. come thru, we'd love to have you πŸ’–


okay and finally, the lil sign-off: this whole vibe is 0MQ 4.3.5, dated 10/09/2023, and yes she's filed under ZMQ_MSG_SIZE(3) in case you were wondering where to find her again. mwah, go count some bytes bestie πŸŒˆπŸ’œβœ¨

πŸ“¦ where this page comes from