003 File Manager
Current Path:
/usr/src/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/printf
usr
/
src
/
cddl
/
contrib
/
opensolaris
/
cmd
/
dtrace
/
test
/
tst
/
common
/
printf
/
📁
..
📄
err.D_PRINTF_AGG_CONV.aggfmt.d
(1.09 KB)
📄
err.D_PRINTF_ARG_EXTRA.toomany.d
(1.1 KB)
📄
err.D_PRINTF_ARG_EXTRA.widths.d
(1.16 KB)
📄
err.D_PRINTF_ARG_FMT.badfmt.d
(1.08 KB)
📄
err.D_PRINTF_ARG_PROTO.novalue.d
(1.08 KB)
📄
err.D_PRINTF_ARG_TYPE.aggarg.d
(1.11 KB)
📄
err.D_PRINTF_ARG_TYPE.recursive.d
(1.13 KB)
📄
err.D_PRINTF_DYN_PROTO.noprec.d
(1.1 KB)
📄
err.D_PRINTF_DYN_PROTO.nowidth.d
(1.1 KB)
📄
err.D_PRINTF_DYN_TYPE.badprec.d
(1.1 KB)
📄
err.D_PRINTF_DYN_TYPE.badwidth.d
(1.09 KB)
📄
err.D_PROTO_LEN.toofew.d
(1.07 KB)
📄
err.D_SYNTAX.badconv1.d
(1.09 KB)
📄
err.D_SYNTAX.badconv2.d
(1.07 KB)
📄
err.D_SYNTAX.badconv3.d
(1.07 KB)
📄
tst.basics.d
(1.99 KB)
📄
tst.basics.d.out
(222 B)
📄
tst.flags.d
(1.29 KB)
📄
tst.flags.d.out
(57 B)
📄
tst.hello.d
(1.09 KB)
📄
tst.hello.d.out
(6 B)
📄
tst.ints.d
(2.84 KB)
📄
tst.ints.d.out
(361 B)
📄
tst.precs.d
(1.49 KB)
📄
tst.precs.d.out
(54 B)
📄
tst.print-f.d
(1.17 KB)
📄
tst.print-f.d.out
(30 B)
📄
tst.printT.ksh
(1.36 KB)
📄
tst.printT.ksh.out
(90 B)
📄
tst.printY.ksh
(1.36 KB)
📄
tst.printY.ksh.out
(63 B)
📄
tst.printcont.d
(1.44 KB)
📄
tst.printcont.d.out
(226 B)
📄
tst.printeE.d
(1.22 KB)
📄
tst.printeE.d.out
(74 B)
📄
tst.printgG.d
(1.22 KB)
📄
tst.printgG.d.out
(30 B)
📄
tst.rawfmt.d
(1.15 KB)
📄
tst.rawfmt.d.out
(23 B)
📄
tst.signs.d
(724 B)
📄
tst.signs.d.out
(28 B)
📄
tst.str.d
(1.1 KB)
📄
tst.str.d.out
(18 B)
📄
tst.sym.d
(1.13 KB)
📄
tst.sym.d.out
(23 B)
📄
tst.uints.d
(1.25 KB)
📄
tst.uints.d.out
(18 B)
📄
tst.widths.d
(1.4 KB)
📄
tst.widths.d.out
(46 B)
📄
tst.widths1.d
(1.25 KB)
📄
tst.wp.d
(1.79 KB)
📄
tst.wp.d.out
(122 B)
Editing: tst.printY.ksh
# # 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 2007 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # # ident "%Z%%M% %I% %E% SMI" if [ $# != 1 ]; then echo expected one argument: '<'dtrace-path'>' exit 2 fi dtrace=$1 # The output files assumes the timezone is US/Pacific export TZ=America/Los_Angeles $dtrace -s /dev/stdin <<EOF #pragma D option quiet inline uint64_t NANOSEC = 1000000000; BEGIN { printf("%Y\n%Y\n%Y", (uint64_t)0, (uint64_t)1062609821 * NANOSEC, (uint64_t)0x7fffffff * NANOSEC); exit(0); } EOF if [ $? -ne 0 ]; then print -u2 "dtrace failed" exit 1 fi exit 0
Upload File
Create Folder