delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/07/25/05:05:57

Sender: root AT delorie DOT com
Message-ID: <379AEFD8.713A1AC@pmail.net>
Date: Sun, 25 Jul 1999 11:07:04 +0000
From: Fredrick Backman <fredrick DOT backman AT pmail DOT net>
X-Mailer: Mozilla 4.5 [en] (X11; I; Linux 2.0.36 i686)
X-Accept-Language: en
MIME-Version: 1.0
To: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
CC: djgpp AT delorie DOT com
Subject: Re: file size
References: <Pine DOT SUN DOT 3 DOT 91 DOT 990725111942 DOT 27488O-100000 AT is>
Reply-To: djgpp AT delorie DOT com

Eli Zaretskii wrote:

> On Fri, 23 Jul 1999, Fredrick Backman wrote:
>
> > I know stat() gives more info if you use it on a UNIX system
>
> The DJGPP version of `stat' returns the same info as you'd get on
> Unix.  If you know about info that the DJGPP version doesn't return,
> please spell that out.

Perhaps you misunderstood. What I meant was that part of the info that
DJGPP's stat() returns is redundant because of the fact that DOS stores
less info about each file compared to what UNIX does.

I might be mistaken but is it not the case that in DOS, st_atime and
st_ctime contain the same value as st_mtime? And st_nlink is always 1?
If that's not the case then I'm sorry for not doing my homework ;-)

cheers
Fred

--
Fred Backman
Lead Wizard
Binary Spells
www.femmefetish.com/games/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright 2019   by DJ Delorie     Updated Jul 2019