libc_private.h (71579) | libc_private.h (93399) |
---|---|
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 --- 15 unchanged lines hidden (view full) --- 24 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 25 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 26 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 27 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 28 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 29 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 30 * SUCH DAMAGE. 31 * | 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 --- 15 unchanged lines hidden (view full) --- 24 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 25 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 26 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 27 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 28 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 29 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 30 * SUCH DAMAGE. 31 * |
32 * $FreeBSD: head/lib/libc/include/libc_private.h 71579 2001-01-24 13:01:12Z deischen $ | 32 * $FreeBSD: head/lib/libc/include/libc_private.h 93399 2002-03-29 22:43:43Z markm $ |
33 * 34 * Private definitions for libc, libc_r and libpthread. 35 * 36 */ 37 38#ifndef _LIBC_PRIVATE_H_ 39#define _LIBC_PRIVATE_H_ 40 --- 17 unchanged lines hidden (view full) --- 58 59/* 60 * Macros for locking and unlocking FILEs. These test if the 61 * process is threaded to avoid locking when not required. 62 */ 63#define FLOCKFILE(fp) if (__isthreaded) _FLOCKFILE(fp) 64#define FUNLOCKFILE(fp) if (__isthreaded) _funlockfile(fp) 65 | 33 * 34 * Private definitions for libc, libc_r and libpthread. 35 * 36 */ 37 38#ifndef _LIBC_PRIVATE_H_ 39#define _LIBC_PRIVATE_H_ 40 --- 17 unchanged lines hidden (view full) --- 58 59/* 60 * Macros for locking and unlocking FILEs. These test if the 61 * process is threaded to avoid locking when not required. 62 */ 63#define FLOCKFILE(fp) if (__isthreaded) _FLOCKFILE(fp) 64#define FUNLOCKFILE(fp) if (__isthreaded) _funlockfile(fp) 65 |
66/* 67 * This is a pointer in the C run-time startup code. It is used 68 * by getprogname() and setprogname(). 69 */ 70extern const char *__progname; 71 |
|
66#endif /* _LIBC_PRIVATE_H_ */ | 72#endif /* _LIBC_PRIVATE_H_ */ |