How to write a Streams <-> MacOS driver ?

Matthias Urlichs urlichs at smurf.sub.org
Sat Apr 27 13:34:45 AEST 1991


Suppose I want to write a MacOS device driver, which interfaces a MacOS-style
device manager interface to a kernel Streams driver.

The problems start when I think about implementing asynchronous calls,
completion routines, the works. Appletalk obviously does this, and Appletalk
is a Streams device driver, so I should be able to duplicate that.

Unfortunately, I don't have the faintest idea how.
/usr/include/mac/aux.h talks about SIGIO multiplexing, and it lists this
 interface:
typedef struct
{
	int     (*func)();
	int     mask;
} AuxSigio;

-- and now what are the parameters to that funtion, and what's the mask
supposed to say?  So many questions, so few answers...

NB: /usr/include/mac/aux.h also talks about secondary initialization for
    System 7, so one may hope..?
-- 
Matthias Urlichs -- urlichs at smurf.sub.org -- urlichs at smurf.ira.uka.de     /(o\
Humboldtstrasse 7 - 7500 Karlsruhe 1 - FRG -- +49-721-621127(0700-2330)   \o)/



More information about the Comp.unix.aux mailing list