[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