🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.std.c
Article #1799

Re: fopen a File Named During Run-time

#1799
From: Doug Gwyn
Date: Sun, 07 Oct 1990 06:41
8 lines
781 bytes
In article <1071@bilver.UUCP> alex@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.
Technical Details
Message-ID: <14039@smoke.BRL.MIL>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!snorkelwacker!apple!bionet!ames!haven!adm!smoke!gwyn
References: <37852@ut-emx.uucp> <1071@bilver.UUCP>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!snorkelwacker!apple!bionet!ames!haven!adm!smoke!gwyn
From: gwyn@smoke.BRL.MIL (Doug Gwyn)
Newsgroups: comp.std.c
Subject: Re: fopen a File Named During Run-time
Message-ID: <14039@smoke.BRL.MIL>
Date: 7 Oct 90 06:41:47 GMT
References: <37852@ut-emx.uucp> <1071@bilver.UUCP>
Organization: U.S. Army Ballistic Research Laboratory, APG, MD.
Lines: 8