REQUEST_RESOURCE

Section: Hardware Interfaces (9)
Updated: February 2011
Index Return to Main Contents
 

NAME

request_resource - request and reserve an I/O or memory resource  

SYNOPSIS

int request_resource(struct resource * root, struct resource * new);
 

ARGUMENTS

root

root resource descriptor

new

resource descriptor desired by caller
 

DESCRIPTION

Returns 0 for success, negative error code on error.  

COPYRIGHT