Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.c > #104077

Re: Standard Headers

Path csiph.com!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From Keith Thompson <kst-u@mib.org>
Newsgroups comp.lang.c
Subject Re: Standard Headers
Date Fri, 17 Feb 2017 09:26:09 -0800
Organization None to speak of
Lines 16
Message-ID <lnino8pw3y.fsf@kst-u.example.com> (permalink)
References <o878ij$840$1@dont-email.me>
Mime-Version 1.0
Content-Type text/plain; charset=us-ascii
Injection-Info mx02.eternal-september.org; posting-host="3490c05baafeea877b77d6bc7baf0dff"; logging-data="31523"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/qNHuz9jpvT7OxATwsAQfC"
User-Agent Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux)
Cancel-Lock sha1:h0av4aGI/Iujz3/nk3NenBg+D+0= sha1:p6kbjglfPv9WhJ4MYyGR+zH03E8=
Xref csiph.com comp.lang.c:104077

Show key headers only | View raw


BartC <bc@freeuk.com> writes:
[...]
> (I'm planning to create my own set of headers, and want to keep them 
> minimal, and without bristling with #ifdefs to avoid defining the same 
> thing twice. I also intend to have the same headers work on both Windows 
> and Linux as much as possible.)

Those #ifdefs are required if your aim is to have a conforming, or even
reasably usable, implemnetation.  See N1570 7.1.2p4.  And it's just 3 or
so extra lines for each header.

-- 
Keith Thompson (The_Other_Keith) kst-u@mib.org  <http://www.ghoti.net/~kst>
Working, but not speaking, for JetHead Development, Inc.
"We must do something.  This is something.  Therefore, we must do this."
    -- Antony Jay and Jonathan Lynn, "Yes Minister"

Back to comp.lang.c | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Standard Headers BartC <bc@freeuk.com> - 2017-02-17 16:34 +0000
  Re: Standard Headers supercat@casperkitty.com - 2017-02-17 08:50 -0800
    Re: Standard Headers luser droog <luser.droog@gmail.com> - 2017-02-17 09:08 -0800
      Re: Standard Headers Ben Bacarisse <ben.usenet@bsb.me.uk> - 2017-02-17 20:31 +0000
  Re: Standard Headers GOTHIER Nathan <nathan.gothier@gmail.com> - 2017-02-17 18:09 +0100
  Re: Standard Headers "Rick C. Hodgin" <rick.c.hodgin@gmail.com> - 2017-02-17 09:18 -0800
  Re: Standard Headers Keith Thompson <kst-u@mib.org> - 2017-02-17 09:26 -0800
    Re: Standard Headers BartC <bc@freeuk.com> - 2017-02-17 17:53 +0000
      Re: Standard Headers me <crisdunbar@gmail.com> - 2017-02-17 10:23 -0800
        Re: Standard Headers BartC <bc@freeuk.com> - 2017-02-17 18:45 +0000
          Re: Standard Headers GOTHIER Nathan <nathan.gothier@gmail.com> - 2017-02-17 19:54 +0100
            Re: Standard Headers Keith Thompson <kst-u@mib.org> - 2017-02-17 12:27 -0800
  Re: Standard Headers jameskuyper@verizon.net - 2017-02-17 11:38 -0800
  Re: Standard Headers Ben Bacarisse <ben.usenet@bsb.me.uk> - 2017-02-17 20:49 +0000
    Re: Standard Headers supercat@casperkitty.com - 2017-02-17 13:29 -0800
    Re: Standard Headers BartC <bc@freeuk.com> - 2017-02-17 22:13 +0000
    Re: Standard Headers Nick Bowler <nbowler@draconx.ca> - 2017-02-17 22:28 +0000
      Re: Standard Headers Ben Bacarisse <ben.usenet@bsb.me.uk> - 2017-02-18 02:48 +0000
        Re: Standard Headers supercat@casperkitty.com - 2017-02-18 10:26 -0800
          Re: Standard Headers bart4858@gmail.com - 2017-02-18 11:08 -0800
            Re: Standard Headers supercat@casperkitty.com - 2017-02-18 11:45 -0800
  Re: Standard Headers Tim Rentsch <txr@alumni.caltech.edu> - 2017-02-19 13:45 -0800
    Re: Standard Headers BartC <bc@freeuk.com> - 2017-02-19 22:39 +0000
      Re: Standard Headers supercat@casperkitty.com - 2017-02-19 16:00 -0800

csiph-web