Lines Matching refs:stream
962 int putpwent_sane(const struct passwd *pw, FILE *stream) { in putpwent_sane() argument
964 assert(stream); in putpwent_sane()
967 if (putpwent(pw, stream) != 0) in putpwent_sane()
973 int putspent_sane(const struct spwd *sp, FILE *stream) { in putspent_sane() argument
975 assert(stream); in putspent_sane()
978 if (putspent(sp, stream) != 0) in putspent_sane()
984 int putgrent_sane(const struct group *gr, FILE *stream) { in putgrent_sane() argument
986 assert(stream); in putgrent_sane()
989 if (putgrent(gr, stream) != 0) in putgrent_sane()
996 int putsgent_sane(const struct sgrp *sg, FILE *stream) { in putsgent_sane() argument
998 assert(stream); in putsgent_sane()
1001 if (putsgent(sg, stream) != 0) in putsgent_sane()
1008 int fgetpwent_sane(FILE *stream, struct passwd **pw) { in fgetpwent_sane() argument
1012 assert(stream); in fgetpwent_sane()
1015 p = fgetpwent(stream); in fgetpwent_sane()
1023 int fgetspent_sane(FILE *stream, struct spwd **sp) { in fgetspent_sane() argument
1027 assert(stream); in fgetspent_sane()
1030 s = fgetspent(stream); in fgetspent_sane()
1038 int fgetgrent_sane(FILE *stream, struct group **gr) { in fgetgrent_sane() argument
1042 assert(stream); in fgetgrent_sane()
1045 g = fgetgrent(stream); in fgetgrent_sane()
1054 int fgetsgent_sane(FILE *stream, struct sgrp **sg) { in fgetsgent_sane() argument
1058 assert(stream); in fgetsgent_sane()
1061 s = fgetsgent(stream); in fgetsgent_sane()