This is the mail archive of the
cygwin
mailing list for the Cygwin project.
mtime question
- From: "Manuel Gonzalez Montoya" <manuel dot gonzalez dot montoya at gmail dot com>
- To: cygwin at cygwin dot com
- Date: Mon, 7 Apr 2008 15:51:06 -0500
- Subject: mtime question
Hi all,
I'm writing a little program in C in order to detect when a file
download is completed. The way i do that is checking when file's mtime
stop changing.
So far the code works ok on a real Linux installation, but I'm having
problems on cygwin because mtime is changed only once at the end of
the transfer.
so before going forward with this, here is my question:
Is the file's mtime supposed to change on every write to the file?.
Thanks in advance.
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/