TEAM-ADA Archives

Team Ada: Ada Programming Language Advocacy

TEAM-ADA@LISTSERV.ACM.ORG

Options: Use Forum View

Use Monospaced Font
Show Text Part by Default
Condense Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Content-Transfer-Encoding:
7bit
Sender:
"Team Ada: Ada Advocacy Issues (83 & 95)" <[log in to unmask]>
Subject:
From:
Jeff Carter <[log in to unmask]>
Date:
Thu, 23 Nov 2000 11:24:06 -0600
Content-Type:
text/plain; charset=us-ascii
MIME-Version:
1.0
Reply-To:
Jeff Carter <[log in to unmask]>
Parts/Attachments:
text/plain (19 lines)
[log in to unmask] wrote:
>
> Is there a PORTABLE way of using POSIX_5 file-locking with Ada files:
>
>         Text_IO
>         Sequential_IO
>         Direct_IO
>
> or is one forced to use Posix IO as well?  Is there a way of doing
> this that would be portable just across different Gnat systems?

Not exactly what you're looking for, but have you looked at
GNAT.Lock_Files?

--
Jeff Carter
"You tiny-brained wipers of other people's bottoms!"
Monty Python & the Holy Grail

ATOM RSS1 RSS2