msgsnd: Invalid argument
I receive msgsnd: Invalid a开发者_如何学编程rgument error while using my program. Another thing i noted is that error do not occur if the file size is medium while it occurs when file size is slightly more. Is is due to memory overflow? If yes then what is the solution. Regards, Bhavin.
msgsnd()
returns EINVAL
if the msgsz
parameter is greater than MSGMAX
(which is usually quite a small value, like 8192).
What msgsz
are you using?
精彩评论