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
,
21 # define __setmntent(file, mode) INTUSE(__setmntent) (file, mode)
22 # define __endmntent(stream) INTUSE(__endmntent) (stream)
23 # define __getmntent_r(stream, result, buffer, bufsize) \
24 INTUSE(__getmntent_r) (stream, result, buffer, bufsize)