strerror

display a system error message 

Command


SYNOPSIS

strerror [-c cmdname] errno ...


DESCRIPTION

strerror takes the system error number indicated by errno and displays the corresponding system error message in the same manner that the C function strerror() does.

Options

-c 

prefixes the error message with the given command name, followed by a colon.


DIAGNOSTICS

Possible exit status values are:

0 

Successful completion.

>0 

An error occurred.


PORTABILITY

Windows 10. Windows Server 2016. Windows Server 2019. Windows 11. Windows Server 2022. Windows Server 2025.


AVAILABILITY

PTC MKS Toolkit for Developers
PTC MKS Toolkit for Interoperability
PTC MKS Toolkit for Professional Developers
PTC MKS Toolkit for Professional Developers 64-Bit Edition
PTC MKS Toolkit for Enterprise Developers
PTC MKS Toolkit for Enterprise Developers 64-Bit Edition


PTC MKS Toolkit 10.5 Documentation Build 40.