| Deutsch English Français Italiano |
|
<87ikngd7jg.fsf@nosuchdomain.example.com> 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: Keith Thompson <Keith.S.Thompson+u@gmail.com>
Newsgroups: comp.lang.c
Subject: Re: "A diagram of C23 basic types"
Date: Sun, 06 Apr 2025 19:33:55 -0700
Organization: None to speak of
Lines: 19
Message-ID: <87ikngd7jg.fsf@nosuchdomain.example.com>
References: <87y0wjaysg.fsf@gmail.com> <vsj1m8$1f8h2$1@dont-email.me>
<vsj2l9$1j0as$1@dont-email.me> <vsjef3$1u4nk$1@dont-email.me>
<vsjg6t$20pdb$1@dont-email.me> <vsjjd1$23ukt$1@dont-email.me>
<vsjkvb$25mtg$1@dont-email.me> <vsjlkq$230a5$2@dont-email.me>
<vsjs5k$2bfc5$2@dont-email.me> <vsjvgu$2fpp1$1@dont-email.me>
<20250402113624.693@kylheku.com> <86o6xdhorr.fsf@linuxsc.com>
<vsn0dm$2al86$1@paganini.bofh.team>
MIME-Version: 1.0
Content-Type: text/plain
Injection-Date: Mon, 07 Apr 2025 04:34:03 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="2714e7df686d80d73a1feebaa5e76a7a";
logging-data="2643523"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+7fe7svgDfbc84hjVFNm0K"
User-Agent: Gnus/5.13 (Gnus v5.13)
Cancel-Lock: sha1:PQSW14AHEio5q/zJh1PyRRJj9TM=
sha1:DFMkqh+5boY+NM8JUaKQnueBqps=
Bytes: 2007
antispam@fricas.org (Waldek Hebisch) writes:
> Tim Rentsch <tr.17687@z991.linuxsc.com> wrote:
[...]
>> Not always practical. A good example is the type size_t. If a
>> function takes an argument of type size_t, then the symbol size_t
>> should be defined, no matter which header the function is being
>> declared in.
>
> Why? One can use a type without a name for such type.
Convenience and existing practice. Sure, an implementation of
<string.h> could provide a declaration of memcpy() without making
size_t visible, but what would be the point?
[...]
--
Keith Thompson (The_Other_Keith) Keith.S.Thompson+u@gmail.com
void Void(void) { Void(); } /* The recursive call of the void */