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

#include <stdlib.h>
#include <pwd.h>
#include <errno.h>
#include <sys/types.h>
#include <emx/pwd.h>

/* Dummy function */

struct passwd *_getpwnam (const char *name)
{
  if (name == NULL)
    {
      errno = EINVAL;
      return NULL;
    }
  return _getpw (0, name);
}
