lh | 9ed821d | 2023-04-07 01:36:19 -0700 | [diff] [blame^] | 1 | #ifndef _MNTENT_H |
| 2 | #include <misc/mntent.h> |
| 3 | |
| 4 | /* Now define the internal interfaces. */ |
| 5 | extern FILE *__setmntent (const char *__file, const char *__mode); |
| 6 | extern struct mntent *__getmntent_r (FILE *__stream, |
| 7 | struct mntent *__result, |
| 8 | char *__buffer, int __bufsize); |
| 9 | extern int __addmntent (FILE *__stream, const struct mntent *__mnt); |
| 10 | extern int __endmntent (FILE *__stream); |
| 11 | extern char *__hasmntopt (const struct mntent *__mnt, const char *__opt); |
| 12 | |
| 13 | libc_hidden_proto (__setmntent) |
| 14 | libc_hidden_proto (__getmntent_r) |
| 15 | libc_hidden_proto (__endmntent) |
| 16 | |
| 17 | #endif |