diff options
Diffstat (limited to 'newlib/libc/sys/linux/getpwent.c')
-rw-r--r-- | newlib/libc/sys/linux/getpwent.c | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/newlib/libc/sys/linux/getpwent.c b/newlib/libc/sys/linux/getpwent.c new file mode 100644 index 000000000..9479021e3 --- /dev/null +++ b/newlib/libc/sys/linux/getpwent.c @@ -0,0 +1,30 @@ +/* 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; +} + |