kill(2) man page: ESRCH

Ed Schouten ed at
Wed Mar 14 23:43:49 UTC 2012

Hi all,

Just a quick question. The kill(2) man page says:

     The kill() system call will fail and no signal will be sent if:

     [ESRCH]            The process id was given as 0 but the sending process
                        does not have a process group.

My question is: is this possible? I thought all processes have a process
group. POSIX also doesn't mention anything about this case specifically.
Shall I zap this?

 Ed Schouten <ed at>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 834 bytes
Desc: not available
Url :

More information about the freebsd-arch mailing list