mirror of
https://github.com/python/cpython.git
synced 2025-08-01 07:33:08 +00:00
Another int -> pid_t case
This commit is contained in:
parent
c4b7d4e810
commit
e6a8074892
1 changed files with 2 additions and 1 deletions
|
@ -6067,7 +6067,8 @@ Return the process group associated with the terminal given by a fd.");
|
|||
static PyObject *
|
||||
posix_tcgetpgrp(PyObject *self, PyObject *args)
|
||||
{
|
||||
int fd, pgid;
|
||||
int fd;
|
||||
pid_t pgid;
|
||||
if (!PyArg_ParseTuple(args, "i:tcgetpgrp", &fd))
|
||||
return NULL;
|
||||
pgid = tcgetpgrp(fd);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue