1272343Sngie#include <pwd.h> 2272343Sngie#include <grp.h> 3272343Sngie#include <shadow.h> 4272343Sngie#include <stdio.h> 5272343Sngie#include <errno.h> 6272343Sngie#include <stdint.h> 7272343Sngie#include <string.h> 8272343Sngie#include <limits.h> 9272343Sngie#include "libc.h" 10272343Sngie 11272343Sngieint __getpwent_a(FILE *f, struct passwd *pw, char **line, size_t *size, struct passwd **res); 12272343Sngieint __getpw_a(const char *name, uid_t uid, struct passwd *pw, char **buf, size_t *size, struct passwd **res); 13272343Sngieint __getgrent_a(FILE *f, struct group *gr, char **line, size_t *size, char ***mem, size_t *nmem, struct group **res); 14272343Sngieint __getgr_a(const char *name, gid_t gid, struct group *gr, char **buf, size_t *size, char ***mem, size_t *nmem, struct group **res); 15272343Sngieint __parsespent(char *s, struct spwd *sp); 16272343Sngie