| Deutsch English Français Italiano |
|
<vtbfuf$1tc7o$4@dont-email.me> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!eternal-september.org!.POSTED!not-for-mail From: James Kuyper <jameskuyper@alumni.caltech.edu> Newsgroups: comp.lang.c Subject: Re: "A diagram of C23 basic types" Date: Fri, 11 Apr 2025 12:27:59 -0400 Organization: A noiseless patient Spider Lines: 18 Message-ID: <vtbfuf$1tc7o$4@dont-email.me> References: <87y0wjaysg.fsf@gmail.com> <vsj1m8$1f8h2$1@dont-email.me> <vsrqsh$qhuu$2@solani.org> <vt38i9$29prg$1@dont-email.me> <87h62ys4w5.fsf@nosuchdomain.example.com> <vt488v$35hh3$1@dont-email.me> <vt4n3d$3e8hi$1@dont-email.me> <86ecy2c5o4.fsf@linuxsc.com> <87mscprhhe.fsf@nosuchdomain.example.com> <20250409105549.000037dd@yahoo.com> <86semhawhs.fsf@linuxsc.com> <20250410115004.00005276@yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Injection-Date: Fri, 11 Apr 2025 18:28:04 +0200 (CEST) Injection-Info: dont-email.me; posting-host="1101d58e927cb82f23597a7452dea8af"; logging-data="2011384"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/oKxCrhIq7yLUilzWB2WJTcAI/alXNM8g=" User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:TTRf6/RGv6ajcrjCNN/HkXdnLt4= In-Reply-To: <20250410115004.00005276@yahoo.com> Content-Language: en-US Bytes: 2347 On 4/10/25 04:50, Michael S wrote: .... > I merely wanted to say that it is pretty easy to write a legal, if not > necessarily sensible, code that uses variable named 'memcpy' and > function named 'size_t'. OTOH, you can't name you variable 'break' or > 'continue'. Or even 'bool', if you happen to use C23 compiler. Yes, the rules for reserved identifiers are different for the keywords that are part of the language syntax, than for the identifiers that identify parts of the standard library. Lots of other things are different between them, too. However, they are still both parts of a conforming implementation of C, one covered by clause 6, and the other by clause 7. Also, note that all identifiers from the standard library that have external linkage are reserved for use as identifiers with external linkage. memcpy has external linkage, so you cannot define such a variable with external linkage. size_t is a typedef, which has no linkage.