From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10eb76,5affcc9fcf662c13,start X-Google-Attributes: gid10eb76,public X-Google-Thread: fee84,5affcc9fcf662c13,start X-Google-Attributes: gidfee84,public From: David Shaffer Subject: grantpt() on dec4.0d Date: 1998/05/05 Message-ID: <354FB656.41C6@intersw.com>#1/1 X-Deja-AN: 350637030 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii Organization: ISSI Mime-Version: 1.0 Newsgroups: comp.unix.osf.osf1,comp.lang.tcl anyone know why grantpt would return -1 but not set errno? i am using the pty examples from stevens apue book. these work for text based examples. when i use it w/ tcl, grantpt returns -1 w/o setting errno. btw.. forkpty() works. but i don't think i can count on this for many platforms from what i have seen.