Re: using function names of syscalls

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

 



so usp <so_usp@xxxxxxxxxxxx> writes:

> Hi,
>
> I would like to know what should I do to use function
> names into my programs. I'm able only to use the
> function syscall(<syscall number>) in my programs.

You mean userland programs?

If you can understand how the macros like __syscall2 in asm/unistd.h
work to create functions that do system calls, then you can do the
same.

-- 
  Ed L Cashin <ecashin@xxxxxxxxxx>


--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[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