File: blockdev.h

package info (click to toggle)
cryptsetup 2%3A1.0.4%2Bsvn26-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 3,572 kB
  • ctags: 418
  • sloc: sh: 10,706; ansic: 3,187; makefile: 329; python: 90; perl: 40; sed: 16
file content (16 lines) | stat: -rw-r--r-- 322 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#ifndef BLOCKDEV_H
#define BLOCKDEV_H

#ifdef HAVE_CONFIG_H
#	include "config.h"
#endif
#include <unistd.h>
#include <asm/types.h>
#include <sys/ioctl.h>
#include <sys/mount.h>

#if defined(__linux__) && defined(_IOR) && !defined(BLKGETSIZE64)
#	define BLKGETSIZE64	_IOR(0x12, 114, size_t)
#endif

#endif /* BLOCKDEV_H */