resource_alignment(9) calculate resource's alignment

SYNOPSIS

resource_size_t resource_alignment(struct resource * res);

ARGUMENTS

res

resource pointer

DESCRIPTION

Returns alignment on success, 0 (invalid alignment) on failure.

COPYRIGHT