---
name: "perror"
section: "1"
platform: "freebsd"
package: "base"
version: "16.0-CURRENT-20261027-61c70dc16a79"
release: "FreeBSD 16.0-CURRENT (2026-10-27)"
platforms: ["linux", "freebsd"]
url: "https://new.carta.tech/perror"
---

# perror(1)

print an error number as a string

## NAME

**perror** – print an error number as a string

## SYNOPSIS

**perror** *number*

## DESCRIPTION

The **perror** program takes a raw errno value and prints it as a string.

## SEE ALSO

[perror(3)](/perror/3.md)

## HISTORY

The **perror** program first appeared in FreeBSD 8.0.

## AUTHORS

George V. Neville-Neil
