Lines Matching defs:to
4 * The contents of this file are subject to the terms of the
24 * Use is subject to license terms.
37 * putgrent() function to write a group structure to a file
41 putgrent(struct group *grpstr, FILE *to)
49 * we assume that fgetgrent() set gr_gid to 0 so
55 (void) fprintf(to, "%s:%s:", grpstr->gr_name,
59 (void) fprintf(to, ":");
61 (void) fprintf(to, "%ld:", grpstr->gr_gid);
67 (void) fprintf(to, "%s", *memptr);
70 (void) fprintf(to, ",");
73 (void) fprintf(to, "\n");
79 (void) fprintf(to, "%s:%s:%ld:", grpstr->gr_name,
85 (void) fprintf(to, "%s", *memptr);
88 (void) fprintf(to, ",");
91 (void) fprintf(to, "\n");