diff options
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 |