DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

dshm_alignment(DSHM)


dshm_alignment -- get DSHM minimum map alignment

Synopsis

   #include <dshm.h>
   

size_t dshm_alignment (void);

Description

dshm_alignment returns the minimum legal alignment, in bytes, for a DSHM map. The starting logical address and size of the map must both be multiples of this value, which must be a power of 2.

Return values

If dshm_alignment returns 0, DSHM is not supported.

Otherwise, dshm_alignment returns the minimum map alignment, in bytes.

Errors

No errors are currently defined.

References

dshm_attach(DSHM), dshm_bufindex(DSHM), dshm_control(DSHM), dshm_detach(DSHM), dshm_get(DSHM), dshm_map(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