public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* findfirst
@ 2002-02-27  5:17 qj002a
  0 siblings, 0 replies; 2+ messages in thread
From: qj002a @ 2002-02-27  5:17 UTC (permalink / raw)
  To: gcc

Your help needed!

to find when file is latest rewrote
I find in terminal command prompt
the instruction:
find areas.txt -printf %A@

How to write same into my c-code
to find when the file areas.txt 
was latest rewrite?

In MsDos I'm using the macro
  findfirst("areas.txt",&struct_of_FCB);

Regards!

^ permalink raw reply	[flat|nested] 2+ messages in thread

* RE: findfirst
       [not found] <616BE6A276E3714788D2AC35C40CD18D47C087@whale.softwire.co.uk>
@ 2002-02-27  5:20 ` Rupert Wood
  0 siblings, 0 replies; 2+ messages in thread
From: Rupert Wood @ 2002-02-27  5:20 UTC (permalink / raw)
  To: 'qj002a'; +Cc: gcc

qj002a wrote:

> How to write same into my c-code to find when the file areas.txt
> was latest rewrite?
> 
> In MsDos I'm using the macro findfirst("areas.txt",&struct_of_FCB);

Probably using stat(). Try 'man stat' on your system.

Please note that this is operating system dependent and not related to
GCC. Further questions like this would be better directed somewhere
specific to the OS involved.

Rup.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-02-27 13:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-02-27  5:17 findfirst qj002a
     [not found] <616BE6A276E3714788D2AC35C40CD18D47C087@whale.softwire.co.uk>
2002-02-27  5:20 ` findfirst Rupert Wood

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).