From: utzoo!decvax!harpo!seismo!hao!hplabs!sri-unix!jab@Okc-Unix
Newsgroups: net.unix-wizards
Title: Re: Returning structures
Article-I.D.: sri-unix.4987
Posted: Thu Dec 30 14:11:22 1982
Received: Sat Jan  1 02:14:12 1983

From: Jeff Bowles 
Date: 29 Dec 1982 12:59:32 CST (Wednesday)

Why would you want to return a structure?

Well, returning a FORTRANesque complex number is a pretty good example.
Other examples might be:
	given two objects, return the binary operation using the objects
		as operands. For example, component-wise addition on two
		vectors.

I, for one, wouldn't like being FORCED to know whether or not something
of type "gorp" (from someone else's
	typedef .* gorp;
) fits into a subroutine return register.

	Jeff