]>
git.proxmox.com Git - mirror_lxc.git/blob - src/include/lxcmntent.h
1 /* Utilities for reading/writing fstab, mtab, etc.
2 Copyright (C) 1995-2000, 2001, 2002, 2003, 2006
3 Free Software Foundation, Inc.
4 This file is part of the GNU C Library.
6 The GNU C Library is free software; you can redistribute it and/or
7 modify it under the terms of the GNU Lesser General Public
8 License as published by the Free Software Foundation; either
9 version 2.1 of the License, or (at your option) any later version.
11 The GNU C Library is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 Lesser General Public License for more details.
16 You should have received a copy of the GNU Lesser General Public
17 License along with this library; if not, write to the Free Software
18 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
35 extern struct mntent
*getmntent (FILE *stream
);
36 extern struct mntent
*getmntent_r (FILE *stream
, struct mntent
*mp
, char *buffer
, int bufsiz
);
39 #if !defined(HAVE_SETMNTENT) || IS_BIONIC
40 FILE *setmntent (const char *file
, const char *mode
);
43 #if !defined(HAVE_ENDMNTENT) || IS_BIONIC
44 int endmntent (FILE *stream
);
47 #if !defined(HAVE_HASMNTOPT) || IS_BIONIC
48 extern char *hasmntopt (const struct mntent
*mnt
, const char *opt
);