Deleted Added
full compact
libc_private.h (179947) libc_private.h (182225)
1/*
2 * Copyright (c) 1998 John Birrell <jb@cimlogic.com.au>.
3 * 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

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

21 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
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 *
1/*
2 * Copyright (c) 1998 John Birrell <jb@cimlogic.com.au>.
3 * 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

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

21 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
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 * $FreeBSD: head/lib/libc/include/libc_private.h 179947 2008-06-23 05:22:06Z ed $
29 * $FreeBSD: head/lib/libc/include/libc_private.h 182225 2008-08-27 02:00:53Z jasone $
30 *
31 * Private definitions for libc, libc_r and libpthread.
32 *
33 */
34
35#ifndef _LIBC_PRIVATE_H_
36#define _LIBC_PRIVATE_H_
37

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

153
154/*
155 * This is a pointer in the C run-time startup code. It is used
156 * by getprogname() and setprogname().
157 */
158extern const char *__progname;
159
160/*
30 *
31 * Private definitions for libc, libc_r and libpthread.
32 *
33 */
34
35#ifndef _LIBC_PRIVATE_H_
36#define _LIBC_PRIVATE_H_
37

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

153
154/*
155 * This is a pointer in the C run-time startup code. It is used
156 * by getprogname() and setprogname().
157 */
158extern const char *__progname;
159
160/*
161 * This function is used by the threading libraries to notify malloc that a
162 * thread is exiting.
163 */
164void _malloc_thread_cleanup(void);
165
166/*
161 * These functions are used by the threading libraries in order to protect
162 * malloc across fork().
163 */
164void _malloc_prefork(void);
165void _malloc_postfork(void);
166
167/*
168 * Function to clean up streams, called from abort() and exit().

--- 33 unchanged lines hidden ---
167 * These functions are used by the threading libraries in order to protect
168 * malloc across fork().
169 */
170void _malloc_prefork(void);
171void _malloc_postfork(void);
172
173/*
174 * Function to clean up streams, called from abort() and exit().

--- 33 unchanged lines hidden ---