It's UWAweek 9 (1st semester, week 1)

help2002

This forum is provided to promote discussion amongst students enrolled in CITS2002 Systems Programming.
Please consider offering answers and suggestions to help other students! And if you fix a problem by following a suggestion here, it would be great if other interested students could see a short "Great, fixed it!"  followup message.
Displaying selected article
Showing 1 of 1168 articles.
Currently 4 other people reading this forum.


 UWA week 42 (2nd semester, week 12) ↓
SVG not supported

Login to reply

👍?
helpful
4:31am Mon 16th Oct, Christopher M.

ANONYMOUS wrote:
> When we are storing the modification times and comparing between files during execution of mysync, are we able to use the st_mtim.tv_sec field of the stat struct? I am not sure if the lab machines will recognise this as I have read that st_mtime is another way to obtain this same information. st_mtime is not recognised in my ide.
Your program will be tested on a contemporary Linux distribution, such as the Ubuntu distribution in the CSSE labs. I suggest that you try it on one of those machines.
> Also, are we storing modification times as seconds or nanoseconds? There are options for both.
Just seconds. Someone asked previously about the st_mtim (without the 'e') [help2002] but we never heard back as to whether it was solved.

The University of Western Australia

Computer Science and Software Engineering

CRICOS Code: 00126G
Written by [email protected]
Powered by history
Feedback always welcome - it makes our software better!
Last modified  5:07AM Sep 06 2023
Privacy policy