Contidos dentroLocalizar Mais DocumentaçãoDestaques de Recursos de Suporte | Fazer download desta apostila em PDF (4971 KB)
rsm_memseg_import_connect(3RSM)Name | Synopsis | Description | Return Values | Errors | Attributes | See Also Name
Synopsiscc [ flag... ] file... –lrsm [ library... ]
#include <rsmapi.h>
int rsm_memseg_import_connect(
rsmapi_controller_handle_t controller,
rsm_node_id_t nodeid, rsm_memseg_id_t segment_id,
rsm_permission_t perm, rsm_memseg_import_handle_t *memseg);
int rsm_memseg_import_disconnect(
rsm_memseg_import_handle_t memseg);
Description
The rsm_memseg_import_connect() function provides a means of creating an import segment called memseg and establishing a logical connection with an export segment identified by the segment_id on the node specified by node_id. The controller specified by controller must have a physical connection with the controller (see rsm_get_interconnect_topology(3RSM)) used while exporting the segment identified by segment_id on node specified by node_id. The perm argument specifies the mode of access that the importer is requesting for this connection. In the connection process, the mode of access and the importers userid and groupid are compared with the access permissions specified by the exporter. If the request mode is not valid, the connection request is denied. The perm argument is limited to the following octal values: The rsm_memseg_import_disconnect() function breaks the logical connection between the import segment and the exported segment and deallocates the resources associated with the import segment handle memseg. Return ValuesUpon successful completion, these functions return 0. Otherwise, an error value is returned to indicate the error. Errors
The rsm_memseg_import_connect() and rsm_memseg_import_disconnect() functions can return the following errors: The rsm_memseg_import_connect() function can return the following errors: The rsm_memseg_import_disconnect() function can return the following errors: AttributesSee attributes(5) for descriptions of the following attributes:
See AlsoSunOS 5.10 Last Revised 8 Jun 2001Name | Synopsis | Description | Return Values | Errors | Attributes | See Also |
||||||