private static void prepareStandardFd(int fd) {
static void prepareStandardFd(int fd) {
  private static void prepareStandardFd(int fd) {    VM_BootRecord bootRecord = VM_BootRecord.the_boot_record;    int isTTY = VM.sysCall1(bootRecord.sysIsTTYIP, fd);    if (isTTY == 0) {      // This file descriptor is not connected to a tty, so we ASSUME      // that our reference to the actual file is private, and that      // we can safely set it to be nonblocking without confusing anyone.      // (Generally, it is only terminals that are shared with other      // processes.)      int rc = VM.sysCall2(bootRecord.sysNetSocketNoBlockIP, fd, 1);      if (rc == 0) {	// Groovy	standardFdIsNonblocking[fd] = true;      }      else	VM.sysWrite("VM: warning: could not set file descriptor " + fd + " to nonblocking\n");    }  }