Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!thunder.mcrcim.mcgill.edu!snorkelwacker.mit.edu!ira.uka.de!smurf!urlichs From: urlichs@smurf.sub.org (Matthias Urlichs) Newsgroups: comp.unix.aux Subject: How to write a Streams <-> MacOS driver ? Message-ID: Date: 27 Apr 91 03:34:45 GMT Organization: University of Karlsruhe, FRG Lines: 24 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@smurf.sub.org -- urlichs@smurf.ira.uka.de /(o\ Humboldtstrasse 7 - 7500 Karlsruhe 1 - FRG -- +49-721-621127(0700-2330) \o)/