A.4 Standard error output and standard output
The execution status and results of commands are sent to standard error output or standard output.
- Organization of this subsection
(1) Output destination
The output destination varies for each message to be sent. For messages, see 1.3 Messages.
(2) Output format
A message to be sent to standard error output or standard output is formatted as follows:
message-ID message-text |
The following table describes each output item.
No. |
Output item |
Output format |
Size (Unit: bytes) |
Description |
---|---|---|---|---|
1 |
message-ID |
Character string |
0 to 20 |
Represents the message ID. |
2 |
message-text |
Character string |
1 to 1,023 |
Represents the message text. |
(3) Encoding
The character encoding applied to the data sent to the standard error output or standard output is the same encoding that is set in the OS.