SYSTEM(3)

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

 



Hello Michael

I'm proposing a change below to two man pages.

execl(3) has NULL listed in that SYNOPSIS, so it would be consistent as if system(3) was also NULL in this example below.


DESCRIPTION
The  system()  library  function uses fork(2) to create a child process
that executes the shell command specified in command using execl(3)  as
       follows:

           execl("/bin/sh", "sh", "-c", command, (char *) 0);

^ This should be NULL in example as per EXEC(3)?


Thanks
Jonny



[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux