I am having trouble opening a terminal (machine: 3b1, os: S5 R2,
version 3.51a). I cannot get this to work
extern int errno;
main()
{
int fd;
fd = open ("/dev/tty000", 2);
perror();
printf ("%d %d\n", fd, errno);
}
The result of this is error 19, no such device. My system has /dev/tty000
as major #0, minor #0.
Michael