From: Philip Homburg Date: Tue, 7 Aug 2007 11:59:02 +0000 (+0000) Subject: Added prototype for mapdriver5 (from RS to VFS, report the name of a driver X-Git-Tag: v3.1.4~354 X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/icons/invmod.png?a=commitdiff_plain;h=4d2f56daf68e1765433815ba51b51c5982ab80f5;p=minix.git Added prototype for mapdriver5 (from RS to VFS, report the name of a driver instead of its endpoint). --- diff --git a/include/unistd.h b/include/unistd.h index 3e43c2f1a..6db28e80f 100755 --- a/include/unistd.h +++ b/include/unistd.h @@ -198,6 +198,8 @@ _PROTOTYPE( int freemem, (phys_bytes size, phys_bytes base) ); #define unmapdriver(device) devctl(DEV_UNMAP, 0, device, 0) _PROTOTYPE( int devctl, (int ctl_req, int driver, int device, int style, int force) ); +_PROTOTYPE( int mapdriver5, (char *label, size_t len, int major, + int style, int force) ); _PROTOTYPE( uid_t getpeuid, (endpoint_t ep) ); /* For compatibility with other Unix systems */