DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

dshm_alignment(3dshm)


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