Path: csiph.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail From: Keith Thompson Newsgroups: comp.lang.c Subject: Re: printf and time_t Date: Wed, 07 Jan 2026 13:32:27 -0800 Organization: None to speak of Lines: 16 Message-ID: <87ms2pglck.fsf@example.invalid> References: <10jfol6$2u6r8$1@news.xmission.com> <10jfs23$2liif$1@dont-email.me> <20260105105138.00005f0a@yahoo.com> <10jgbp7$2vdjt$1@news.xmission.com> <10jgdu9$2t8dh$1@nntp.eternal-september.org> <10jhkso$3c9r2$3@nntp.eternal-september.org> <20260106112938.00004446@yahoo.com> <10jj9st$3jbe4$2@dont-email.me> <20260106200522.000015ea@yahoo.com> <10jka9v$3jbe4$6@dont-email.me> <10jkc1d$9mv1$1@dont-email.me> <10jm63q$r1ko$1@dont-email.me> <10jmfr9$v99t$5@dont-email.me> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Date: Wed, 07 Jan 2026 21:32:28 +0000 (UTC) Injection-Info: dont-email.me; posting-host="6f871b5ffe12a84f74a2becf62529d59"; logging-data="1068708"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/FJ77Tk/UXgFA03H1PeZUg" User-Agent: Gnus/5.13 (Gnus v5.13) Cancel-Lock: sha1:dT7QauHY9pM5lh8q5zUfXfQJtaU= sha1:xBB8BEH+uV7Tf+T6iqScAvUQjZY= Xref: csiph.com comp.lang.c:396282 Lawrence D’Oliveiro writes: > On Wed, 7 Jan 2026 12:45:30 -0500, James Russell Kuyper Jr. wrote: >> On a different point, I used time_t as an example. It would have >> been better to use ptrdiff_t instead, since has a macro >> for that type, and doesn't have one for time_t. > > This is why you have configure scripts, so they can figure out the > right types to use for building on your platform. I don't follow. ptrdiff_t is defined in , and is the correct type for the result of subtracting two pointers. What relevant information would a configure script give you? -- Keith Thompson (The_Other_Keith) Keith.S.Thompson+u@gmail.com void Void(void) { Void(); } /* The recursive call of the void */