Linux Message Queue source code-Linux general technology-Linux technology and application information. For more information, see the following section. The source code for sending messages in the message queue in linux. # What kind of behavior should I add alen when applying for a space? How much space is required?
Struct msg_msg * load_msg (const void _ user * src, int len)
{
Struct msg_msg * msg;
Struct msg_msgseg ** using G;
Int err;
Int alen;
Alen = len;
If (alen> DATALEN_MSG)
Alen = DATALEN_MSG;
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.