Back to index

glibc  2.9
mntent.h
Go to the documentation of this file.
00001 #ifndef _MNTENT_H
00002 #include <misc/mntent.h>
00003 
00004 /* Now define the internal interfaces.  */
00005 extern FILE *__setmntent (__const char *__file, __const char *__mode);
00006 extern FILE *__setmntent_internal (__const char *__file, __const char *__mode);
00007 extern struct mntent *__getmntent_r (FILE *__stream,
00008                                  struct mntent *__result,
00009                                  char *__buffer, int __bufsize);
00010 extern struct mntent *__getmntent_r_internal (FILE *__stream,
00011                                          struct mntent *__result,
00012                                          char *__buffer, int __bufsize)
00013      attribute_hidden;
00014 extern int __addmntent (FILE *__stream, __const struct mntent *__mnt);
00015 extern int __endmntent (FILE *__stream);
00016 extern int __endmntent_internal (FILE *__stream) attribute_hidden;
00017 extern char *__hasmntopt (__const struct mntent *__mnt,
00018                        __const char *__opt);
00019 
00020 #ifndef NOT_IN_libc
00021 # define __setmntent(file, mode) INTUSE(__setmntent) (file, mode)
00022 # define __endmntent(stream) INTUSE(__endmntent) (stream)
00023 # define __getmntent_r(stream, result, buffer, bufsize) \
00024   INTUSE(__getmntent_r) (stream, result, buffer, bufsize)
00025 #endif
00026 
00027 #endif