"seekable" device

Pattara Kiatisevi pkiatisevi at student.ei.uni-stuttgart.de
Thu Mar 21 16:17:48 UTC 2002


Hi all,

I have a hopefully simple question about this "fseek" function. What will
happen if an application calls "fseek" to a device? I mean, how can I
adjust my device driver (I wrote a /dev/soundinput to simulate a song
file) to support this seek function? Now I have only
soundinput_initialize(), open(), close(), read(), write() and ioctl().

Thank you very much,
Pattara
--
Please avoid sending me Word or PowerPoint attachments.
See http://www.fsf.org/philosophy/no-word-attachments.html
----------------------------------------------------------------------
Ott Pattara Kiatisevi 				   T L W G
M.Sc. INFOTECH Student, Stuttgart, Germany	http://linux.thai.net/
----------------------------------------------------------------------




More information about the users mailing list