On Tue, 1 Mar 2022 08:46:35 -0800, Charles Mills wrote:
> ..., but IBM *may* simply be following it. fopen(NULL, ...) is pretty
> useless any way you slice it.
>
<https://en.wikipedia.org/wiki/Fuzzing>
On Mac OS:
printf ("%d\n", open( "", 0 ) );
-1
No such file or directory
printf ("%d\n", open( NULL, 0 ) );
-1
Bad address
I think both are optimal. OpenGroup doesn't specify the latter/
>I have no idea what (void I)"" would
>
Typo for (void *). Short finger?
--
gil
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN