request_resource(9) 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