minix/include/sys/ioc_disk.h
Ben Gras cfb984e9bd . renamed __str to __makestr to allow for g++
. changed some CMOS ioctl codes to have correct sizes (struct tm instead
  of u32_t), a disk ioctl code from W to RW, and memory ioctl codes from R
  to W, needed for proper matching of grant in FS
2006-06-20 08:40:26 +00:00

17 lines
394 B
C
Executable file

/* sys/ioc_disk.h - Disk ioctl() command codes. Author: Kees J. Bot
* 23 Nov 2002
*
*/
#ifndef _S_I_DISK_H
#define _S_I_DISK_H
#include <minix/ioctl.h>
#define DIOCSETP _IOW('d', 3, struct partition)
#define DIOCGETP _IOR('d', 4, struct partition)
#define DIOCEJECT _IO ('d', 5)
#define DIOCTIMEOUT _IORW('d', 6, int)
#define DIOCOPENCT _IOR('d', 7, int)
#endif /* _S_I_DISK_H */