003 File Manager
Current Path:
/usr/src/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/preprocessor
usr
/
src
/
cddl
/
contrib
/
opensolaris
/
cmd
/
dtrace
/
test
/
tst
/
common
/
preprocessor
/
📁
..
📄
err.D_IDENT_UNDEF.afterprobe.d
(1.26 KB)
📄
err.D_PRAGCTL_INVAL.tabdefine.d
(1.19 KB)
📄
err.D_SYNTAX.withoutpound.d
(1.17 KB)
📄
err.defincomp.d
(1.16 KB)
📄
err.ifdefelsenotendif.d
(1.22 KB)
📄
err.ifdefincomp.d
(1.18 KB)
📄
err.ifdefnotendif.d
(1.21 KB)
📄
err.incompelse.d
(1.15 KB)
📄
err.mulelse.d
(1.28 KB)
📄
tst.ifdef.d
(1.23 KB)
📄
tst.ifdef.d.out
(17 B)
📄
tst.ifndef.d
(1.24 KB)
📄
tst.ifndef.d.out
(16 B)
📄
tst.ifnotdef.d
(1.23 KB)
📄
tst.ifnotdef.d.out
(16 B)
📄
tst.logicaland.d
(1.24 KB)
📄
tst.logicaland.d.out
(16 B)
📄
tst.logicalandor.d
(1.27 KB)
📄
tst.logicalandor.d.out
(16 B)
📄
tst.logicalor.d
(1.23 KB)
📄
tst.logicalor.d.out
(16 B)
📄
tst.muland.d
(1.26 KB)
📄
tst.muland.d.out
(16 B)
📄
tst.mulor.d
(1.26 KB)
📄
tst.mulor.d.out
(16 B)
📄
tst.precondi.d
(1.16 KB)
📄
tst.precondi.d.out
(16 B)
📄
tst.predicatedeclare.d
(1.22 KB)
📄
tst.preexp.d
(1.19 KB)
📄
tst.preexp.d.out
(18 B)
📄
tst.preexpelse.d
(1.22 KB)
📄
tst.preexpelse.d.out
(17 B)
📄
tst.preexpif.d
(1.22 KB)
📄
tst.preexpif.d.out
(16 B)
📄
tst.preexpifelse.d
(1.24 KB)
📄
tst.preexpifelse.d.out
(16 B)
📄
tst.withinprobe.d
(1.21 KB)
Editing: tst.preexpif.d
/* * CDDL HEADER START * * 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. * * 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. * * 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] * * CDDL HEADER END */ /* * Copyright 2006 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ #pragma ident "%Z%%M% %I% %E% SMI" /* * ASSERTION: * * Simple define, if defined, define and endif tests. * * SECTION: Program Structure/Use of the C Preprocessor * */ #define FLAG 1 #if defined (FLAG) #define VALUE 5 #endif #pragma D option quiet tick-10ms { printf("The value is %d\n", VALUE); exit(0); }
Upload File
Create Folder