1*b27e1354Schristos /* $NetBSD: stdlib.h,v 1.7 2014/06/12 18:50:12 christos Exp $ */ 25b84b398Schristos 35b84b398Schristos /*- 45b84b398Schristos * Copyright (c) 1990, 1993 55b84b398Schristos * The Regents of the University of California. All rights reserved. 65b84b398Schristos * 75b84b398Schristos * Redistribution and use in source and binary forms, with or without 85b84b398Schristos * modification, are permitted provided that the following conditions 95b84b398Schristos * are met: 105b84b398Schristos * 1. Redistributions of source code must retain the above copyright 115b84b398Schristos * notice, this list of conditions and the following disclaimer. 125b84b398Schristos * 2. Redistributions in binary form must reproduce the above copyright 135b84b398Schristos * notice, this list of conditions and the following disclaimer in the 145b84b398Schristos * documentation and/or other materials provided with the distribution. 155b84b398Schristos * 3. Neither the name of the University nor the names of its contributors 165b84b398Schristos * may be used to endorse or promote products derived from this software 175b84b398Schristos * without specific prior written permission. 185b84b398Schristos * 195b84b398Schristos * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 205b84b398Schristos * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 215b84b398Schristos * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 225b84b398Schristos * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 235b84b398Schristos * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 245b84b398Schristos * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 255b84b398Schristos * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 265b84b398Schristos * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 275b84b398Schristos * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 285b84b398Schristos * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 295b84b398Schristos * SUCH DAMAGE. 305b84b398Schristos * 315b84b398Schristos * @(#)stdlib.h 8.5 (Berkeley) 5/19/95 325b84b398Schristos */ 335b84b398Schristos 345b84b398Schristos #ifndef _COMPAT_STDLIB_H_ 355b84b398Schristos #define _COMPAT_STDLIB_H_ 365b84b398Schristos 375b84b398Schristos __BEGIN_DECLS 38461a86f9Schristos 395b84b398Schristos void unsetenv(const char *); 405b84b398Schristos int __unsetenv13(const char *); 410bcf0d6fSchristos int putenv(char *); 420bcf0d6fSchristos int __putenv50(char *); 43461a86f9Schristos __aconst char *devname(int32_t, mode_t); 44461a86f9Schristos __aconst char *__devname50(dev_t, mode_t); 451eb0dcbbSchristos char *initstate(unsigned long, char *, size_t); 46*b27e1354Schristos char *__initstate60(unsigned int, char *, size_t); 471eb0dcbbSchristos void srandom(unsigned long); 48*b27e1354Schristos void __srandom60(unsigned int); 49461a86f9Schristos 505b84b398Schristos __END_DECLS 515b84b398Schristos 525b84b398Schristos #endif /* !_COMPAT_STDLIB_H_ */ 53