UnixFSPrivate.mesa
Copyright Ó 1991 by Xerox Corporation. All rights reserved.
Carl Hauser, July 26, 1989 10:10:44 am PDT
Willie-s, August 20, 1991 4:50 pm PDT
Chauser, June 22, 1992 5:54 pm PDT
DIRECTORY
Rope USING [ROPE],
PFSBackdoor USING [ErrorCode],
UnixErrno USING [Errno];
UnixFSPrivate: CEDAR DEFINITIONS
~ BEGIN
ROPE: TYPE = Rope.ROPE;
ReportFailure: PROC [errno: UnixErrno.Errno, msg: ROPE];
Translates errno to a PFS error code and calls PFSBackdoor.ProduceError; Clients are advised to capture UnixErrno.GetErrno[] as soon after the failing call as possible, and in any case not to delay it past anything that may cause allocation.
TranslateErrno: PROC [err: UnixErrno.Errno] RETURNS [code: PFSBackdoor.ErrorCode];
END.