Unroll x86-64 strlen
[glibc.git] / include / mntent.h
blob421f1df5dea112b27c61be1c3495559518138d7a
1 #ifndef _MNTENT_H
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)
13 attribute_hidden;
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,
18 __const char *__opt);
20 #ifndef NOT_IN_libc
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)
25 #endif
27 #endif