dshm_bufindex(3dshm)


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(3dshm), dshm_attach(3dshm), dshm_control(3dshm), dshm_detach(3dshm), dshm_get(3dshm), dshm_minmapsize(3dshm), dshm_reattach(3dshm), dshm_unmap(3dshm), dshm_updatetlb(3dshm)
© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 25 April 2004