From owner-freebsd-questions@freebsd.org Tue Jul 13 02:23:34 2021 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 3C51164E1EE for ; Tue, 13 Jul 2021 02:23:34 +0000 (UTC) (envelope-from tomdean@wavecable.com) Received: from smtp02.emerald.cmh.synacor.com (smtp.emerald.synacor.com [208.47.184.7]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4GP4F12p1Rz3hPK for ; Tue, 13 Jul 2021 02:23:33 +0000 (UTC) (envelope-from tomdean@wavecable.com) X-Authed-Username: dG9tZGVhbkB3YXZlY2FibGUuY29t Received: from [24.113.143.192] ([24.113.143.192:44506] helo=[192.168.1.143]) by mail.wavecable.com (envelope-from ) (ecelerity 3.6.25.56547 r(Core:3.6.25.0)) with ESMTPA id 3D/8C-12164-429FCE06; Mon, 12 Jul 2021 22:23:32 -0400 Subject: Re: sys/timerfd.h missing To: freebsd-questions@freebsd.org References: <15b672e6-8f3b-4c6c-a42c-e955216f630b@wavecable.com> From: "Thomas D. Dean" Message-ID: Date: Mon, 12 Jul 2021 19:23:31 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 MIME-Version: 1.0 In-Reply-To: <15b672e6-8f3b-4c6c-a42c-e955216f630b@wavecable.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-Vade-Verdict: clean X-Vade-Analysis-1: gggruggvucftvghtrhhoucdtuddrgedvtddrudeggdefgecutefuodetggdotefrodftvfcurfhrohhf X-Vade-Analysis-2: ihhlvgemucfujgfpteevqfftpdfgoffgtfetnfffpdfqfgfvnecuuegrihhlohhuthemuceftddunecu X-Vade-Analysis-3: necujfgurhepuffvfhfhkffffgggjggtgfesthekredttdefjeenucfhrhhomhepfdfvhhhomhgrshcu X-Vade-Analysis-4: ffdrucffvggrnhdfuceothhomhguvggrnhesfigrvhgvtggrsghlvgdrtghomheqnecuggftrfgrthht X-Vade-Analysis-5: vghrnheptddvveehfeevveelueefiefhgefgkeeugfduvdegueeihfevleehffetkeduueelnecuffho X-Vade-Analysis-6: mhgrihhnpehpohhsshhisghlvgdrshgvlhgvtghtnecukfhppedvgedruddufedrudegfedrudelvden X-Vade-Analysis-7: ucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpedvgedruddufedrudegfedrudel X-Vade-Analysis-8: vddphhgvlhhopegludelvddrudeikedruddrudegfegnpdhmrghilhhfrhhomhepthhomhguvggrnhes X-Vade-Analysis-9: figrvhgvtggrsghlvgdrtghomhdprhgtphhtthhopehfrhgvvggsshguqdhquhgvshhtihhonhhssehf X-Vade-Analysis-10: rhgvvggsshgurdhorhhgpdhhohhsthepshhmthhprdgvmhgvrhgrlhgurdgtmhhhrdhshihnrggtohhr X-Vade-Analysis-11: rdgtohhmpdhsphhfpehsohhfthhfrghilhdpughkihhmpedpnhgspghrtghpthhtohepuddptehuthhh X-Vade-Analysis-12: qdgfshgvrhepthhomhguvggrnh X-Vade-Client: EMERALD X-Rspamd-Queue-Id: 4GP4F12p1Rz3hPK X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of tomdean@wavecable.com designates 208.47.184.7 as permitted sender) smtp.mailfrom=tomdean@wavecable.com X-Spamd-Result: default: False [0.05 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; RWL_MAILSPIKE_GOOD(0.00)[208.47.184.7:from]; R_SPF_ALLOW(-0.20)[+ip4:208.47.184.0/24:c]; TO_DN_NONE(0.00)[]; HFILTER_HELO_IP_A(1.00)[smtp02.emerald.cmh.synacor.com]; HFILTER_HELO_NORES_A_OR_MX(0.30)[smtp02.emerald.cmh.synacor.com]; NEURAL_HAM_SHORT(-1.00)[-1.000]; RECEIVED_SPAMHAUS_PBL(0.00)[24.113.143.192:received]; RCVD_TLS_LAST(0.00)[]; R_DKIM_NA(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[208.47.184.7:from]; MID_RHS_MATCH_FROM(0.00)[]; ASN(0.00)[asn:36271, ipnet:208.47.184.0/23, country:US]; ARC_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-0.95)[-0.954]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[wavecable.com]; NEURAL_SPAM_MEDIUM(1.00)[1.000]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[208.47.184.7:from:127.0.2.255]; MIME_TRACE(0.00)[0:+]; RCVD_IN_DNSWL_NONE(0.00)[208.47.184.7:from]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Jul 2021 02:23:34 -0000 On 7/12/21 7:14 PM, Thomas D. Dean wrote: > > cc -O2 -pipe  hwmon.c  -o hwmon > hwmon.c:1:10:fatal error: 'sys/timerfd.h' file not found > > Any idea where I can find timerfd.h? > Been away too long. I want to: start timer /* >> loop execution time */ do something while(1) wait timer start timer /* >> loop execution time */ do something do something else Somewhere this is possible. select? Tom Dean