🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.std.c
Article #5851

Re: Volatile binding for const?

#5851
From: Henry Spencer
Date: Sat, 01 Apr 1989 22:56
12 lines
929 bytes
In article <1989Mar29.210035.4085@utzoo.uucp> I wrote:
>>	char const *s, *t;	=is=>  {char const *} s, t
>>	char *const s, *t;	=is=>  char {const *s}, *t
>>
>... (Both declare "t" to be pointer to const char.)

Oops.  Talk about blunders.  I got the important part, about "s", right,
but botched "t".  The first declaration declares t to be pointer to const
char.  The second declares it to be pointer to char.
-- 
Welcome to Mars!  Your         |     Henry Spencer at U of Toronto Zoology
passport and visa, comrade?    | uunet!attcan!utzoo!henry henry@zoo.toronto.edu
Technical Details
Message-ID: <1989Apr1.225632.23016@utzoo.uucp>
Path: arc1-ca.pugleaf.net!utzoo!henry
References: <PARDO.89Mar28105228@uw-june.stars.flab.Fujitsu.JUNET> <1989Mar29.210035.4085@utzoo.uucp>

Show Full Headers
Complete Article Headers
Newsgroups: comp.std.c
Path: arc1-ca.pugleaf.net!utzoo!henry
From: henry@utzoo.uucp (Henry Spencer)
Subject: Re: Volatile binding for const?
Message-ID: <1989Apr1.225632.23016@utzoo.uucp>
Organization: U of Toronto Zoology
References: <PARDO.89Mar28105228@uw-june.stars.flab.Fujitsu.JUNET> <1989Mar29.210035.4085@utzoo.uucp>
Date: Sat, 1 Apr 89 22:56:32 GMT