hi,
ive used the fgets command to get a string from a file.
ie: fgets(filename, 256, fptr);
the string is actually a filename.
im trying to get information from the inode about that file so i used stat.
ie: stat(filename, &file_info);
its returning incorrect values, so im guessing it has something to do with the newline character retained when using fgets.
any ideas on how i could get around this would be great.
-zeus