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


Groups > comp.lang.c > #66293

Re: [code review] UTC-to-seconds

From James Kuyper <jameskuyper@verizon.net>
Newsgroups comp.lang.c
Subject Re: [code review] UTC-to-seconds
Date 2015-07-24 13:54 -0400
Organization Self
Message-ID <55B27BE4.1030105@verizon.net> (permalink)
References <55ae2a7a$0$3052$426a34cc@news.free.fr> <kfnzj2lh5zs.fsf@x-alumni2.alumni.caltech.edu> <lnegjxzcd8.fsf@kst-u.example.com>

Show all headers | View raw


On 07/24/2015 01:36 PM, Keith Thompson wrote:
> 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.)

Search for "reserved identifier". When I did so, the first hit was
section 2.2.2, containing a complete list of reservations, with a suffix
of "_t" being reserved for "Any header".

The second hit was B.2.12, which provides an explanation for that rule.
I couldn't find confirmation of my understanding that identifiers ending
in _t are reserved specifically for use as type names.

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