upc_blocksizeof
- Date:
06-15-2011
NAME
upc_blocksizeof - Returns block size of operand
SYNOPSIS
upc_blocksizeof unary-expression
upc_blocksizeof (type-name)
IMPLEMENTATION
Cray Linux Environment (CLE)
DESCRIPTION
The upc_blocksizeof operator returns the block size of the operand, which may be a shared object or a shared-qualified type. The block size is the value specified in the layout qualifier of the type declaration. If there is no layout qualifier, the block size is 1. The result of upc_blocksizeof is a compile-time constant.
If the operator of upc_blocksizeof has indefinite block size, the value of upc_blocksizeof is 0.
The type of the result is size_t.
The upc_blocksizeof operator applies only to shared objects or shared-qualified types. This operator cannot be applied to an expression that has function type or an incomplete type, to the parenthesized name of such a type, or to an L-value that designates a bit-field object.
SEE ALSO
upc_localsizeof(3c), upc_elemsizeof(3c)