OK, I give up...

Could someone tell me why the following simple program fails to print a dvd 
title? It seems to read from offset 32768.  (block boundary?)

#include <stdio.h>
int main(void)
{
        FILE *fp;
        char buf[33];
        buf[32] = '\0';
        fp = fopen("/dev/acd0c", "r");
        fseek(fp, 32808, SEEK_SET);
        fread(buf, 1, 32, fp);
        puts(buf);
        return 0;
}

Reply via email to