On Sun, Jun 5, 2022 at 07:32 PM, Jay Maynard wrote:
Except that your proposal is not valid C syntax. That's why the first proposal is done that way.
Jay,
Please help me understand your comment. Given that the definition is ...
FILE *fopen(const char *restrict pathname, const char *restrict mode);
and
The fopen() function opens the file whose name is the string
pointed to by pathname and associates a stream with it.
How is using a DDNAME, which points to a file not valid C syntax? Or is that what fdopen would be used for?
?... Mark S.