My question is simple:
Should I use fseek with SEEK_END to get to the end of a file and then get the length of it ? Because in the man it is said:
- Library implementations are allowed to not meaningfully support SEEK_END (therefore, code using it has no real standard portability).
Right now I am using stat (from C) which is better ?