NAME

vme_get_bus_ownership - Returns the current VMEbus ownership status.

SYNOPSIS

int vme_get_bus_ownership ( vme_bus_handle_t bus_handle, int * vown )

PARAMETERS

vme_bus_handle_t bus_handle

Handle allocated by vme_init.

int * vown

Returns 1 if the VMEbus is owned and held, or 0 if it is free.

DESCRIPTION

Returns the current VMEbus ownership status.

RETURNS

0 on success, or -1 on failure.

SEE ALSO

vme_acquire_bus_ownership(3), vme_release_bus_ownership(3)