1998-09-06 23:45:24 +00:00
|
|
|
#ifndef _MNTENT_H
|
1998-03-31 18:24:48 +00:00
|
|
|
#include <misc/mntent.h>
|
1998-08-09 17:39:48 +00:00
|
|
|
|
2016-08-23 21:19:17 -04:00
|
|
|
# ifndef _ISOMAC
|
|
|
|
|
|
1998-08-09 17:39:48 +00:00
|
|
|
/* Now define the internal interfaces. */
|
2012-01-07 23:57:22 -05:00
|
|
|
extern FILE *__setmntent (const char *__file, const char *__mode);
|
1999-10-19 13:53:34 +00:00
|
|
|
extern struct mntent *__getmntent_r (FILE *__stream,
|
|
|
|
|
struct mntent *__result,
|
1999-11-23 17:22:17 +00:00
|
|
|
char *__buffer, int __bufsize);
|
2012-01-07 23:57:22 -05:00
|
|
|
extern int __addmntent (FILE *__stream, const struct mntent *__mnt);
|
1999-11-23 17:22:17 +00:00
|
|
|
extern int __endmntent (FILE *__stream);
|
2012-01-07 23:57:22 -05:00
|
|
|
extern char *__hasmntopt (const struct mntent *__mnt, const char *__opt);
|
2002-04-09 20:36:24 +00:00
|
|
|
|
2012-05-31 13:10:02 +02:00
|
|
|
libc_hidden_proto (__setmntent)
|
|
|
|
|
libc_hidden_proto (__getmntent_r)
|
|
|
|
|
libc_hidden_proto (__endmntent)
|
2017-10-01 17:37:27 -07:00
|
|
|
libc_hidden_proto (__hasmntopt)
|
2002-04-09 20:36:24 +00:00
|
|
|
|
2016-08-23 21:19:17 -04:00
|
|
|
# endif /* !_ISOMAC */
|
1998-09-06 23:45:24 +00:00
|
|
|
#endif
|