dshm_reattach(3dshm)


dshm_reattach -- reattach DSHM segment (after fork)

Synopsis

   #include <dshm.h>
   

int dshm_reattach(dshm_handle_t handle);

Description

A new process calls dshm_reattach in order to use a map attachment which has been inherited from its fork parent.

Return values

If dshm_reattach returns 0, the operation succeeded.

If dshm_reattach returns -1, an error occurred. errno is set to identify the error.

Errors

No errors are currently defined.

References

dshm_alignment(3dshm), dshm_attach(3dshm), dshm_bufindex(3dshm), dshm_control(3dshm), dshm_detach(3dshm), dshm_get(3dshm), dshm_map(3dshm), dshm_minmapsize(3dshm), dshm_unmap(3dshm), dshm_updatetlb(3dshm)
© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 25 April 2004