Re: System call vs POSIX call

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

 



On Thu, 16 Aug 2018 16:29:29 -0000, Nicholas Mc Guire said:

> Note that you can do system calls directly with system() but that is
> generaly not how you do it - you to through the glibc calls
> which do some checks before invoking the actual system call.

system() does a fork/exec of a process.

syscall() issues an arbitrary system call, but all marshalling of
parameters and return codes becomes your problem

Attachment: pgpo51hBEPwHV.pgp
Description: PGP signature

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

[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