tst.beginexit.d revision 256281
1168054Sflz/* 2168054Sflz * CDDL HEADER START 3168266Sgabor * 4168266Sgabor * The contents of this file are subject to the terms of the 5168266Sgabor * Common Development and Distribution License (the "License"). 6168266Sgabor * You may not use this file except in compliance with the License. 7168266Sgabor * 8168266Sgabor * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 9168266Sgabor * or http://www.opensolaris.org/os/licensing. 10168266Sgabor * See the License for the specific language governing permissions 11168054Sflz * and limitations under the License. 12168054Sflz * 13168064Sflz * When distributing Covered Code, include this CDDL HEADER in each 14168064Sflz * file and include the License file at usr/src/OPENSOLARIS.LICENSE. 15168064Sflz * If applicable, add the following below this CDDL HEADER, with the 16168064Sflz * fields enclosed by brackets "[]" replaced with your own identifying 17168064Sflz * information: Portions Copyright [yyyy] [name of copyright owner] 18168064Sflz * 19168064Sflz * CDDL HEADER END 20168064Sflz */ 21168064Sflz 22168064Sflz/* 23168064Sflz * Copyright 2006 Sun Microsystems, Inc. All rights reserved. 24168064Sflz * Use is subject to license terms. 25168064Sflz */ 26168064Sflz 27168054Sflz#pragma ident "%Z%%M% %I% %E% SMI" 28168054Sflz 29168064SflzBEGIN 30168054Sflz{ 31168188Sgabor exit(0); 32168357Syar} 33168673Sjulian 34168188SgaborBEGIN 35168263Sru{ 36168194Simp printf("shouldn't be here..."); 37168357Syar here++; 38168188Sgabor} 39168188Sgabor 40168188SgaborEND 41168188Sgabor{ 42168188Sgabor exit(here); 43168188Sgabor} 44168188Sgabor