1*ba2539a9Schs /* $NetBSD: stdlib.h,v 1.4 2018/05/28 21:05:08 chs Exp $ */ 201c9547eSdarran 3fc8ec0b8Shaad /* 4fc8ec0b8Shaad * Copyright (C) 2007 John Birrell <jb@freebsd.org> 5fc8ec0b8Shaad * All rights reserved. 6fc8ec0b8Shaad * 7fc8ec0b8Shaad * Redistribution and use in source and binary forms, with or without 8fc8ec0b8Shaad * modification, are permitted provided that the following conditions 9fc8ec0b8Shaad * are met: 10fc8ec0b8Shaad * 1. Redistributions of source code must retain the above copyright 11fc8ec0b8Shaad * notice, this list of conditions and the following disclaimer. 12fc8ec0b8Shaad * 2. Redistributions in binary form must reproduce the above copyright 13fc8ec0b8Shaad * notice, this list of conditions and the following disclaimer in the 14fc8ec0b8Shaad * documentation and/or other materials provided with the distribution. 15fc8ec0b8Shaad * 16fc8ec0b8Shaad * THIS SOFTWARE IS PROVIDED BY AUTHOR AND CONTRIBUTORS ``AS IS'' AND 17fc8ec0b8Shaad * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 18fc8ec0b8Shaad * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 19fc8ec0b8Shaad * ARE DISCLAIMED. IN NO EVENT SHALL AUTHOR OR CONTRIBUTORS BE LIABLE 20fc8ec0b8Shaad * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 21fc8ec0b8Shaad * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 22fc8ec0b8Shaad * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 23fc8ec0b8Shaad * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 24fc8ec0b8Shaad * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 25fc8ec0b8Shaad * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 26fc8ec0b8Shaad * SUCH DAMAGE. 27fc8ec0b8Shaad * 28*ba2539a9Schs * $FreeBSD: head/cddl/compat/opensolaris/include/stdlib.h 234856 2012-04-30 23:12:16Z rmh $ 29fc8ec0b8Shaad * 30fc8ec0b8Shaad */ 31fc8ec0b8Shaad 32*ba2539a9Schs #include_next <stdlib.h> 33*ba2539a9Schs 34fc8ec0b8Shaad #ifndef _COMPAT_OPENSOLARIS_STDLIB_H_ 35fc8ec0b8Shaad #define _COMPAT_OPENSOLARIS_STDLIB_H_ 36fc8ec0b8Shaad 37fc8ec0b8Shaad #define getexecname getprogname 38fc8ec0b8Shaad 39fc8ec0b8Shaad #endif 40