Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Oct 2007 13:00:29 +0400
From:      "Artem Kuchin" <matrix@itlegion.ru>
To:        "Artem Kuchin" <matrix@itlegion.ru>, "David Xu" <davidxu@FreeBSD.org>
Cc:        freebsd-current@FreeBSD.org
Subject:   Re: Broken su in current - trying to fix myself, help needed!
Message-ID:  <015d01c81165$56d248d0$0c00a8c0@Artem>
References:  <00bd01c810ec$10371230$0c00a8c0@Artem><47171988.7040706@freebsd.org> <013c01c81164$628def90$0c00a8c0@Artem>

next in thread | previous in thread | raw e-mail | index | archive | help

> Though, i still dont; understand why  tcgetpgrp return 100000
> (an unusually high number).


arghh! heck! got it

man tcgetpgrp

If there is no foreground process group, tcgetpgrp() returns an invalid process ID.

(missed the line in the man cuz was looking for RETURN VALUE section)


--
Regards,
Artem



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?015d01c81165$56d248d0$0c00a8c0>