From owner-freebsd-hackers@FreeBSD.ORG Mon Feb 28 17:10:52 2005 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5906A16A4CE for ; Mon, 28 Feb 2005 17:10:52 +0000 (GMT) Received: from harmony.village.org (rover.village.org [168.103.84.182]) by mx1.FreeBSD.org (Postfix) with ESMTP id 68C5D43D58 for ; Mon, 28 Feb 2005 17:10:51 +0000 (GMT) (envelope-from imp@bsdimp.com) Received: from localhost (warner@rover2.village.org [10.0.0.1]) by harmony.village.org (8.13.1/8.13.1) with ESMTP id j1SH9oLI038803; Mon, 28 Feb 2005 10:09:50 -0700 (MST) (envelope-from imp@bsdimp.com) Date: Mon, 28 Feb 2005 10:10:03 -0700 (MST) Message-Id: <20050228.101003.59082645.imp@bsdimp.com> To: kat-free@kaqelectronics.dyndns.org From: "M. Warner Losh" In-Reply-To: <42233B48.4010108@kaqelectronics.dyndns.org> References: <42233B48.4010108@kaqelectronics.dyndns.org> X-Mailer: Mew version 3.3 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: freebsd-hackers@freebsd.org Subject: Re: clock.h X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Feb 2005 17:10:52 -0000 In message: <42233B48.4010108@kaqelectronics.dyndns.org> Kathy Quinlan writes: : I have this: : : #include : : In program I use this: : : DELAY(1000); : : I get this: : : undefined referance to 'DELAY' : : when I compile the program with GCC with flags -Wall -g -o com main.c : : ANY ideas ?? : : I have looked in the relevent header and it seems to be there don't use DELAY in userland code. Use sleep, usleep or nanosleep. Warner