DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

dshm_bufindex(DSHM)


dshm_bufindex -- get buffer index for mapped buffer

Synopsis

   #include <dshm.h>
   

unsigned long dshm_bufindex(dshm_handle_t handle, const void* bufp);

Description

dshm_bufindex tells the caller which buffer is mapped by a given map slot. bufp must point to a mapped buffer.

Return values

dshm_bufindex returns the index of the buffer mapped at the specified address.

Errors

No errors are currently defined.

References

dshm_alignment(DSHM), dshm_attach(DSHM), dshm_control(DSHM), dshm_detach(DSHM), dshm_get(DSHM), dshm_minmapsize(DSHM), dshm_reattach(DSHM), dshm_unmap(DSHM), dshm_updatetlb(DSHM)
© 2005 The SCO Group, Inc. All rights reserved.
SCO OpenServer Release 6.0.0 - 01 June 2005