Deleted Added
full compact
stdlib.h (153684) stdlib.h (153707)
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 153684 2005-12-23 12:28:10Z phk $
34 * $FreeBSD: head/include/stdlib.h 153707 2005-12-24 22:37:59Z trhodes $
35 */
36
37#ifndef _STDLIB_H_
38#define _STDLIB_H_
39
40#include <sys/cdefs.h>
41#include <sys/_null.h>
42#include <sys/_types.h>

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

167/*
168 * The only changes to the XSI namespace in revision 6 were the deletion
169 * of the ttyslot() and valloc() functions, which FreeBSD never declared
170 * in this header. For revision 7, ecvt(), fcvt(), and gcvt(), which
171 * FreeBSD also does not have, and mktemp(), are to be deleted.
172 */
173#if __XSI_VISIBLE
174/* XXX XSI requires pollution from <sys/wait.h> here. We'd rather not. */
35 */
36
37#ifndef _STDLIB_H_
38#define _STDLIB_H_
39
40#include <sys/cdefs.h>
41#include <sys/_null.h>
42#include <sys/_types.h>

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

167/*
168 * The only changes to the XSI namespace in revision 6 were the deletion
169 * of the ttyslot() and valloc() functions, which FreeBSD never declared
170 * in this header. For revision 7, ecvt(), fcvt(), and gcvt(), which
171 * FreeBSD also does not have, and mktemp(), are to be deleted.
172 */
173#if __XSI_VISIBLE
174/* XXX XSI requires pollution from <sys/wait.h> here. We'd rather not. */
175/* long a64l(const char *); */
175long a64l(const char *);
176double drand48(void);
177/* char *ecvt(double, int, int * __restrict, int * __restrict); */
178double erand48(unsigned short[3]);
179/* char *fcvt(double, int, int * __restrict, int * __restrict); */
180/* char *gcvt(double, int, int * __restrict, int * __restrict); */
181int getsubopt(char **, char *const *, char **);
182int grantpt(int);
183char *initstate(unsigned long /* XSI requires u_int */, char *, long);
184long jrand48(unsigned short[3]);
176double drand48(void);
177/* char *ecvt(double, int, int * __restrict, int * __restrict); */
178double erand48(unsigned short[3]);
179/* char *fcvt(double, int, int * __restrict, int * __restrict); */
180/* char *gcvt(double, int, int * __restrict, int * __restrict); */
181int getsubopt(char **, char *const *, char **);
182int grantpt(int);
183char *initstate(unsigned long /* XSI requires u_int */, char *, long);
184long jrand48(unsigned short[3]);
185/* char *l64a(long); */
185char *l64a(long);
186void lcong48(unsigned short[7]);
187long lrand48(void);
188#ifndef _MKSTEMP_DECLARED
189int mkstemp(char *);
190#define _MKSTEMP_DECLARED
191#endif
192#ifndef _MKTEMP_DECLARED
193char *mktemp(char *);

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

253int daemon(int, int);
254char *devname(__dev_t, __mode_t);
255char *devname_r(__dev_t, __mode_t, char *, int);
256int getloadavg(double [], int);
257__const char *
258 getprogname(void);
259
260int heapsort(void *, size_t, size_t, int (*)(const void *, const void *));
186void lcong48(unsigned short[7]);
187long lrand48(void);
188#ifndef _MKSTEMP_DECLARED
189int mkstemp(char *);
190#define _MKSTEMP_DECLARED
191#endif
192#ifndef _MKTEMP_DECLARED
193char *mktemp(char *);

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

253int daemon(int, int);
254char *devname(__dev_t, __mode_t);
255char *devname_r(__dev_t, __mode_t, char *, int);
256int getloadavg(double [], int);
257__const char *
258 getprogname(void);
259
260int heapsort(void *, size_t, size_t, int (*)(const void *, const void *));
261int l64a_r(long, char *, int);
261int mergesort(void *, size_t, size_t, int (*)(const void *, const void *));
262void qsort_r(void *, size_t, size_t, void *,
263 int (*)(void *, const void *, const void *));
264int radixsort(const unsigned char **, int, const unsigned char *,
265 unsigned);
266void *reallocf(void *, size_t);
267int rpmatch(const char *);
268void setprogname(const char *);

--- 16 unchanged lines hidden ---
262int mergesort(void *, size_t, size_t, int (*)(const void *, const void *));
263void qsort_r(void *, size_t, size_t, void *,
264 int (*)(void *, const void *, const void *));
265int radixsort(const unsigned char **, int, const unsigned char *,
266 unsigned);
267void *reallocf(void *, size_t);
268int rpmatch(const char *);
269void setprogname(const char *);

--- 16 unchanged lines hidden ---