From bee514872afa605b2408ed4c2048ce1454ea1b9d Mon Sep 17 00:00:00 2001 From: fair Date: Fri, 16 Mar 2001 06:56:48 +0000 Subject: [PATCH] Added the following text to answer PR 7249: The manual page for each system call will list some of the common errno codes that system call can return, but that should not be considered an exhaustive list, i.e. a properly written program should be able to gracefully recover from any error that a system call might return. Documenting all the error codes that a system call can return in a more specification-like manner would take more resources than this project has available. --- lib/libc/sys/intro.2 | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/lib/libc/sys/intro.2 b/lib/libc/sys/intro.2 index 45772803b9e6..419c59fbb322 100644 --- a/lib/libc/sys/intro.2 +++ b/lib/libc/sys/intro.2 @@ -1,4 +1,4 @@ -.\" $NetBSD: intro.2,v 1.23 2001/03/13 03:24:13 fair Exp $ +.\" $NetBSD: intro.2,v 1.24 2001/03/16 06:56:48 fair Exp $ .\" .\" Copyright (c) 1980, 1983, 1986, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -73,6 +73,15 @@ Note that a number of system calls overload the meanings of these error numbers, and that the meanings must be interpreted according to the type and circumstances of the call. .Pp +The manual page for each system call will list some of the common +errno codes that system call can return, but that should not be +considered an exhaustive list, i.e. +a properly written program should be able to gracefully recover from +any error that a system call might return. +Documenting all the error codes that a system call can return in +a more specification-like manner would take more resources than +this project has available. +.Pp The following is a complete list of the errors and their names as given in .Aq Pa errno.h .