(root)/
util-linux-2.39/
include/
ismounted.h
       1  /*
       2   * SPDX-License-Identifier: GPL-2.0-or-later
       3   *
       4   * This file may be redistributed under the terms of the GNU Public
       5   * License.
       6   */
       7  #ifndef IS_MOUNTED_H
       8  #define IS_MOUNTED_H
       9  
      10  #define MF_MOUNTED	1
      11  #define MF_ISROOT	2
      12  #define MF_READONLY	4
      13  #define MF_SWAP		8
      14  #define MF_BUSY		16
      15  
      16  extern int is_mounted(const char *file);
      17  extern int check_mount_point(const char *device, int *mount_flags,
      18  				 char *mtpt, int mtlen);
      19  
      20  #endif /* IS_MOUNTED_H */