mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-01-17 12:01:53 +08:00
b6e654c498
* libc/sys/linux/getpwuid.c: Removed. * libc/sys/linux/getpwnam.c: Removed. * libc/sys/linux/getpwent.c: New file containing logic from files removed above. This allows overriding of file in libc/unix. * libc/sys/linux/Makefile.am: Support changes above. * libc/sys/linux/Makefile.in: Regenerated.
31 lines
421 B
C
31 lines
421 B
C
/* FIXME: dummy stub for now. */
|
|
#include <errno.h>
|
|
#include <pwd.h>
|
|
|
|
struct passwd *
|
|
_DEFUN (getpwnam, (name),
|
|
_CONST char *name)
|
|
{
|
|
errno = ENOSYS;
|
|
return NULL;
|
|
}
|
|
|
|
/* FIXME: dummy stub for now. */
|
|
struct passwd *
|
|
_DEFUN (getpwuid, (uid),
|
|
uid_t uid)
|
|
{
|
|
errno = ENOSYS;
|
|
return NULL;
|
|
}
|
|
|
|
/* FIXME: dummy stub for now. */
|
|
struct passwd *
|
|
_DEFUN (getpwent, (uid),
|
|
uid_t uid)
|
|
{
|
|
errno = ENOSYS;
|
|
return NULL;
|
|
}
|
|
|