// These stubs are Macintosh only. They prevent the linkage
// of the Sioux TTY-like I/O functions. Not needed for other
// environments.

#include <console.h>

short InstallConsole(short)     { return 0; }
void RemoveConsole(void)     {   }
long WriteCharsToConsole(char *, long)  { return 0; }
long ReadCharsFromConsole(char *, long)  { return 0; }
int kbhit(void)        { return 0; }
int getch(void)        { return 0; }
void clrscr()        {   }

char *__ttyname(long fildes)
{
	static char *__devicename = "null device";

	if (fildes >= 0 && fildes <= 2)
		return (__devicename);

	return (0L);
}

