-----------------------------------------------------------------------------
| 120 | |
| 121 | //----------------------------------------------------------------------------- |
| 122 | bool dFileTouch(const char *path) |
| 123 | { |
| 124 | if (!path || !*path) |
| 125 | return false; |
| 126 | |
| 127 | // set file at path's modification and access times to now. |
| 128 | return( utimes( path, NULL) == 0); // utimes returns 0 on success. |
| 129 | } |
| 130 | |
| 131 | //----------------------------------------------------------------------------- |
| 132 | // Constructors & Destructor |