Lines Matching refs:stream
76 struct mntent *getmntent_r (FILE *stream, struct mntent *mp, char *buffer, int bufsiz)
85 if (fgets (buffer, bufsiz, stream) == NULL)
97 while (fgets (tmp, sizeof tmp, stream) != NULL)
134 struct mntent *getmntent (FILE *stream)
144 return getmntent_r (stream, &m, getmntent_buffer, BUFFER_SIZE);
165 /* Close a stream opened with `setmntent'. */
166 int endmntent (FILE *stream)
168 if (stream) /* SunOS 4.x allows for NULL stream */
169 fclose (stream);