Date: Mon, 28 Feb 2005 10:10:03 -0700 (MST) From: "M. Warner Losh" <imp@bsdimp.com> To: kat-free@kaqelectronics.dyndns.org Cc: freebsd-hackers@freebsd.org Subject: Re: clock.h Message-ID: <20050228.101003.59082645.imp@bsdimp.com> In-Reply-To: <42233B48.4010108@kaqelectronics.dyndns.org> References: <42233B48.4010108@kaqelectronics.dyndns.org>
next in thread | previous in thread | raw e-mail | index | archive | help
In message: <42233B48.4010108@kaqelectronics.dyndns.org> Kathy Quinlan <kat-free@kaqelectronics.dyndns.org> writes: : I have this: : : #include <machine/clock.h> : : 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050228.101003.59082645.imp>