comp.lang.ada
 help / color / mirror / Atom feed
* Filesize
@ 2015-09-06 20:18 mmoel
  2015-09-06 20:51 ` Filesize Pascal Obry
  0 siblings, 1 reply; 2+ messages in thread
From: mmoel @ 2015-09-06 20:18 UTC (permalink / raw)


Hi,

this is gnat related:

I need to know the size of a file without touching it.
Is there a way to accomplish this not resorting to C?

Thanks.

Mike

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

* Re: Filesize
  2015-09-06 20:18 Filesize mmoel
@ 2015-09-06 20:51 ` Pascal Obry
  0 siblings, 0 replies; 2+ messages in thread
From: Pascal Obry @ 2015-09-06 20:51 UTC (permalink / raw)


Hi,

> this is gnat related:

No, Ada related :) See below.

> I need to know the size of a file without touching it.
> Is there a way to accomplish this not resorting to C?

Ada.Directories.Size.

-- 
  Pascal Obry /  Magny Les Hameaux (78)

  The best way to travel is by means of imagination

  http://v2p.fr.eu.org
  http://www.obry.net

  gpg --keyserver keys.gnupg.net --recv-key F949BD3B



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

end of thread, other threads:[~2015-09-06 20:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-09-06 20:18 Filesize mmoel
2015-09-06 20:51 ` Filesize Pascal Obry

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox