- Code: Select all
printf((char*)statbuf.st_size);
That is the syntax of the printf statement. statbuf is just a buffer I use to hold the results of an lstat. Here is how I have it defined:
- Code: Select all
struct stat statbuf;
Any ideas? If it would help I could post more code but the rest works fine.


