Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watmath!clyde!cbosgd!ihnp4!inuxc!iuvax!pur-ee!uiucdcs!snail!carroll From: carroll@snail.UUCP Newsgroups: comp.lang.c Subject: Re: MSC-all C's Message-ID: <10700001@snail> Date: Fri, 13-Nov-87 11:21:00 EST Article-I.D.: snail.10700001 Posted: Fri Nov 13 11:21:00 1987 Date-Received: Mon, 23-Nov-87 01:51:38 EST References: <3094@rosevax.Rosemount.COM> Lines: 6 Nf-ID: #R:rosevax.Rosemount.COM:3094:snail:10700001:000:370 Nf-From: snail.CS.UIUC.EDU!carroll Nov 13 10:21:00 1987 In most compilers, a certain register on the processor is used to hold return values. When it is assigned, it is moved out of the register and into the appropriate variable, or tested (as in if(open(...) < 0)). If it is not used, then the value in the register is just overwritten next time it's used. On '86 CPU's, it's usually ax, on most PDP style machines it's r0.