From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: tomas@tuxteam.de Newsgroups: gmane.emacs.devel Subject: Re: Function to make a struct timespec from a floating point number? Date: Fri, 21 Jan 2022 06:46:54 +0100 Message-ID: References: <87czkm1sry.fsf.ref@yahoo.com> <87czkm1sry.fsf@yahoo.com> <87h79xzx62.fsf@yahoo.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="IRtY1B49jmMb3Pd8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="3988"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Po Lu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Jan 21 06:48:59 2022 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nAmnD-0000sj-FU for ged-emacs-devel@m.gmane-mx.org; Fri, 21 Jan 2022 06:48:59 +0100 Original-Received: from localhost ([::1]:50672 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nAmnC-0002Qs-Dz for ged-emacs-devel@m.gmane-mx.org; Fri, 21 Jan 2022 00:48:58 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:47998) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nAmlJ-0001Me-7I for emacs-devel@gnu.org; Fri, 21 Jan 2022 00:47:01 -0500 Original-Received: from mail.tuxteam.de ([5.199.139.25]:51186) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nAmlG-0002Ol-6E for emacs-devel@gnu.org; Fri, 21 Jan 2022 00:47:00 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tuxteam.de; s=mail; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID:Subject :Cc:To:From:Date:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=J3sJ3v6PiYawMKi1zZTX/CgXZ6pzU42szW0IYe9x+jE=; b=VPtep3NrVUqMAz/XsVoLhFj9pa UC//R7xekSuhCc2ruC+BBoMY/T661Pn7MKsEgUjScOssvGTp7NlHFpvo5KaHSGg7ZrdD8fVPDCCEY CIrcndb85ofDQze4DcjRP/tS/nPA4wNLhlsEWR3sGUC7OiLOH1CmWmEklXkiQ62pMzRlhId3wJxhw htJU4MZL6633CRMTLfPzQwIeveOtN3Q6jfkhl5ojCtd3JK8GSjb0/QlfAATQ74cJZHEkkEnxasek8 /NUpjQ2FrClbX/hVigGQltoPRTV2iDII6tpj55Bq8PWzG3EnkM5kTF1jvMhVZQqD1n1f6C86gwd0g wwtWxP/A==; Original-Received: from tomas by mail.tuxteam.de with local (Exim 4.94.2) (envelope-from ) id 1nAmlC-0006Iv-2d; Fri, 21 Jan 2022 06:46:54 +0100 Content-Disposition: inline In-Reply-To: <87h79xzx62.fsf@yahoo.com> Received-SPF: pass client-ip=5.199.139.25; envelope-from=tomas@tuxteam.de; helo=mail.tuxteam.de X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:285089 Archived-At: --IRtY1B49jmMb3Pd8 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Jan 21, 2022 at 09:37:25AM +0800, Po Lu wrote: > writes: >=20 > > That might be `time-convert': [...] > Thanks, but that wasn't what I was looking for, since it deals with Lisp > timestamps and not `struct timespec's on the C level. Oh, sorry. I mis-parsed the "srtuct timespec" part, although it was clear enough. Cheers --=20 t --IRtY1B49jmMb3Pd8 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EABECAB0WIQRp53liolZD6iXhAoIFyCz1etHaRgUCYepIxgAKCRAFyCz1etHa Ri08AJ0XTTegcI6gAcZ028tzDJiZPy2BUACdFMwGv1KFl6DLjmuO1BjODXkkFno= =7J2P -----END PGP SIGNATURE----- --IRtY1B49jmMb3Pd8--