The rebind operation releases the current backing store for an export segment. After releasing the current backing store for an export segment, the rebind operation allocates a new backing store. The application must first obtain a new virtual memory allocation for the segment. This operation is transparent to importers of the segment.
The application has the responsibility of preventing access to segment data until the rebind operation is complete. Retrieving data from a segment during rebinding does not cause a system failure, but the results of such an operation are undefined.
Return Values: Returns 0 if successful. Returns an error value otherwise.
Invalid segment handle
Invalid length
Invalid address
Rebind not allowed
Not creator of segment
Permission denied
Insufficient memory
Insufficient resources
Operation interrupted by signal