stdlib.h (f48205be61a214698b763ff550ab9e657525104c) stdlib.h (019c3c436f78111e4ecf8382da622143f7b45c6d)
1/*
2 * CDDL HEADER START
3 *
4 * The contents of this file are subject to the terms of the
5 * Common Development and Distribution License (the "License").
6 * You may not use this file except in compliance with the License.
7 *
8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE

--- 4 unchanged lines hidden (view full) ---

13 * When distributing Covered Code, include this CDDL HEADER in each
14 * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 * If applicable, add the following below this CDDL HEADER, with the
16 * fields enclosed by brackets "[]" replaced with your own identifying
17 * information: Portions Copyright [yyyy] [name of copyright owner]
18 *
19 * CDDL HEADER END
20 */
1/*
2 * CDDL HEADER START
3 *
4 * The contents of this file are subject to the terms of the
5 * Common Development and Distribution License (the "License").
6 * You may not use this file except in compliance with the License.
7 *
8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE

--- 4 unchanged lines hidden (view full) ---

13 * When distributing Covered Code, include this CDDL HEADER in each
14 * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 * If applicable, add the following below this CDDL HEADER, with the
16 * fields enclosed by brackets "[]" replaced with your own identifying
17 * information: Portions Copyright [yyyy] [name of copyright owner]
18 *
19 * CDDL HEADER END
20 */
21
21/*
22/*
22 * Copyright 2007 Sun Microsystems, Inc. All rights reserved.
23 * Copyright 2008 Sun Microsystems, Inc. All rights reserved.
23 * Use is subject to license terms.
24 */
25
26/* Copyright (c) 1988 AT&T */
27/* All Rights Reserved */
28
24 * Use is subject to license terms.
25 */
26
27/* Copyright (c) 1988 AT&T */
28/* All Rights Reserved */
29
29
30#ifndef _STDLIB_H
31#define _STDLIB_H
32
33#pragma ident "%Z%%M% %I% %E% SMI" /* SVr4.0 1.22 */
34
35#include <iso/stdlib_iso.h>
36#include <iso/stdlib_c99.h>
37

--- 163 unchanged lines hidden (view full) ---

201extern int ttyslot(void);
202extern void *valloc(size_t);
203#endif /* !defined(_XPG6) || defined(__EXTENSIONS__) */
204#endif /* defined(__EXTENSIONS__) || ... || defined(_XPG4_2) */
205
206#if defined(__EXTENSIONS__) || \
207 (!defined(_STRICT_STDC) && !defined(__XOPEN_OR_POSIX)) || \
208 defined(_XPG6)
30#ifndef _STDLIB_H
31#define _STDLIB_H
32
33#pragma ident "%Z%%M% %I% %E% SMI" /* SVr4.0 1.22 */
34
35#include <iso/stdlib_iso.h>
36#include <iso/stdlib_c99.h>
37

--- 163 unchanged lines hidden (view full) ---

201extern int ttyslot(void);
202extern void *valloc(size_t);
203#endif /* !defined(_XPG6) || defined(__EXTENSIONS__) */
204#endif /* defined(__EXTENSIONS__) || ... || defined(_XPG4_2) */
205
206#if defined(__EXTENSIONS__) || \
207 (!defined(_STRICT_STDC) && !defined(__XOPEN_OR_POSIX)) || \
208 defined(_XPG6)
209extern int posix_memalign(void **, size_t, size_t);
209extern int posix_openpt(int);
210extern int setenv(const char *, const char *, int);
211extern int unsetenv(const char *);
212#endif
213
214#if defined(__EXTENSIONS__) || \
215 (!defined(_STRICT_STDC) && !defined(__XOPEN_OR_POSIX))
216extern void closefrom(int);

--- 86 unchanged lines hidden (view full) ---

303/* Marked LEGACY in SUSv2 and removed in SUSv3 */
304#if !defined(_XPG6) || defined(__EXTENSIONS__)
305extern int ttyslot();
306extern void *valloc();
307#endif /* !defined(_XPG6) || defined(__EXTENSIONS__) */
308#endif /* defined(__EXTENSIONS__) || ... || defined(_XPG4_2) */
309
310#if defined(__EXTENSIONS__) || !defined(__XOPEN_OR_POSIX) || defined(_XPG6)
210extern int posix_openpt(int);
211extern int setenv(const char *, const char *, int);
212extern int unsetenv(const char *);
213#endif
214
215#if defined(__EXTENSIONS__) || \
216 (!defined(_STRICT_STDC) && !defined(__XOPEN_OR_POSIX))
217extern void closefrom(int);

--- 86 unchanged lines hidden (view full) ---

304/* Marked LEGACY in SUSv2 and removed in SUSv3 */
305#if !defined(_XPG6) || defined(__EXTENSIONS__)
306extern int ttyslot();
307extern void *valloc();
308#endif /* !defined(_XPG6) || defined(__EXTENSIONS__) */
309#endif /* defined(__EXTENSIONS__) || ... || defined(_XPG4_2) */
310
311#if defined(__EXTENSIONS__) || !defined(__XOPEN_OR_POSIX) || defined(_XPG6)
312extern int posix_memalign();
311extern int posix_openpt();
312extern int setenv();
313extern int unsetenv();
314#endif
315
316#if defined(__EXTENSIONS__) || !defined(__XOPEN_OR_POSIX)
317extern void closefrom();
318extern int dup2();

--- 31 unchanged lines hidden ---
313extern int posix_openpt();
314extern int setenv();
315extern int unsetenv();
316#endif
317
318#if defined(__EXTENSIONS__) || !defined(__XOPEN_OR_POSIX)
319extern void closefrom();
320extern int dup2();

--- 31 unchanged lines hidden ---