1266987Smarkj/* 2266987Smarkj * This file and its contents are supplied under the terms of the 3266987Smarkj * Common Development and Distribution License ("CDDL"), version 1.0. 4266987Smarkj * You may only use this file in accordance with the terms of version 5266987Smarkj * 1.0 of the CDDL. 6266987Smarkj * 7266987Smarkj * A full copy of the text of the CDDL should have accompanied this 8266987Smarkj * source. A copy of the CDDL is also available via the Internet at 9266987Smarkj * http://www.illumos.org/license/CDDL. 10266987Smarkj */ 11266987Smarkj 12266987Smarkj/* 13266987Smarkj * Copyright (c) 2012, Joyent, Inc. All rights reserved. 14266987Smarkj */ 15266987Smarkj 16266987Smarkj/* 17266987Smarkj * ASSERTION: 18266987Smarkj * The smallest base we will accept is Base 2. 19266987Smarkj * 20266987Smarkj * SECTION: Actions and Subroutines/strtoll() 21266987Smarkj */ 22266987Smarkj 23266987Smarkj#pragma D option quiet 24266987Smarkj 25266987SmarkjBEGIN 26266987Smarkj{ 27266987Smarkj printf("%d\n", strtoll("0", 1)); 28266987Smarkj exit(0); 29266987Smarkj} 30266987Smarkj 31266987SmarkjERROR 32266987Smarkj{ 33266987Smarkj exit(1); 34266987Smarkj} 35