[fpc-pascal]RTC with Free Pascal

Jonas Maebe jonas at zeus.ugent.be
Wed Apr 16 14:38:36 CEST 2003


On woensdag, apr 16, 2003, at 11:34 Europe/Brussels, Christophe Espern 
wrote:

> I found a file named rtc.txt in the Documentation directory of the
> Kernel source (/usr/linux/Documentation). There is a simple C example.
> Is it possible to write this kind of things in Pascal ?

Yes, they are simply reading from a device (which is done exactly the 
same as reading from a file, also in Pascal) and using some ioctl's 
(which is available in the linux unit).


Jonas




More information about the fpc-pascal mailing list