/* setgid.c (emx+gcc) -- Copyright (c) 1994-1995 by Eberhard Mattes */

#include <unistd.h>
#include <errno.h>
#include <sys/types.h>

int _setgid (gid_t gid)
{
  if (gid != 0)
    {
      errno = EINVAL;
      return -1;
    }
  return 0;
}
