1570af302Sopenharmony_ci#include <pwd.h> 2570af302Sopenharmony_ci#include <grp.h> 3570af302Sopenharmony_ci#include <shadow.h> 4570af302Sopenharmony_ci#include <stdio.h> 5570af302Sopenharmony_ci#include <errno.h> 6570af302Sopenharmony_ci#include <stdint.h> 7570af302Sopenharmony_ci#include <stdlib.h> 8570af302Sopenharmony_ci#include <string.h> 9570af302Sopenharmony_ci#include <limits.h> 10570af302Sopenharmony_ci 11570af302Sopenharmony_cihidden int __getpwent_a(FILE *f, struct passwd *pw, char **line, size_t *size, struct passwd **res); 12570af302Sopenharmony_cihidden int __getpw_a(const char *name, uid_t uid, struct passwd *pw, char **buf, size_t *size, struct passwd **res); 13570af302Sopenharmony_cihidden int __getgrent_a(FILE *f, struct group *gr, char **line, size_t *size, char ***mem, size_t *nmem, struct group **res); 14570af302Sopenharmony_cihidden int __getgr_a(const char *name, gid_t gid, struct group *gr, char **buf, size_t *size, char ***mem, size_t *nmem, struct group **res); 15570af302Sopenharmony_cihidden int __parsespent(char *s, struct spwd *sp); 16