DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

dshm_reattach(DSHM)


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(DSHM), dshm_attach(DSHM), dshm_bufindex(DSHM), dshm_control(DSHM), dshm_detach(DSHM), dshm_get(DSHM), dshm_map(DSHM), dshm_minmapsize(DSHM), dshm_unmap(DSHM), dshm_updatetlb(DSHM)
© 2005 The SCO Group, Inc. All rights reserved.
SCO OpenServer Release 6.0.0 - 01 June 2005