Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ulowell!apollo!scoville_w From: scoville_w@apollo.COM (William Scoville) Newsgroups: comp.sys.apollo Subject: Re: name_$not_found status code Message-ID: <4319332a.d17f@apollo.COM> Date: 8 May 89 12:48:00 GMT References: <8905041340.AA03449@umix.cc.umich.edu> Organization: Apollo Computer, Chelmsford, Mass. Lines: 22 Scott, >the status code = 0x800e0007 What happens it that the "fail" bit of status is set. Simply do "status.fail = false" and then do the compare to the constant. Status is defined in apollo/base.h as : typedef union { struct { unsigned fail : 1, /* true if module couldn't handle error */ subsys : 7, /* subsystem code */ modc : 8; /* module code */ short code; /* module specific error */ } s; long all; /* used for testing for specific value */ } status_$t; -BS-