Re: clock.h
From: M. Warner Losh (imp_at_bsdimp.com)
Date: 02/28/05
- Previous message: Kathy Quinlan: "Re: clock.h"
- In reply to: Kathy Quinlan: "clock.h"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Mon, 28 Feb 2005 10:10:03 -0700 (MST) To: kat-free@kaqelectronics.dyndns.org
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
_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"
- Previous message: Kathy Quinlan: "Re: clock.h"
- In reply to: Kathy Quinlan: "clock.h"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|