Yes. But only on linux.
/ Per Hedbor ()
Previous text:
2003-05-14 16:06: Subject: grantpt
Has anyone ever gotten Stdio.File()->grantpt() to work? All I get is
grantpt failed: No child processes module.c:58()->files()->Fd: Fd()->grantpt() Stdio.File: Stdio.File("/dev/ptmx", "rw", 666 /* fd=3 */)->grantpt() HilfeInput:1: HilfeInput()->___HilfeWrapper()
The man page for grantpt also says that
The grantpt() function will fail if it is unable to success- fully invoke the setuid root program. It may also fail if the application has installed a signal handler to catch SIGCHLD signals.
/ Marcus Comstedt (ACROSS) (Hail Ilpalazzo!)