clock.h
M. Warner Losh
imp at bsdimp.com
Mon Feb 28 17:10:52 GMT 2005
In message: <42233B48.4010108 at kaqelectronics.dyndns.org>
Kathy Quinlan <kat-free at 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
More information about the freebsd-hackers
mailing list