SCO UNIX *double* device driver
T. Kramer
theo at rascal.UUCP
Thu Mar 21 21:16:28 AEST 1991
In article <905 at zeusa.UUCP> hendrik at zeusa.UUCP (Hendrik Vermooten) writes:
>
>SCO Xenix/UNIX, PC type hardware.
>
>I need to "channel" all I/O going to and from a device, through my own
>handler routine (this routine itself uses hardware to do its job).
>
How about the following:-
#define fopen hvfopen
#define fclose hvfclose
: :
Etc. for all required system calls, and then do in your function calls
what you want to do.
+--------------------------------+------------------------------------------+
| theo at rascal | Got nuthin else to say |
+--------------------------------+------------------------------------------+
More information about the Comp.unix.internals
mailing list