/* gethosti.c (emx+gcc) -- Copyright (c) 1994-1996 by Eberhard Mattes */

#include <emx/syscalls.h>

int gethostid (void)
{
  int result;

  if (__gethostid (&result) != 0)
    result = -1;
  return result;
}
