The HyperNews Linux KHG Discussion Pages

More: I have the same problem

Forum: Supporting Functions
Re: Question File access within a device driver? (Paul Osborn)
Keywords: file access device driver
Date: Thu, 15 Jan 1998 15:02:52 GMT
From: Mark-Andre Hopf <hopf@informatik.uni-rostock.de>

 You can't use <stdio.h> and it seems that the kernel
functions for open,read,write and close are designed
for calls from the user space.
 But I don't know how to do this either.
 (I wanna write a MIDI device driver for the Yamaha TG100
which can be connected to a serial interface and it seems
to be a bad idea to rewrite serial.c for this since there
are so many serial interface types.)