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

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

struct protoent *getprotobynumber (int proto)
{
  struct protoent *result;

  if (__getprotobynumber (proto, &result) != 0)
    result = NULL;
  return result;
}
