/* wait.c (emx+gcc) -- Copyright (c) 1990-1996 by Eberhard Mattes */

#include <stdlib.h>
#include <process.h>
#include <errno.h>
#include <emx/syscalls.h>

int _wait (int *status)
{
  int dummy;

  if (status == NULL)
    status = &dummy;
  return __wait (status);
}
