# kernelv_get_error_channel()

## Prototype

signed short int

kernelv_get_error_channel(void);

## Description

Returns the channel number of the channel in which an error message previously read by kernelv_read_error() occurred. If no error message was read or there is no current error message, the value -1 is returned.

## Parameter

-

## Return values

Type: signed short int

0 if there is no current error message; otherwise the channel number.