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


Groups > comp.lang.c > #158083

Re: time.h time_t question

From Tim Rentsch <tr.17687@z991.linuxsc.com>
Newsgroups comp.lang.c
Subject Re: time.h time_t question
Date 2021-01-01 08:26 -0800
Organization A noiseless patient Spider
Message-ID <867dowtyh3.fsf@linuxsc.com> (permalink)
References <rs4h84$4j9$1@dont-email.me> <0vl0ch-68j1.ln1@wilbur.25thandClement.com>

Show all headers | View raw


William Ahern <william@25thandClement.com> writes:

> T <T@invalid.invalid> wrote:
>
> As mentioned elsethread, system headers can be quite difficult to read,
> particularly because of excessive use of the preprocessor.  This isn't always
> the case--see musl libc, for example.
>
>> 1) What is the structure of time_t below?
>
> One technique (at least on POSIX systems) to help find an underlying type is
> to run a command like:
>
>   printf "#include <time.h>\n" | c99 -E - | grep time_t

This is a great tip.  Thank you!

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


Thread

time.h time_t question T <T@invalid.invalid> - 2020-12-25 03:08 -0800
  Re: time.h time_t question fir <profesor.fir@gmail.com> - 2020-12-25 03:28 -0800
    Re: time.h time_t question fir <profesor.fir@gmail.com> - 2020-12-25 03:39 -0800
  Re: time.h time_t question Bart <bc@freeuk.com> - 2020-12-25 12:34 +0000
  Re: time.h time_t question gazelle@shell.xmission.com (Kenny McCormack) - 2020-12-25 14:03 +0000
  Re: time.h time_t question Richard Damon <Richard@Damon-Family.org> - 2020-12-25 10:09 -0500
    Re: time.h time_t question James Kuyper <jameskuyper@alumni.caltech.edu> - 2020-12-25 11:46 -0500
    Re: time.h time_t question fir <profesor.fir@gmail.com> - 2020-12-25 09:47 -0800
  Re: time.h time_t question Ben Bacarisse <ben.usenet@bsb.me.uk> - 2020-12-25 20:17 +0000
  Re: time.h time_t question William Ahern <william@25thandClement.com> - 2020-12-31 02:32 -0800
    Re: time.h time_t question Tim Rentsch <tr.17687@z991.linuxsc.com> - 2021-01-01 08:26 -0800
  Re: time.h time_t question Joe Pfeiffer <pfeiffer@cs.nmsu.edu> - 2020-12-31 12:07 -0700
    Re: time.h time_t question Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2020-12-31 14:08 -0800
  Re: time.h time_t question John Bode <jfbode1029@gmail.com> - 2021-01-28 12:02 -0600
    Re: time.h time_t question James Kuyper <jameskuyper@alumni.caltech.edu> - 2021-01-28 14:14 -0500
  Re: time.h time_t question Andrey Tarasevich <andreytarasevich@hotmail.com> - 2021-01-29 13:05 -0800
  Re: time.h time_t question Jorgen Grahn <grahn+nntp@snipabacken.se> - 2021-01-30 06:45 +0000
    Re: time.h time_t question gazelle@shell.xmission.com (Kenny McCormack) - 2021-02-02 11:29 +0000

csiph-web