[fpc-pascal] x86.pp and oldlinux.pp
"Vinzent Höfler"
JeLlyFish.software at gmx.net
Wed Nov 4 21:33:48 CET 2009
Von: Holger Bruns <holger.bruns at gmx.net>:
> I am rather clueless while dealing with device drivers like /dev/ttyS0
> on linux. My question is, what do I grab while reading from a device
> driver file like /dev/ttyS0?
You don't read from a "device driver". You read from a "device". What you read is usually called "data".
IOW: It works just like any other file, disk, socket, ...
> How can I deal with it?
Just the same: Read, write, check for errors.
Vinzent.
--
Jetzt kostenlos herunterladen: Internet Explorer 8 und Mozilla Firefox 3.5 -
sicherer, schneller und einfacher! http://portal.gmx.net/de/go/chbrowser
More information about the fpc-pascal
mailing list