2 .\" Copyright (c) 2007, Sun Microsystems, Inc. All Rights Reserved.
3 .\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License.
4 .\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License.
5 .\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
6 .TH PAPILIBRARYSUPPORTEDCALL 3PAPI "Jan 17, 2007"
8 papiLibrarySupportedCall, papiLibrarySupportedCalls \- determine if a PAPI
9 function returns valid data
13 cc [ \fIflag\fR\&.\|.\|. ] \fIfile\fR\&.\|.\|. \fB-lpapi\fR [ \fIlibrary\fR\&.\|.\|. ]
16 \fBchar\fR \fBpapiLibrarySupportedCall\fR(\fBconst char *\fR\fIname\fR);
21 \fBchar **\fR\fBpapiLibrarySupportedCalls\fR(\fBvoid\fR);
31 the name of a PAPI function
37 The \fBpapiLibrarySupportedCall()\fR function queries to determine if a
38 particular PAPI function returns valid data other than
39 \fBPAPI_OPERATION_NOT_SUPPORTED\fR.
42 The \fBpapiLibrarySupportedCalls()\fR function enumerates all PAPI functions
43 that return valid data other than \fBPAPI_OPERATION_NOT_SUPPORTED\fR.
47 The \fBpapiLibrarySupportedCall()\fR function returns \fBPAPI_TRUE\fR if the
48 specified PAPI function returns valid data other than
49 \fBPAPI_OPERATION_NOT_SUPPORTED\fR. Otherwise, \fBPAPI_FALSE\fR is returned.
52 The \fBpapiLibrarySupportedCalls()\fR function returns a null-terminated array
53 of strings listing all of the PAPI functions that return valid data other than
54 \fBPAPI_OPERATION_NOT_SUPPORTED\fR. Otherwise, \fINULL\fR is returned.
58 See \fBattributes\fR(5) for descriptions of the following attributes:
66 ATTRIBUTE TYPE ATTRIBUTE VALUE
68 Interface Stability Volatile
76 \fBlibpapi\fR(3LIB), \fBattributes\fR(5)