Can someone tell me the difference between stat, fstat, lstat. Also tell me whether it is possible to use stat() only in Linux or Unix environment or is it possible to use it even in Windows environment.