From fa080de7afc95aa1c19a6e6fc0e0708ced2eadc4 Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Wed, 8 Jul 2015 20:46:52 -0400 Subject: Initial commit --- sys/fio/filerr.x | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 sys/fio/filerr.x (limited to 'sys/fio/filerr.x') 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 -- cgit