1 /* read mp3 info, hackbard */
11 #define MAX_FILENAME 256
13 int main (int argc,char **argv)
15 int file_fd; /* desc fir file */
16 char buf[MAX_READ]; /* buffer for the actual info */
17 char filename[MAX_FILENAME];
19 strcpy(argv[1],filename);
21 if((file_fd=open(filename,O_RDONLY))<=0) {
26 if((read(file_fd,&buf,MAX_READ))<=MAX_READ) {