mirror of
https://codeberg.org/ziglang/zig.git
synced 2025-12-06 13:54:21 +00:00
14 lines
No EOL
358 B
C
Vendored
14 lines
No EOL
358 B
C
Vendored
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
|
|
#ifndef _LINUX_BLKDEV_H
|
|
#define _LINUX_BLKDEV_H
|
|
|
|
#include <linux/ioctl.h>
|
|
#include <linux/types.h>
|
|
|
|
/*
|
|
* io_uring block file commands, see IORING_OP_URING_CMD.
|
|
* It's a different number space from ioctl(), reuse the block's code 0x12.
|
|
*/
|
|
#define BLOCK_URING_CMD_DISCARD _IO(0x12, 0)
|
|
|
|
#endif |