comp.lang.ada
 help / color / mirror / Atom feed
From: Adam Beneschan <adam@irvine.com>
Subject: Re: File rename in Ada95
Date: Thu, 30 Oct 2008 09:37:50 -0700 (PDT)
Date: 2008-10-30T09:37:50-07:00	[thread overview]
Message-ID: <fb87f20a-1e2a-410d-a3fd-e9f1e824d29d@z6g2000pre.googlegroups.com> (raw)
In-Reply-To: c35ed55f-1f29-4dc3-badd-f8265b83b214@v15g2000hsa.googlegroups.com

On Oct 30, 7:56 am, Maciej Sobczak <see.my.homep...@gmail.com> wrote:
> Hi,
>
> What is the recommended way to rename a file in Ada95?
> Ada.Directories is not invented yet and GNAT.Directory_Operations is
> not smart enough.
> Target platform: Linux.

I'd just use the Import pragma to get at the rename(2) system call.

                                -- Adam



  reply	other threads:[~2008-10-30 16:37 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-30 14:56 File rename in Ada95 Maciej Sobczak
2008-10-30 16:37 ` Adam Beneschan [this message]
2008-10-30 17:14 ` anon
2008-10-30 17:32 ` Robert A Duff
2008-10-31  0:11   ` anon
2008-10-31 13:44     ` Robert A Duff
2008-10-31 17:24       ` anon
2008-11-01  8:39         ` Ludovic Brenta
2008-11-02  9:39           ` anon
2008-11-02 20:35             ` Ludovic Brenta
2008-11-03  4:50               ` anon
2008-11-01 22:04         ` sjw
2008-10-31 20:00 ` Thomas Locke
replies disabled

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