11.7Schristos/* $NetBSD: stdlib.h,v 1.7 2014/06/12 18:50:12 christos Exp $ */ 21.1Schristos 31.1Schristos/*- 41.1Schristos * Copyright (c) 1990, 1993 51.1Schristos * The Regents of the University of California. All rights reserved. 61.1Schristos * 71.1Schristos * Redistribution and use in source and binary forms, with or without 81.1Schristos * modification, are permitted provided that the following conditions 91.1Schristos * are met: 101.1Schristos * 1. Redistributions of source code must retain the above copyright 111.1Schristos * notice, this list of conditions and the following disclaimer. 121.1Schristos * 2. Redistributions in binary form must reproduce the above copyright 131.1Schristos * notice, this list of conditions and the following disclaimer in the 141.1Schristos * documentation and/or other materials provided with the distribution. 151.1Schristos * 3. Neither the name of the University nor the names of its contributors 161.1Schristos * may be used to endorse or promote products derived from this software 171.1Schristos * without specific prior written permission. 181.1Schristos * 191.1Schristos * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 201.1Schristos * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 211.1Schristos * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 221.1Schristos * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 231.1Schristos * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 241.1Schristos * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 251.1Schristos * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 261.1Schristos * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 271.1Schristos * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 281.1Schristos * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 291.1Schristos * SUCH DAMAGE. 301.1Schristos * 311.1Schristos * @(#)stdlib.h 8.5 (Berkeley) 5/19/95 321.1Schristos */ 331.1Schristos 341.1Schristos#ifndef _COMPAT_STDLIB_H_ 351.1Schristos#define _COMPAT_STDLIB_H_ 361.1Schristos 371.1Schristos__BEGIN_DECLS 381.2Schristos 391.1Schristosvoid unsetenv(const char *); 401.1Schristosint __unsetenv13(const char *); 411.5Schristosint putenv(char *); 421.5Schristosint __putenv50(char *); 431.2Schristos__aconst char *devname(int32_t, mode_t); 441.2Schristos__aconst char *__devname50(dev_t, mode_t); 451.6Schristoschar *initstate(unsigned long, char *, size_t); 461.7Schristoschar *__initstate60(unsigned int, char *, size_t); 471.6Schristosvoid srandom(unsigned long); 481.7Schristosvoid __srandom60(unsigned int); 491.2Schristos 501.1Schristos__END_DECLS 511.1Schristos 521.1Schristos#endif /* !_COMPAT_STDLIB_H_ */ 53