stdlib.h (ba174a5e38b1ab764c4a36ef4dd83e80c4add148) stdlib.h (2966d28c322dcfa4b9db2558da0b91839e7798b9)
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

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

156 * Extensions made by POSIX relative to C. We don't know yet which edition
157 * of POSIX made these extensions, so assume they've always been there until
158 * research can be done.
159 */
160#if __POSIX_VISIBLE /* >= ??? */
161int posix_memalign(void **, size_t, size_t); /* (ADV) */
162int rand_r(unsigned *); /* (TSF) */
163int setenv(const char *, const char *, int);
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

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

156 * Extensions made by POSIX relative to C. We don't know yet which edition
157 * of POSIX made these extensions, so assume they've always been there until
158 * research can be done.
159 */
160#if __POSIX_VISIBLE /* >= ??? */
161int posix_memalign(void **, size_t, size_t); /* (ADV) */
162int rand_r(unsigned *); /* (TSF) */
163int setenv(const char *, const char *, int);
164void unsetenv(const char *);
164int unsetenv(const char *);
165#endif
166
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 */

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

192#ifndef _MKTEMP_DECLARED
193char *mktemp(char *);
194#define _MKTEMP_DECLARED
195#endif
196long mrand48(void);
197long nrand48(unsigned short[3]);
198int posix_openpt(int);
199char *ptsname(int);
165#endif
166
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 */

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

192#ifndef _MKTEMP_DECLARED
193char *mktemp(char *);
194#define _MKTEMP_DECLARED
195#endif
196long mrand48(void);
197long nrand48(unsigned short[3]);
198int posix_openpt(int);
199char *ptsname(int);
200int putenv(const char *);
200int putenv(char *);
201long random(void);
202char *realpath(const char *, char resolved_path[]);
203unsigned short
204 *seed48(unsigned short[3]);
205#ifndef _SETKEY_DECLARED
206int setkey(const char *);
207#define _SETKEY_DECLARED
208#endif

--- 79 unchanged lines hidden ---
201long random(void);
202char *realpath(const char *, char resolved_path[]);
203unsigned short
204 *seed48(unsigned short[3]);
205#ifndef _SETKEY_DECLARED
206int setkey(const char *);
207#define _SETKEY_DECLARED
208#endif

--- 79 unchanged lines hidden ---