Function get_descriptor_access_rights (d : Word) : Longint;
Gets the access rights of a descriptor
Parameters:
Return value: Access rights bit field
Check int31error variable set_descriptor_access_rights