No, ANSI stream I/O does not provide for file locking. However, implementations 
are allowed to define addtional options and commands for the stream() BIF.

I'm not sure whether file attributes and permissions should be considered to be 
part of the I/O infrastructure of a language.


--
Shmuel (Seymour J.) Metz
http://mason.gmu.edu/~smetz3

________________________________________
From: IBM Mainframe Discussion List [[email protected]] on behalf of 
Paul Gilmartin [[email protected]]
Sent: Sunday, June 19, 2022 2:47 PM
To: [email protected]
Subject: Re: Some UNIX file usage questions

On Sun, 19 Jun 2022 18:33:42 +0000, Seymour J Metz wrote:
>
>Are you claiming that syscall is a convenient way to do I/O in REXX? I find 
>ANSI stream I/O to be much cleaner.
>
Make lemonade.

Does ANSI stream I/O provide full control of such as O_CREAT, O_EXCL,
O_TRUNC, O_APPEND, ... as syscall does?

--
gil

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to