main()
{

int d = 5;

d -= (int)write(1, "\n", 1);
printf("The tty is %s %d\n", ttyname(1), d);

/*
fstat();
stat();
readdir();
/* dup();
getdtablesize();
readdir(); */
}
