how to tell that a file exists and is not 0-len?
Gary Kline
kline at thought.org
Wed Dec 28 23:50:14 UTC 2011
guys,
access(filenamewithpath, F_OK) returned true as Zero if i have
access to it. what do i use in C to tell me that a file is not
empty? fstat? or is there something more common?
thanks,
gary
--
Gary Kline kline at thought.org http://www.thought.org Public Service Unix
Journey Toward the Dawn, E-Book: http://www.thought.org
The 8.57a release of Jottings: http://jottings.thought.org
Twenty-five years of service to the Unix community.
More information about the freebsd-questions
mailing list