Perl Programming Documentation
Download Perl
Explore

Manual

- Overview
- Tutorials
- FAQs
- History / Changes
- License

Reference

- Language
- Functions
- Operators
- Special Variables
- Pragmas
- Utilities
- Internals
- Platform Specific

Modules

- A • B • C • D • E
- F • G • H • I • L
- M • N • O • P • S
- T • U • X

Tools

- Preferences

# msgrcv

Perl 5 version 18.2 documentation
Go to top
Show recent pages
Recently read

# msgrcv

Perl functions A-Z | Perl functions by category | The 'perlfunc' manpage

- msgrcv ID,VAR,SIZE,TYPE,FLAGS

  Calls the System V IPC function msgrcv to receive a message from message queue ID into variable VAR with a maximum message size of SIZE. Note that when a message is received, the message type as a native long integer will be the first thing in VAR, followed by the actual message. This packing may be opened with `unpack("l! a*")` . Taints the variable. Returns true if successful, false on error. See also SysV IPC in perlipc and the documentation for `IPC::SysV` and `IPC::SysV::Msg` .

  Portability issues: msgrcv in perlport.