upc_castable
- Date:
07-07-2014
NAME
upc_castable - determines whether a pointer can be converted to a pointer-to-local
SYNOPSIS
#include <upc.h>
#include <upc_castable.h>
int *upc_castable(shared void *ptr);
IMPLEMENTATION
Cray Linux Environment (CLE)
DESCRIPTION
The upc_castable function returns TRUE if the pointer (ptr) can be converted to a pointer-to-local, FALSE otherwise. Null pointers and pointers to data with affinity to the current thread return TRUE.
SEE ALSO
upc_cast(3c), upc_thread_info(3c).