mesg

Updated: October 28, 2024

Enable, disable, or query broadcast messages (QNX Neutrino)

Syntax:

mesg [toggle]

Runs on:

QNX Neutrino

Options:

Where toggle is one of:

n
Disable broadcast messages on the console.
y
Enable broadcast messages on the console.

Description:

The mesg utility enables, disables, or queries broadcast messages on the console.

If you don't specify toggle, mesg prints the current status.

Exit status:

0
Receiving messages is allowed.
1
Receiving messages isn't allowed.
> 1
An error occurred.
  翻译: