[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: IOS: modes for opening files
From: |
Jose E. Marchesi |
Subject: |
Re: IOS: modes for opening files |
Date: |
Sun, 14 Mar 2021 23:59:38 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
> I thought about this problem. In short, two new things came out of it:
> 1) As Bruno hinted, I believe as strongly as possible that I need to
> abandon fopen and move to open. The limited fopen flags do not provide
> the variety that we are looking for. You can see that in the
> spreadsheet that I attach.
I agree.
> 2) I have considered some alternative sets of flags too, but came back
> to what we currently have. The only exception is that I have strong
> doubts about supporting IOS_F_TRUNCATE flag. As far as I can see it
> only makes sense for files and I do not know what to make of it in
> other interfaces. It is not a very useful poke-y functionality, it
> just clears a file. Can we simply drop it? If not, I intend to reject
> it on other interfaces. Let me know what you think about this.
I also agree :)
>
> I will start the implementation early afternoon.
Thanks!