Next: Background Up: 6.4.2 Message Queues Previous: SYSTEM CALL: msgctl()

### msgtool: An interactive message queue manipulator

Few can deny the immediate benefit of having accurate technical information readily available. Such materials provide a tremendous mechanism for learning and exploring new areas. On the same note, having real world examples to accompany any technical information will speed up and reinforce the learning process.

Until now, the only useful examples which have been presented were the wrapper functions for manipulating message queues. While they are extremely useful, they have not been presented in a manner which would warrant further study and experimentation. To remedy this, you will be presented with msgtool, an interactive command line utility for manipulating IPC message queues. While it certainly functions as an adequate tool for education reinforcement, it can be applied directly into real world assignments, by providing message queue functionality via standard shell scripts.

- Background
- Command Line Syntax
  - Sending Messages
  - Retrieving Messages
  - Changing the Permissions (mode)
  - Deleting a Queue
- Examples
- The Source