From 6210a1dd4c1cae5c2787baf9de5de6eb9a38918a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Revol?= Date: Tue, 30 May 2006 19:52:19 +0000 Subject: [PATCH] Add an ioctl B_GET_PATH_FOR_DEVICE, this should simplify big times implementing ttyname() for ex, and could be handy anyway. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17655 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- headers/os/drivers/Drivers.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/headers/os/drivers/Drivers.h b/headers/os/drivers/Drivers.h index 2093eac83c..4bb91c1cfc 100644 --- a/headers/os/drivers/Drivers.h +++ b/headers/os/drivers/Drivers.h @@ -119,6 +119,8 @@ enum { B_FLUSH_DRIVE_CACHE, /* flush drive cache */ + B_GET_PATH_FOR_DEVICE, /* get the absolute path of the device */ + B_GET_NEXT_OPEN_DEVICE = 1000, /* iterate through open devices */ B_ADD_FIXED_DRIVER, /* private */ B_REMOVE_FIXED_DRIVER, /* private */