|
From: | Po Lu |
Subject: | Re: Function to make a struct timespec from a floating point number? |
Date: | Fri, 21 Jan 2022 09:36:27 +0800 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/28.0.60 (gnu/linux) |
Robin Tarsiger <rtt@dasyatidae.com> writes: > I spy a ‘dtotimespec’ in lib/dtotimespec.c. Is that what you wanted? > >> Thanks. > > In case it's useful to you in the future, I obtained that by a fairly > simple search across the C files for the expected return type at bol. > I used ‘less’ at the command line, but ‘dired-do-find-regexp’ would > have offered something similar. There are not many functions nor global > variables with a ‘struct timespec’ type. Thanks. dtotimespec is indeed what I wanted.
[Prev in Thread] | Current Thread | [Next in Thread] |