TIP: Click on subject to list as thread! ANSI
echo: c_echo
to: Winston Smith
from: andrew clarke
date: 2003-06-30 13:20:58
subject: dos2unix

Sun 2003-06-29 23:06, Winston Smith (1:323/981) wrote to Roy J. Tellason:

 WS> UNIX files have *3* time attributes, instead of DOS's one:
 WS>      Creation (when the file was made)
 WS>      Access (when someone or something "looked" at the file,
 WS>              similar to the "archive" flag toggle)
 WS>      Modified (when the file was last changed, DOS just updates
 WS>                Creation, so every time that you edit a file it
 WS>                becomes "new" again)

The Win32 API also supports these.  Whether the underlying file system does
or not is another matter though.

BOOL GetFileTime(
    HANDLE hFile,                 // identifies the file
    LPFILETIME lpCreationTime,    // address of creation time
    LPFILETIME lpLastAccessTime,  // address of last access time
    LPFILETIME lpLastWriteTime    // address of last write time
);

-- mail{at}ozzmosis.com

--- timEd/FreeBSD 1.11.b1
* Origin: Blizzard of Ozz, Mt Eliza, Melbourne, Australia (3:633/267)
SEEN-BY: 633/267 270
@PATH: 633/267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.