
#include <exec/types.h>
#include <exec/tasks.h>
#include <libraries/dosextens.h>
#include <workbench/startup.h>
#include <functions.h>

LONG
__open_wb_stdio (struct WBStartup *WBenchMsg)
{
#if 0
  struct WBArg *wbarg;

  wbarg = WBenchMsg->sm_ArgList;
  if (wbarg)
    CurrentDir (wbarg->wa_Lock);
  if (TWspec[0])
    {
      BPTR fh = Open (TWspec, MODE_OLDFILE);
      struct Process *ThisProcess;
      if (!fh)
	return 0;
      ThisProcess = (struct Process *) FindTask (NULL);
      ThisProcess->pr_CIS = fh;
      ThisProcess->pr_COS = fh;
      ThisProcess->pr_ConsoleTask = (APTR) ((struct FileHandle *)
					    BADDR (fh))->fh_Type;
    }
#endif
  return 1;
}
