Re: clock.h

From: M. Warner Losh (imp_at_bsdimp.com)
Date: 02/28/05

  • Next message: Cole: "Dynamically Linked Library Problem (maybe)"
    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"


  • Next message: Cole: "Dynamically Linked Library Problem (maybe)"

    Relevant Pages

    • clock.h
      ... undefined referance to 'DELAY' ... I have looked in the relevent header and it seems to be there ... To unsubscribe, ...
      (freebsd-hackers)
    • Re: Time Outs
      ... while ideally they would be sorted by delay. ... You could have a separate program that received on stdin touples that it ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
      (Debian-User)
    • Re: Urgent 4.9 networking problems
      ... Are you sure all your problems aren't caused by DNS delays? ... which should avoid the delay. ... today is the first time I tried to access through the specific ... To unsubscribe, ...
      (freebsd-questions)
    • Re: FreeBSD desktop newcomer (Enemy Territory players read) - need minor help
      ... I will see about this xmodmap, about the shooting delay, I find it odd ... fair lighter game and I have the same issue. ... To unsubscribe, ...
      (freebsd-questions)
    • Re: grub assist needed
      ... I find no options for the si680a driver that would ... delay or change the order of the drive recognition. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
      (Debian-User)