fopen a File Named During Run-time
Doug Gwyn
gwyn at smoke.BRL.MIL
Sun Oct 7 16:41:47 AEST 1990
In article <1071 at bilver.UUCP> alex at bilver.UUCP (Alex Matulich) writes:
>As I understand it, the "const char *" means that fopen() cannot
>modify the pointer in any way.
Wrong -- it indicates that the function will not modify anything that
can be pointed AT using that pointer. The actual pointer argument is
of course passed by value and couldn't be modified by the function in
any case.
More information about the Comp.std.c
mailing list