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


Groups > comp.lang.c > #66292

Re: [code review] UTC-to-seconds

From Keith Thompson <kst-u@mib.org>
Newsgroups comp.lang.c
Subject Re: [code review] UTC-to-seconds
Date 2015-07-24 10:36 -0700
Organization None to speak of
Message-ID <lnegjxzcd8.fsf@kst-u.example.com> (permalink)
References <55ae2a7a$0$3052$426a34cc@news.free.fr> <kfnzj2lh5zs.fsf@x-alumni2.alumni.caltech.edu>

Show all headers | View raw


Tim Rentsch <txr@alumni.caltech.edu> writes:
[...]
> My understanding is type names ending in _t, like my_time_t, are
> usually reserved for use by POSIX

That's my understanding as well, though I haven't been able to find the
specific requirement.  (Searching the POSIX web site for "reserved" is
difficult when every page has "All Rights Reserved" at the bottom;
searching for "_t" isn't much better.)

>                                   (and sometimes C, I guess).

ISO C does not reserve identifiers ending with _t in general.  Some
specific type names (size_t, time_t) are of course reserved.

[...]

-- 
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

[code review] UTC-to-seconds Francois Grieu <fgrieu@gmail.com> - 2015-07-21 13:17 +0200
  Re: [code review] UTC-to-seconds Tim Rentsch <txr@alumni.caltech.edu> - 2015-07-24 09:31 -0700
    Re: [code review] UTC-to-seconds Keith Thompson <kst-u@mib.org> - 2015-07-24 10:36 -0700
      Re: [code review] UTC-to-seconds James Kuyper <jameskuyper@verizon.net> - 2015-07-24 13:54 -0400
        Re: [code review] UTC-to-seconds Keith Thompson <kst-u@mib.org> - 2015-07-24 12:21 -0700
          Re: [code review] UTC-to-seconds James Kuyper <jameskuyper@verizon.net> - 2015-07-24 15:59 -0400
      Re: [code review] UTC-to-seconds Tim Rentsch <txr@alumni.caltech.edu> - 2015-07-26 11:39 -0700
      Re: [code review] UTC-to-seconds Alain Ketterlin <alain@universite-de-strasbourg.fr.invalid> - 2015-07-26 22:58 +0200

csiph-web