Hello dear List!
Unfortunately there is no possibility at the moment to search through list-archives.
Perhaps someone could give me an advise. I'd like to communicate
with the char device driver which is realised as a file. In C I can just
make "dsp_fd = open(dsp_devname, O_RDWR|O_SYNC)" and then work with it all the
time using "write(fd, (const void*)msg, nbytes)" and read respectively
without additional activities.
How should I use it in GPC? The only way I see is to Assign (dsp_fd,
dsp_devname) and then Rewrite it when I have to write to and Reset it
when I need to read from. Is it the right way from the point of view
of the system performance? Or should I better create an interface with
file written in C to avoid the Reset and Rewrite operations?
Thanks, regards,
Igor
mailto:marny@rambler.ru