after many times of debugging i realized with not
great joy that this code doesn't work all the time(strange ah?) the point is that sometimes the
line with the instruction open wich i changed with:
#define CDROM_CONST "/dev/cdrom"
fd = open(CDROM_CONST, O_RDONLY );
returns me -1 ???!!!
i don't need a code that works just for one kind of cd driver....what can i do?
thanx
Massimo