stdlib.h (297212) | stdlib.h (302358) |
---|---|
1/*- 2 * Copyright (c) 1990, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 13 unchanged lines hidden (view full) --- 22 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 23 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 24 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 25 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 27 * SUCH DAMAGE. 28 * 29 * @(#)stdlib.h 8.5 (Berkeley) 5/19/95 | 1/*- 2 * Copyright (c) 1990, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 13 unchanged lines hidden (view full) --- 22 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 23 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 24 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 25 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 27 * SUCH DAMAGE. 28 * 29 * @(#)stdlib.h 8.5 (Berkeley) 5/19/95 |
30 * $FreeBSD: head/include/stdlib.h 297212 2016-03-23 19:17:12Z dim $ | 30 * $FreeBSD: head/include/stdlib.h 302358 2016-07-05 22:30:29Z pfg $ |
31 */ 32 33#ifndef _STDLIB_H_ 34#define _STDLIB_H_ 35 36#include <sys/cdefs.h> 37#include <sys/_null.h> 38#include <sys/_types.h> --- 128 unchanged lines hidden (view full) --- 167 */ 168#if __POSIX_VISIBLE >= 199506 || __XSI_VISIBLE 169char *realpath(const char * __restrict, char * __restrict); 170#endif 171#if __POSIX_VISIBLE >= 199506 172int rand_r(unsigned *); /* (TSF) */ 173#endif 174#if __POSIX_VISIBLE >= 200112 | 31 */ 32 33#ifndef _STDLIB_H_ 34#define _STDLIB_H_ 35 36#include <sys/cdefs.h> 37#include <sys/_null.h> 38#include <sys/_types.h> --- 128 unchanged lines hidden (view full) --- 167 */ 168#if __POSIX_VISIBLE >= 199506 || __XSI_VISIBLE 169char *realpath(const char * __restrict, char * __restrict); 170#endif 171#if __POSIX_VISIBLE >= 199506 172int rand_r(unsigned *); /* (TSF) */ 173#endif 174#if __POSIX_VISIBLE >= 200112 |
175int posix_memalign(void **, size_t, size_t) __nonnull(1) __alloc_align(2) 176 __alloc_size(3); /* (ADV) */ | 175int posix_memalign(void **, size_t, size_t) __nonnull(1); /* (ADV) */ |
177int setenv(const char *, const char *, int); 178int unsetenv(const char *); 179#endif 180 181#if __POSIX_VISIBLE >= 200809 || __XSI_VISIBLE 182int getsubopt(char **, char *const *, char **); 183#ifndef _MKDTEMP_DECLARED 184char *mkdtemp(char *); --- 145 unchanged lines hidden --- | 176int setenv(const char *, const char *, int); 177int unsetenv(const char *); 178#endif 179 180#if __POSIX_VISIBLE >= 200809 || __XSI_VISIBLE 181int getsubopt(char **, char *const *, char **); 182#ifndef _MKDTEMP_DECLARED 183char *mkdtemp(char *); --- 145 unchanged lines hidden --- |