pty 41 maint/gnulib/lib/pt_chown.c char *pty; pty 47 maint/gnulib/lib/pt_chown.c pty = ptsname (PTY_FILENO); pty 48 maint/gnulib/lib/pt_chown.c if (pty == NULL) pty 53 maint/gnulib/lib/pt_chown.c if (stat (pty, &st) < 0 || !S_ISCHR (st.st_mode)) pty 62 maint/gnulib/lib/pt_chown.c if (st.st_gid != gid && chown (pty, getuid (), gid) < 0) pty 68 maint/gnulib/lib/pt_chown.c && chmod (pty, S_IRUSR|S_IWUSR|S_IWGRP) < 0)