stdlib.h (116833) | stdlib.h (123257) |
---|---|
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 --- 17 unchanged lines hidden (view full) --- 26 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 27 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 31 * SUCH DAMAGE. 32 * 33 * @(#)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 --- 17 unchanged lines hidden (view full) --- 26 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 27 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 31 * SUCH DAMAGE. 32 * 33 * @(#)stdlib.h 8.5 (Berkeley) 5/19/95 |
34 * $FreeBSD: head/include/stdlib.h 116833 2003-06-25 19:06:40Z obrien $ | 34 * $FreeBSD: head/include/stdlib.h 123257 2003-12-07 21:10:06Z marcel $ |
35 */ 36 37#ifndef _STDLIB_H_ 38#define _STDLIB_H_ 39 40#include <sys/cdefs.h> | 35 */ 36 37#ifndef _STDLIB_H_ 38#define _STDLIB_H_ 39 40#include <sys/cdefs.h> |
41#include <sys/_null.h> |
|
41#include <sys/_types.h> 42 43#if __BSD_VISIBLE 44#ifndef _RUNE_T_DECLARED 45typedef __rune_t rune_t; 46#define _RUNE_T_DECLARED 47#endif 48#endif --- 15 unchanged lines hidden (view full) --- 64 int rem; /* remainder */ 65} div_t; 66 67typedef struct { 68 long quot; 69 long rem; 70} ldiv_t; 71 | 42#include <sys/_types.h> 43 44#if __BSD_VISIBLE 45#ifndef _RUNE_T_DECLARED 46typedef __rune_t rune_t; 47#define _RUNE_T_DECLARED 48#endif 49#endif --- 15 unchanged lines hidden (view full) --- 65 int rem; /* remainder */ 66} div_t; 67 68typedef struct { 69 long quot; 70 long rem; 71} ldiv_t; 72 |
72#ifndef NULL 73#define NULL 0 74#endif 75 | |
76#define EXIT_FAILURE 1 77#define EXIT_SUCCESS 0 78 79#define RAND_MAX 0x7fffffff 80 81extern int __mb_cur_max; 82#define MB_CUR_MAX __mb_cur_max 83 --- 203 unchanged lines hidden --- | 73#define EXIT_FAILURE 1 74#define EXIT_SUCCESS 0 75 76#define RAND_MAX 0x7fffffff 77 78extern int __mb_cur_max; 79#define MB_CUR_MAX __mb_cur_max 80 --- 203 unchanged lines hidden --- |