2 strerror - returns a string describing an error value
8 x error-value or integer in [0, 32767], defaults to errno()
13 If x is the error-value with index n, strerror(x) and strerror(n)
16 a system-generated message,
17 a calc-generated description,
18 a user-defined description created by newerror(str),
21 where, in the last form, n is represented decimally.
24 System error messages may be different for different systems.
25 ; errmax(errcount()+3)
28 "No such file or directory"
34 ; a = newerror("alpha")
52 strcat, strcpy, strlen, strncmp, strncpy, strpos,
53 strprintf, strscan, strscanf, substr,
55 errcount, errmax, error, iserror, errno, newerror, errorcodes,
58 ## Copyright (C) 1999-2006 Landon Curt Noll
60 ## Calc is open software; you can redistribute it and/or modify it under
61 ## the terms of the version 2.1 of the GNU Lesser General Public License
62 ## as published by the Free Software Foundation.
64 ## Calc is distributed in the hope that it will be useful, but WITHOUT
65 ## ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
66 ## or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General
67 ## Public License for more details.
69 ## A copy of version 2.1 of the GNU Lesser General Public License is
70 ## distributed with calc under the filename COPYING-LGPL. You should have
71 ## received a copy with calc; if not, write to Free Software Foundation, Inc.
72 ## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
74 ## @(#) $Revision: 30.1 $
75 ## @(#) $Id: strerror,v 30.1 2007/03/16 11:10:42 chongo Exp $
76 ## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/strerror,v $
78 ## Under source code control: 1996/04/30 03:05:18
79 ## File existed as early as: 1996
81 ## chongo <was here> /\oo/\ http://www.isthe.com/chongo/
82 ## Share and enjoy! :-) http://www.isthe.com/chongo/tech/comp/calc/