kat-free at kaqelectronics.dyndns.org
Mon Feb 28 16:11:30 GMT 2005
Dan Nelson wrote:
> In the last episode (Feb 28), Kathy Quinlan said:
>>I have this:
>>In program I use this:
>>I get this:
>>undefined referance to 'DELAY'
>>when I compile the program with GCC with flags -Wall -g -o com main.c
> DELAY is a kernel function. In user processes, just use sleep() or
> nanosleep(). When you directly #include <machine/*> headers from
> userland, the only useable things are structure definitions and macro
> constants (and even then it's recommended that you use a userland
> interface instead). You can't call any of the functions.
Thanks, using sleep now, only need a second :)
Slowly learning programming in a real enviroment whene we do not have
microsloth program to hold our hands (never had a VC++ ap able to do
anything to a system, this program has already core dumped a few times)
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.300 / Virus Database: 266.5.1 - Release Date: 27/02/2005
More information about the freebsd-hackers