当前位置: 首页 > 文档资料 > Perl 入门教程 >

msgrcv

优质
小牛编辑
118浏览
2023-12-01

描述 (Description)

此函数从队列ID接收消息,将消息放入变量VAR,最大大小为SIZE。

语法 (Syntax)

以下是此函数的简单语法 -

msgrcv ID, VAR, SIZE, TYPE, FLAGS

返回值 (Return Value)

此函数在出错时返回0,在成功时返回1。

<!--

例子 (Example)

Following is the example code showing its basic usage −

When above code is executed, it produces the following result −

-->