[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: EMACS_GET_TTY_PGRP vs. emacs_get_tty_pgrp
From: |
Andreas Schwab |
Subject: |
Re: EMACS_GET_TTY_PGRP vs. emacs_get_tty_pgrp |
Date: |
Wed, 20 Oct 2010 23:36:14 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) |
Dan Nicolaescu <address@hidden> writes:
> The comment in emacs_get_tty_pgrp looks scary, it does not look
> obvious that the code in the function can be replaced with tcgetpgrp.
> Maybe it can, but, IMHO, it needs testing on a few platforms.
In all Unix systems that define both they should be identical
(ie. tcgetpgrp just calls the TIOCGPGRP ioctl).
Andreas.
--
Andreas Schwab, address@hidden
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."