2 * getversion.c - Get a file version on an ext2 file system
4 * Copyright (C) 1993, 1994 Remy Card <card@masi.ibp.fr>
5 * Laboratoire MASI, Institut Blaise Pascal
6 * Universite Pierre et Marie Curie (Paris VI)
8 * This file can be redistributed under the terms of the GNU Library General
20 #include <sys/ioctl.h>
24 int getversion (int fd, unsigned long * version)
27 return ioctl (fd, EXT2_IOC_GETVERSION, version);
28 #else /* ! HAVE_EXT2_IOCTLS */
32 #endif /* ! HAVE_EXT2_IOCTLS */