Thomas Bushnell BSG, le Tue 17 Jan 2006 11:33:48 -0800, a écrit :
> > It's an XSI extension:
> >
> > « The getsid() function shall obtain the process group ID of the
> > process that is the session leader of the process specified by pid. If
> > pid is (pid_t)0, it specifies the calling process. »
> 
> Oh, getsid certainly should do this.
> 
> So is there a bug in setsid?  Is there one in getsid?

in getsid(0) (typo in my first mail, but the patch is correct).

Regards,
Samuel


_______________________________________________
Bug-hurd mailing list
Bug-hurd@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-hurd

Reply via email to