err.resize1.d revision 178476
10SN/A/* 22362SN/A * CDDL HEADER START 30SN/A * 40SN/A * The contents of this file are subject to the terms of the 50SN/A * Common Development and Distribution License (the "License"). 60SN/A * You may not use this file except in compliance with the License. 72362SN/A * 80SN/A * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 92362SN/A * or http://www.opensolaris.org/os/licensing. 100SN/A * See the License for the specific language governing permissions 110SN/A * and limitations under the License. 120SN/A * 130SN/A * When distributing Covered Code, include this CDDL HEADER in each 140SN/A * file and include the License file at usr/src/OPENSOLARIS.LICENSE. 150SN/A * If applicable, add the following below this CDDL HEADER, with the 160SN/A * fields enclosed by brackets "[]" replaced with your own identifying 170SN/A * information: Portions Copyright [yyyy] [name of copyright owner] 180SN/A * 190SN/A * CDDL HEADER END 200SN/A */ 212362SN/A 222362SN/A/* 232362SN/A * Copyright 2006 Sun Microsystems, Inc. All rights reserved. 240SN/A * Use is subject to license terms. 250SN/A */ 260SN/A 270SN/A#pragma ident "%Z%%M% %I% %E% SMI" 280SN/A 290SN/A/* 300SN/A * ASSERTION: 310SN/A * Checks that setting "bufresize" to "manual" will cause buffer 320SN/A * allocation to fail for large principal buffer sizes. 330SN/A * 340SN/A * SECTION: Buffers and Buffering/Buffer Resizing Policy; 350SN/A * Options and Tunables/bufsize; 360SN/A * Options and Tunables/bufresize 370SN/A * 380SN/A */ 390SN/A 400SN/A#pragma D option bufresize=manual 410SN/A#pragma D option bufsize=100t 420SN/A 430SN/ABEGIN 440SN/A{ 450SN/A exit(0); 460SN/A} 470SN/A