diff options
author | Joe Hunkeler <jhunkeler@gmail.com> | 2015-08-11 16:51:37 -0400 |
---|---|---|
committer | Joe Hunkeler <jhunkeler@gmail.com> | 2015-08-11 16:51:37 -0400 |
commit | 40e5a5811c6ffce9b0974e93cdd927cbcf60c157 (patch) | |
tree | 4464880c571602d54f6ae114729bf62a89518057 /sys/fio/filerr.x | |
download | iraf-osx-40e5a5811c6ffce9b0974e93cdd927cbcf60c157.tar.gz |
Repatch (from linux) of OSX IRAF
Diffstat (limited to 'sys/fio/filerr.x')
-rw-r--r-- | sys/fio/filerr.x | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/sys/fio/filerr.x b/sys/fio/filerr.x new file mode 100644 index 00000000..2f5b07da --- /dev/null +++ b/sys/fio/filerr.x @@ -0,0 +1,16 @@ +# Copyright(c) 1986 Association of Universities for Research in Astronomy Inc. + +# FILERR -- Take an error action, including the name of the file in the +# error message. Note that the order of the arguments is reversed in +# filerr and syserr; this is unfortunate, but too hard to change at this +# point. The logic behind this (if there is any) is that the main operand +# of filerr is the file name, that of syserr the error number. + +procedure filerr (fname, errcode) + +char fname[ARB] +int errcode + +begin + call syserrs (errcode, fname) +end |