2 #include <misc/mntent.h>
4 /* Now define the internal interfaces. */
5 extern FILE *__setmntent (const char *__file
, const char *__mode
);
6 extern FILE *__setmntent_internal (const char *__file
, const char *__mode
);
7 extern struct mntent
*__getmntent_r (FILE *__stream
,
8 struct mntent
*__result
,
9 char *__buffer
, int __bufsize
);
10 extern struct mntent
*__getmntent_r_internal (FILE *__stream
,
11 struct mntent
*__result
,
12 char *__buffer
, int __bufsize
)
14 extern int __addmntent (FILE *__stream
, const struct mntent
*__mnt
);
15 extern int __endmntent (FILE *__stream
);
16 extern int __endmntent_internal (FILE *__stream
) attribute_hidden
;
17 extern char *__hasmntopt (const struct mntent
*__mnt
, const char *__opt
);
20 # define __setmntent(file, mode) INTUSE(__setmntent) (file, mode)
21 # define __endmntent(stream) INTUSE(__endmntent) (stream)
22 # define __getmntent_r(stream, result, buffer, bufsize) \
23 INTUSE(__getmntent_r) (stream, result, buffer, bufsize)