Re: linking

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Apr 07, 2005 at 10:15:09 +0200, R Harper wrote:
> Hello
> 
> I'm writing a user space program handling network packets, using ip_queue.
> 
> I would like to use a function (do_gettimeofday)  that is defined in 
> /usr/src/linux/arch/i368/kernel/time.c
> 
> The question is how do I compile the user space program
> e.g. what files to include and link to?

You don't. It's a kernel function. Never heared about the difference
between kernel and userspace?

However, you are lucky. That function implements the gettimeofday
syscall.

-------------------------------------------------------------------------------
						 Jan 'Bulb' Hudec <bulb@xxxxxx>

Attachment: signature.asc
Description: Digital signature


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux