xref: /freebsd/usr.bin/perror/perror.1 (revision fa9896e082a1046ff4fbc75fcba4d18d1f2efc19)
19a3009b8SGeorge V. Neville-Neil.\"
2*179fa75eSJohn Baldwin.\" Copyright (c) 2009 Hudson River Trading LLC
39a3009b8SGeorge V. Neville-Neil.\" Written by: George V. Neville-Neil <gnn@FreeBSD.org>
49a3009b8SGeorge V. Neville-Neil.\" All rights reserved.
59a3009b8SGeorge V. Neville-Neil.\"
69a3009b8SGeorge V. Neville-Neil.\" Redistribution and use in source and binary forms, with or without
79a3009b8SGeorge V. Neville-Neil.\" modification, are permitted provided that the following conditions
89a3009b8SGeorge V. Neville-Neil.\" are met:
99a3009b8SGeorge V. Neville-Neil.\" 1. Redistributions of source code must retain the above copyright
109a3009b8SGeorge V. Neville-Neil.\"    notice, this list of conditions and the following disclaimer.
119a3009b8SGeorge V. Neville-Neil.\" 2. Redistributions in binary form must reproduce the above copyright
129a3009b8SGeorge V. Neville-Neil.\"    notice, this list of conditions and the following disclaimer in the
139a3009b8SGeorge V. Neville-Neil.\"    documentation and/or other materials provided with the distribution.
149a3009b8SGeorge V. Neville-Neil.\"
159a3009b8SGeorge V. Neville-Neil.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
169a3009b8SGeorge V. Neville-Neil.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
179a3009b8SGeorge V. Neville-Neil.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
189a3009b8SGeorge V. Neville-Neil.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
199a3009b8SGeorge V. Neville-Neil.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
209a3009b8SGeorge V. Neville-Neil.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
219a3009b8SGeorge V. Neville-Neil.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
229a3009b8SGeorge V. Neville-Neil.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
239a3009b8SGeorge V. Neville-Neil.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
249a3009b8SGeorge V. Neville-Neil.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
259a3009b8SGeorge V. Neville-Neil.\" SUCH DAMAGE.
269a3009b8SGeorge V. Neville-Neil.\"
279a3009b8SGeorge V. Neville-Neil.Dd May 12, 2009
289a3009b8SGeorge V. Neville-Neil.Dt PERROR 1
299a3009b8SGeorge V. Neville-Neil.Os
309a3009b8SGeorge V. Neville-Neil.Sh NAME
319a3009b8SGeorge V. Neville-Neil.Nm perror
329a3009b8SGeorge V. Neville-Neil.Nd "print an error number as a string"
339a3009b8SGeorge V. Neville-Neil.Sh SYNOPSIS
349a3009b8SGeorge V. Neville-Neil.Nm
3514f24fb3SJoerg Wunsch.Ar number
369a3009b8SGeorge V. Neville-Neil.Sh DESCRIPTION
379a3009b8SGeorge V. Neville-NeilThe
389a3009b8SGeorge V. Neville-Neil.Nm
399a3009b8SGeorge V. Neville-Neilprogram takes a raw errno value and prints it as a string.
409a3009b8SGeorge V. Neville-Neil.Sh SEE ALSO
419a3009b8SGeorge V. Neville-Neil.Xr perror 3
429a3009b8SGeorge V. Neville-Neil.Sh HISTORY
439a3009b8SGeorge V. Neville-NeilThe
449a3009b8SGeorge V. Neville-Neil.Nm
459a3009b8SGeorge V. Neville-Neilprogram first appeared in
469a3009b8SGeorge V. Neville-Neil.Fx 8.0 .
479a3009b8SGeorge V. Neville-Neil.Sh AUTHORS
489a3009b8SGeorge V. Neville-Neil.An George V. Neville-Neil
49