Hello!
I need some help on searching parts in a char array
Code:
if (FD_ISSET(imp3out, &read_set)) {
iln = read(imp3out, output , 8191);
//current_line = strtok(output, ">>> *");
printf("\t--->counter %d\n", counter);
The outout has this content:
--> queue
Entry(s) : 1/[1024]
Position : 0 <01_Transistor.mp3>
>>> *311.lst
Play mode : Repeat
List view : Tag, then Filename
Memory : 16.53 Kbytes
Entry(s) : 19
Position : 0 <01_Transistor.mp3>
Status : 0.0% played, 0.0% skipped
--> sunday.lst
Play mode : Repeat
List view : Tag, then Filename
Memory : 16.27 Kbytes
Entry(s) : 5
Position : 0 <new_begining.mp3>
Status : 0.0% played, 0.0% skipped
What I need is the names in red and not the blue one.
I tried the function strtok but it didn not worked yet.
Has any one suggestion.
Forget to mention that it is a C Programm
xxfunkkx