lkml.org 
[lkml]   [1999]   [Nov]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: devfs v136, ZIP disks and glibc-2.1.2
Zack Weinberg wrote:
> This can't possibly work with BSD ptys, so there is an extension. If
> you replace the first open with
>
> mfd = getpt();
>
> then it is documented to work no matter what sort of ptys you have.
> But notice that we don't look for the slave till later. At that point
> it is too late to back up and switch to BSD ptys - the user already
> has the master fd squirreled away.

Maybe dup2 is the solution?

-- Jamie

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:54    [W:0.036 / U:0.200 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site