TEAM-ADA Archives

Team Ada: Ada Programming Language Advocacy

TEAM-ADA@LISTSERV.ACM.ORG

Options: Use Forum View

Use Proportional Font
Show Text Part by Default
Show All Mail Headers

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

Print Reply
Subject:
From:
Jeff Carter <[log in to unmask]>
Reply To:
Jeff Carter <[log in to unmask]>
Date:
Thu, 23 Nov 2000 11:24:06 -0600
Content-Type:
text/plain
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