Changeset 1506
- Timestamp:
- Sep 15, 2004, 12:27:38 AM (21 years ago)
- Location:
- trunk/src/emx
- Files:
-
- 5 deleted
- 112 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/emx/include/386/setjmp.h
-
Property cvs2svn:cvs-rev
changed from
1.1
to1.2
r1505 r1506 1 /* $Id$ */ 2 /** @file 3 * FreeBSD 5.1 4 * @changed bird: adjusted for LIBC runtime. 5 */ 6 1 7 /*- 2 8 * Copyright (c) 1998 John Birrell <jb@cimlogic.com.au>. … … 33 39 */ 34 40 35 /** @file36 * FreeBSD 5.137 * @changed bird: adjusted for LIBC runtime.38 */39 40 41 #ifndef _MACHINE_SETJMP_H_ 41 42 #define _MACHINE_SETJMP_H_ -
Property cvs2svn:cvs-rev
changed from
-
trunk/src/emx/include/386/stdarg.h
-
Property cvs2svn:cvs-rev
changed from
1.3
to1.4
r1505 r1506 1 /* $Id$ */ 2 /** @file 3 * FreeBSD 5.1 4 * @changed bird: EMXisms. 5 */ 1 6 /*- 2 7 * Copyright (c) 2002 David E. O'Brien. All rights reserved. … … 34 39 * @(#)stdarg.h 8.1 (Berkeley) 6/10/93 35 40 * $FreeBSD: src/sys/i386/include/stdarg.h,v 1.18 2002/11/27 16:28:18 obrien Exp $ 36 */37 38 /** @file39 * FreeBSD 5.140 * @changed bird: EMXisms.41 41 */ 42 42 -
Property cvs2svn:cvs-rev
changed from
-
trunk/src/emx/include/a_out.h
-
Property cvs2svn:cvs-rev
changed from
1.4
to1.5
r1505 r1506 1 /* a_out.h -- changed for emx by Eberhard Mattes -- Sep 1998 */ 1 /* a_out.h,v 1.5 2004/09/14 22:27:31 bird Exp */ 2 /** @file 3 * GNU 4 * @changed For emx by Eberhard Mattes -- Sep 1998 5 */ 2 6 3 7 #ifndef __A_OUT_GNU_H__ -
Property cvs2svn:cvs-rev
changed from
-
trunk/src/emx/include/a_out_stab.h
-
Property cvs2svn:cvs-rev
changed from
1.1
to1.2
r1505 r1506 1 /* a_out_stab.h,v 1.2 2004/09/14 22:27:31 bird Exp */ 2 /** @file 3 * GNU, -liberty. 4 */ 5 1 6 /* Table of DBX symbol codes for the GNU system. 2 7 Copyright 1988, 1991, 1992, 1993, 1994, 1996, 1998 -
Property cvs2svn:cvs-rev
changed from
-
trunk/src/emx/include/alloca.h
-
Property cvs2svn:cvs-rev
changed from
1.1
to1.2
r1505 r1506 1 /* alloca.h (emx+gcc) */ 1 /* alloca.h,v 1.2 2004/09/14 22:27:31 bird Exp */ 2 /** @file 3 * EMX 4 */ 2 5 3 6 #ifndef _ALLOCA_H 4 7 #define _ALLOCA_H 8 9 #include <sys/cdefs.h> 10 #include <stddef.h> 11 12 #undef alloca 13 14 __BEGIN_DECLS 15 void *alloca(size_t); 16 __END_DECLS 5 17 6 18 #if !defined (alloca) -
Property cvs2svn:cvs-rev
changed from
-
trunk/src/emx/include/ansidecl.h
-
Property cvs2svn:cvs-rev
changed from
1.1
to1.2
r1505 r1506 1 /* ansidecl.h,v 1.2 2004/09/14 22:27:31 bird Exp */ 2 /** @file 3 * GNU, -liberty. 4 */ 5 1 6 /* ANSI and traditional C compatability macros 2 7 Copyright 1991, 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 … … 158 163 #define VA_CLOSE(AP) } va_end(AP); } 159 164 #define VA_FIXEDARG(AP, T, N) struct Qdmy 160 165 161 166 #undef const 162 167 #undef volatile -
Property cvs2svn:cvs-rev
changed from
-
trunk/src/emx/include/ar.h
-
Property cvs2svn:cvs-rev
changed from
1.1
to1.2
r1505 r1506 1 /* ar.h (emx+gcc) */ 1 /* ar.h,v 1.2 2004/09/14 22:27:31 bird Exp */ 2 /** @file 3 * FreeBSD 5.2 4 */ 2 5 3 #ifndef _AR_H 4 #define _AR_H 6 /*- 7 * Copyright (c) 1991, 1993 8 * The Regents of the University of California. All rights reserved. 9 * (c) UNIX System Laboratories, Inc. 10 * All or some portions of this file are derived from material licensed 11 * to the University of California by American Telephone and Telegraph 12 * Co. or Unix System Laboratories, Inc. and are reproduced herein with 13 * the permission of UNIX System Laboratories, Inc. 14 * 15 * This code is derived from software contributed to Berkeley by 16 * Hugh Smith at The University of Guelph. 17 * 18 * Redistribution and use in source and binary forms, with or without 19 * modification, are permitted provided that the following conditions 20 * are met: 21 * 1. Redistributions of source code must retain the above copyright 22 * notice, this list of conditions and the following disclaimer. 23 * 2. Redistributions in binary form must reproduce the above copyright 24 * notice, this list of conditions and the following disclaimer in the 25 * documentation and/or other materials provided with the distribution. 26 * 3. All advertising materials mentioning features or use of this software 27 * must display the following acknowledgement: 28 * This product includes software developed by the University of 29 * California, Berkeley and its contributors. 30 * 4. Neither the name of the University nor the names of its contributors 31 * may be used to endorse or promote products derived from this software 32 * without specific prior written permission. 33 * 34 * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 35 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 36 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 37 * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 38 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 39 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 40 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 41 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 42 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 43 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 44 * SUCH DAMAGE. 45 * 46 * @(#)ar.h 8.2 (Berkeley) 1/21/94 47 */ 5 48 6 #define ARMAG "!<arch>\n" 7 #define SARMAG 8 8 #define ARFMAG "`\n" 49 #ifndef _AR_H_ 50 #define _AR_H_ 9 51 10 struct ar_hdr 11 { 12 char ar_name[16]; 13 char ar_date[12]; 14 char ar_uid[6]; 15 char ar_gid[6]; 16 char ar_mode[8]; 17 char ar_size[10]; 18 char ar_fmag[2]; 52 /* Pre-4BSD archives had these magic numbers in them. */ 53 #define OARMAG1 0177555 54 #define OARMAG2 0177545 55 56 #define ARMAG "!<arch>\n" /* ar "magic number" */ 57 #define SARMAG 8 /* strlen(ARMAG); */ 58 59 #define AR_EFMT1 "#1/" /* extended format #1 */ 60 61 struct ar_hdr { 62 char ar_name[16]; /* name */ 63 char ar_date[12]; /* modification time */ 64 char ar_uid[6]; /* user id */ 65 char ar_gid[6]; /* group id */ 66 char ar_mode[8]; /* octal file permissions */ 67 char ar_size[10]; /* size in bytes */ 68 #define ARFMAG "`\n" 69 char ar_fmag[2]; /* consistency check */ 19 70 }; 20 71 21 #endif /* not _AR_H*/72 #endif /* !_AR_H_ */ -
Property cvs2svn:cvs-rev
changed from
-
trunk/src/emx/include/argz.h
-
Property cvs2svn:cvs-rev
changed from
1.2
to1.3
r1505 r1506 1 /* argz.h,v 1.3 2004/09/14 22:27:31 bird Exp */ 2 /** @file 3 * GLIBC v2.3.2 4 */ 5 1 6 /* Routines for dealing with '\0' separated arg vectors. 2 7 Copyright (C) 1995, 96, 97, 98, 99, 2000 Free Software Foundation, Inc. … … 18 23 02111-1307 USA. */ 19 24 20 /** @file21 * GLIBC v2.3.222 */23 25 24 26 #ifndef _ARGZ_H -
Property cvs2svn:cvs-rev
changed from
-
trunk/src/emx/include/assert.h
-
Property cvs2svn:cvs-rev
changed from
1.1
to1.2
r1505 r1506 1 /* assert.h (emx+gcc) */ 1 /* assert.h,v 1.2 2004/09/14 22:27:31 bird Exp */ 2 /** @file 3 * EMX 4 */ 2 5 3 6 #if defined (__cplusplus) -
Property cvs2svn:cvs-rev
changed from
-
trunk/src/emx/include/conio.h
-
Property cvs2svn:cvs-rev
changed from
1.1
to1.2
r1505 r1506 1 /* conio.h (emx+gcc) */ 1 /* conio.h,v 1.2 2004/09/14 22:27:32 bird Exp */ 2 /** @file 3 * EMX 4 */ 2 5 3 6 #ifndef _CONIO_H -
Property cvs2svn:cvs-rev
changed from
-
trunk/src/emx/include/curses.h
-
Property cvs2svn:cvs-rev
changed from
1.1
to1.2
r1505 r1506 1 /* curses.h,v 1.2 2004/09/14 22:27:32 bird Exp */ 2 /** @file 3 * BSD 4 * @see bsd/curses.h 5 */ 6 1 7 #include <bsd/curses.h> -
Property cvs2svn:cvs-rev
changed from
-
trunk/src/emx/include/db.h
-
Property cvs2svn:cvs-rev
changed from
1.4
to1.5
r1505 r1506 1 /* db.h,v 1.5 2004/09/14 22:27:32 bird Exp */ 2 /** @file 3 * FreeBSD 5.1 4 */ 5 1 6 /*- 2 7 * Copyright (c) 1990, 1993, 1994 … … 35 40 */ 36 41 37 /** @file38 * FreeBSD 5.139 */40 41 42 #ifndef _DB_H_ 42 43 #define _DB_H_ -
Property cvs2svn:cvs-rev
changed from
-
trunk/src/emx/include/demangle.h
-
Property cvs2svn:cvs-rev
changed from
1.1
to1.2
r1505 r1506 1 /* demangle.h,v 1.2 2004/09/14 22:27:32 bird Exp */ 2 /** @file 3 * GNU, -liberty. 4 */ 5 1 6 /* Defs for interface to demanglers. 2 7 Copyright 1992, 1993, 1994, 1995, 1996, 1997, 1998, 2000, 2001 3 8 Free Software Foundation, Inc. 4 9 5 10 This program is free software; you can redistribute it and/or modify 6 11 it under the terms of the GNU General Public License as published by … … 120 125 set_cplus_marker_for_demangling PARAMS ((int ch)); 121 126 122 extern enum demangling_styles 127 extern enum demangling_styles 123 128 cplus_demangle_set_style PARAMS ((enum demangling_styles style)); 124 129 125 extern enum demangling_styles 130 extern enum demangling_styles 126 131 cplus_demangle_name_to_style PARAMS ((const char *name)); 127 132 -
Property cvs2svn:cvs-rev
changed from
-
trunk/src/emx/include/dirent.h
-
Property cvs2svn:cvs-rev
changed from
1.3
to1.4
r1505 r1506 1 /* dirent.h,v 1.4 2004/09/14 22:27:32 bird Exp */ 2 /** @file 3 * FreeBSD 5.1 4 * @changes bird: Merged in EMX stuff and internal LIBC stuff. 5 */ 6 1 7 /*- 2 8 * Copyright (c) 1989, 1993 … … 33 39 * @(#)dirent.h 8.2 (Berkeley) 7/28/94 34 40 * $FreeBSD: src/include/dirent.h,v 1.13 2002/09/10 18:12:16 mike Exp $ 35 */36 37 /** @file38 * FreeBSD 5.139 * @changes bird: Merged in EMX stuff and internal LIBC stuff.40 41 */ 41 42 -
Property cvs2svn:cvs-rev
changed from
-
trunk/src/emx/include/dyn-string.h
-
Property cvs2svn:cvs-rev
changed from
1.1
to1.2
r1505 r1506 1 /* dyn-string.h,v 1.2 2004/09/14 22:27:32 bird Exp */ 2 /** @file 3 * GNU, -liberty. 4 */ 5 1 6 /* An abstract string datatype. 2 7 Copyright (C) 1998, 1999, 2000, 2002 Free Software Foundation, Inc. … … 4 9 5 10 This file is part of GCC. 6 11 7 12 GCC is free software; you can redistribute it and/or modify 8 13 it under the terms of the GNU General Public License as published by … … 88 93 extern int dyn_string_append_cstr PARAMS ((dyn_string_t, const char *)); 89 94 extern int dyn_string_append_char PARAMS ((dyn_string_t, int)); 90 extern int dyn_string_substring PARAMS ((dyn_string_t, 95 extern int dyn_string_substring PARAMS ((dyn_string_t, 91 96 dyn_string_t, int, int)); 92 97 extern int dyn_string_eq PARAMS ((dyn_string_t, dyn_string_t)); -
Property cvs2svn:cvs-rev
changed from
-
trunk/src/emx/include/err.h
-
Property cvs2svn:cvs-rev
changed from
1.1
to1.2
r1505 r1506 1 /* err.h,v 1.2 2004/09/14 22:27:32 bird Exp */ 2 /** @file 3 * FreeBSD 5.1 4 */ 5 1 6 /*- 2 7 * Copyright (c) 1993 … … 35 40 */ 36 41 37 /** @file38 * FreeBSD 5.139 */40 41 42 #ifndef _ERR_H_ 42 43 #define _ERR_H_ -
Property cvs2svn:cvs-rev
changed from
-
trunk/src/emx/include/errno.h
-
Property cvs2svn:cvs-rev
changed from
1.1
to1.2
r1505 r1506 1 /* errno.h (emx+gcc) */ 1 /* errno.h,v 1.2 2004/09/14 22:27:32 bird Exp */ 2 /** @file 3 * FreeBSD 5.1 4 * @see sys/errno.h 5 */ 2 6 3 7 #ifndef _ERRNO_H -
Property cvs2svn:cvs-rev
changed from
-
trunk/src/emx/include/error.h
-
Property cvs2svn:cvs-rev
changed from
1.2
to1.3
r1505 r1506 1 /* error.h,v 1.3 2004/09/14 22:27:32 bird Exp */ 2 /** @file 3 * GLIBC v2.3.2 4 */ 5 1 6 /* Declaration for error-reporting function 2 7 Copyright (C) 1995, 1996, 1997 Free Software Foundation, Inc. … … 18 23 Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 19 24 02111-1307 USA. */ 20 21 /** @file22 * GLIBC v2.3.223 */24 25 25 26 #ifndef _ERROR_H -
Property cvs2svn:cvs-rev
changed from
-
trunk/src/emx/include/fcntl.h
-
Property cvs2svn:cvs-rev
changed from
1.1
to1.2
r1505 r1506 1 /* fcntl.h (emx+gcc) */ 1 /* fcntl.h,v 1.2 2004/09/14 22:27:32 bird Exp */ 2 /** @file 3 * EMX 4 * @see sys/fcntl.h 5 */ 6 2 7 3 8 #ifndef _FCNTL_H -
Property cvs2svn:cvs-rev
changed from
-
trunk/src/emx/include/features.h
-
Property cvs2svn:cvs-rev
changed from
1.7
to1.8
r1505 r1506 1 /* Copyright (C) 1991-1993,1995-2000,2001,2002 Free Software Foundation, Inc. 2 This file is part of the GNU C Library. 3 4 The GNU C Library is free software; you can redistribute it and/or 5 modify it under the terms of the GNU Lesser General Public 6 License as published by the Free Software Foundation; either 7 version 2.1 of the License, or (at your option) any later version. 8 9 The GNU C Library is distributed in the hope that it will be useful, 10 but WITHOUT ANY WARRANTY; without even the implied warranty of 11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 Lesser General Public License for more details. 13 14 You should have received a copy of the GNU Lesser General Public 15 License along with the GNU C Library; if not, write to the Free 16 Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 17 02111-1307 USA. */ 18 1 /* features.h,v 1.8 2004/09/14 22:27:32 bird Exp */ 19 2 /** @file 20 3 * GLIBC v2.3.2 … … 29 12 * from bitching. 30 13 */ 14 15 /* Copyright (C) 1991-1993,1995-2000,2001,2002 Free Software Foundation, Inc. 16 This file is part of the GNU C Library. 17 18 The GNU C Library is free software; you can redistribute it and/or 19 modify it under the terms of the GNU Lesser General Public 20 License as published by the Free Software Foundation; either 21 version 2.1 of the License, or (at your option) any later version. 22 23 The GNU C Library is distributed in the hope that it will be useful, 24 but WITHOUT ANY WARRANTY; without even the implied warranty of 25 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 26 Lesser General Public License for more details. 27 28 You should have received a copy of the GNU Lesser General Public 29 License along with the GNU C Library; if not, write to the Free 30 Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 31 02111-1307 USA. */ 31 32 32 33 #ifndef _FEATURES_H -
Property cvs2svn:cvs-rev
changed from
-
trunk/src/emx/include/fibheap.h
-
Property cvs2svn:cvs-rev
changed from
1.1
to1.2
r1505 r1506 1 /* fibheap.h,v 1.2 2004/09/14 22:27:32 bird Exp */ 2 /** @file 3 * GNU, -liberty. 4 */ 5 1 6 /* A Fibonacci heap datatype. 2 7 Copyright 1998, 1999, 2000, 2001 Free Software Foundation, Inc. … … 4 9 5 10 This file is part of GCC. 6 11 7 12 GCC is free software; you can redistribute it and/or modify it 8 13 under the terms of the GNU General Public License as published by … … 34 39 35 40 ExtractMin: O(lg n) amortized. O(n) worst case. 36 DecreaseKey: O(1) amortized. O(lg n) worst case. 37 Insert: O(2) amortized. O(1) actual. 41 DecreaseKey: O(1) amortized. O(lg n) worst case. 42 Insert: O(2) amortized. O(1) actual. 38 43 Union: O(1) amortized. O(1) actual. */ 39 44 -
Property cvs2svn:cvs-rev
changed from
-
trunk/src/emx/include/float.h
-
Property cvs2svn:cvs-rev
changed from
1.4
to1.5
r1505 r1506 1 /* float.h (emx+gcc) 2 * (bird: this file must be used over the one from GCC!) 1 /* float.h,v 1.5 2004/09/14 22:27:33 bird Exp */ 2 /** @file 3 * EMX + GCC 4 * 5 * @remark Must be used instead of the GCC one. 3 6 */ 4 7 … … 6 9 #define _FLOAT_H 7 10 8 #if defined (__cplusplus) 9 extern "C" { 10 #endif 11 #include <sys/cdefs.h> 12 11 13 12 14 #define FLT_RADIX 2 /* b */ … … 117 119 #define SW_STACKOVERFLOW 0x0200 118 120 121 __BEGIN_DECLS 119 122 unsigned _clear87 (void); 120 123 unsigned _control87 (unsigned, unsigned); 121 124 void _fpreset (void); 122 125 unsigned _status87 (void); 126 __END_DECLS 123 127 124 128 #endif /* !defined (_OMIT_387_STUFF) */ 125 129 #endif 126 130 127 128 #if defined (__cplusplus)129 }130 #endif131 132 131 #endif /* not _FLOAT_H */ -
Property cvs2svn:cvs-rev
changed from
-
trunk/src/emx/include/floatformat.h
-
Property cvs2svn:cvs-rev
changed from
1.1
to1.2
r1505 r1506 1 /* floatformat.h,v 1.2 2004/09/14 22:27:33 bird Exp */ 2 /** @file 3 * GNU, -liberty. 4 */ 5 1 6 /* IEEE floating point support declarations, for GDB, the GNU Debugger. 2 7 Copyright 1991, 1994, 1995, 1997, 2000 Free Software Foundation, Inc. -
Property cvs2svn:cvs-rev
changed from
-
trunk/src/emx/include/fnmatch.h
-
Property cvs2svn:cvs-rev
changed from
1.2
to1.3
r1505 r1506 1 /* fnmatch.h,v 1.3 2004/09/14 22:27:33 bird Exp */ 2 /** @file 3 * GNU, -liberty. 4 * @todo Update the fnmatch code in LIBC to match this file. 5 */ 6 1 7 /* Copyright 1991, 1992, 1993, 1996 Free Software Foundation, Inc. 2 8 -
Property cvs2svn:cvs-rev
changed from
-
trunk/src/emx/include/ftw.h
-
Property cvs2svn:cvs-rev
changed from
1.1
to1.2
r1505 r1506 1 /* ftw.h (emx+gcc) */ 1 /* $Id: */ 2 /** @file 3 * EMX 4 */ 2 5 3 6 #ifndef _FTW_H -
Property cvs2svn:cvs-rev
changed from
-
trunk/src/emx/include/getopt.h
-
Property cvs2svn:cvs-rev
changed from
1.5
to1.6
r1505 r1506 1 /* getopt.h,v 1.6 2004/09/14 22:27:33 bird Exp */ 2 /** @file 3 * FreeBSD 5.1 4 * @changed bird: Added two GNU apis for libiberty. 5 */ 6 1 7 /* $NetBSD: getopt.h,v 1.4 2000/07/07 10:43:54 ad Exp $ */ 2 8 /* $FreeBSD: src/include/getopt.h,v 1.1 2002/09/29 04:14:30 eric Exp $ */ … … 38 44 */ 39 45 40 /** @file41 * FreeBSD 5.142 * @changed bird: Added two GNU apis for libiberty.43 */44 46 45 47 #ifndef _GETOPT_H_ -
Property cvs2svn:cvs-rev
changed from
-
trunk/src/emx/include/glob.h
-
Property cvs2svn:cvs-rev
changed from
1.2
to1.3
r1505 r1506 1 /* glob.h,v 1.3 2004/09/14 22:27:33 bird Exp */ 2 /** @file 3 * FreeBSD 5.1 4 */ 5 1 6 /* 2 7 * Copyright (c) 1989, 1993 … … 36 41 * @(#)glob.h 8.1 (Berkeley) 6/2/93 37 42 * $FreeBSD: src/include/glob.h,v 1.7 2002/07/17 04:58:09 mikeh Exp $ 38 */39 40 /** @file41 * FreeBSD 5.142 43 */ 43 44 -
Property cvs2svn:cvs-rev
changed from
-
trunk/src/emx/include/gmon.h
-
Property cvs2svn:cvs-rev
changed from
1.1
to1.2
r1505 r1506 1 /* gmon.h,v 1.2 2004/09/14 22:27:33 bird Exp */ 2 /** @file 3 * BSD 4 */ 1 5 /*- 2 6 * Copyright (c) 1991 The Regents of the University of California. … … 70 74 * calls $0,(r0) 71 75 * 72 * which is separated by only three bytes, thus HASHFRACTION is 76 * which is separated by only three bytes, thus HASHFRACTION is 73 77 * calculated as: 74 78 * -
Property cvs2svn:cvs-rev
changed from
-
trunk/src/emx/include/gnu/termcap.h
-
Property cvs2svn:cvs-rev
changed from
1.1
to1.2
r1505 r1506 1 /* $Id: $ */ 2 /** @file 3 * GNU. 4 */ 1 5 /* Declarations for termcap library. 2 6 Copyright (C) 1991, 1992 Free Software Foundation, Inc. -
Property cvs2svn:cvs-rev
changed from
-
trunk/src/emx/include/grp.h
-
Property cvs2svn:cvs-rev
changed from
1.2
to1.3
r1505 r1506 1 /* grp.h (emx+gcc) */ 1 /* grp.h,v 1.3 2004/09/14 22:27:33 bird Exp */ 2 /** @file 3 * FreeBSD 5.2 4 * @changed bird: path 5 */ 6 7 /*- 8 * Copyright (c) 1989, 1993 9 * The Regents of the University of California. All rights reserved. 10 * (c) UNIX System Laboratories, Inc. 11 * All or some portions of this file are derived from material licensed 12 * to the University of California by American Telephone and Telegraph 13 * Co. or Unix System Laboratories, Inc. and are reproduced herein with 14 * the permission of UNIX System Laboratories, Inc. 15 * 16 * Redistribution and use in source and binary forms, with or without 17 * modification, are permitted provided that the following conditions 18 * are met: 19 * 1. Redistributions of source code must retain the above copyright 20 * notice, this list of conditions and the following disclaimer. 21 * 2. Redistributions in binary form must reproduce the above copyright 22 * notice, this list of conditions and the following disclaimer in the 23 * documentation and/or other materials provided with the distribution. 24 * 3. All advertising materials mentioning features or use of this software 25 * must display the following acknowledgement: 26 * This product includes software developed by the University of 27 * California, Berkeley and its contributors. 28 * 4. Neither the name of the University nor the names of its contributors 29 * may be used to endorse or promote products derived from this software 30 * without specific prior written permission. 31 * 32 * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 33 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 34 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 35 * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 36 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 37 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 38 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 39 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 40 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 41 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 42 * SUCH DAMAGE. 43 * 44 * @(#)grp.h 8.2 (Berkeley) 1/21/94 45 * $FreeBSD: src/include/grp.h,v 1.18 2003/04/17 14:15:25 nectar Exp $ 46 */ 2 47 3 48 #ifndef _GRP_H_ 4 #define _GRP_H_ 5 #define _GRP_H 49 #define _GRP_H_ 6 50 7 51 #include <sys/cdefs.h> 8 52 #include <sys/_types.h> 9 53 10 __BEGIN_DECLS 54 #define _PATH_GROUP "/@unixroot/etc/group" 11 55 12 #ifndef _POSIX_SOURCE 13 #define _PATH_GROUP "/etc/group" 56 #if !defined(_GID_T_DECLARED) && !defined(_GID_T) /* bird */ 57 typedef __gid_t gid_t; 58 #define _GID_T_DECLARED 59 #define _GID_T /* bird */ 14 60 #endif 15 61 16 #if !defined(_ GID_T_DECLARED) && !defined(_GID_T)17 typedef __gid_t gid_t;18 #define _GID_T_DECLARED19 #define _GID_T62 #if !defined(_SIZE_T_DECLARED) && !defined(_SIZE_T) /* bird */ 63 typedef __size_t size_t; 64 #define _SIZE_T_DECLARED 65 #define _SIZE_T /* bird */ 20 66 #endif 21 67 22 #if !defined(_SIZE_T_DECLARED) && !defined(_SIZE_T) 23 typedef __size_t size_t; 24 #define _SIZE_T_DECLARED 25 #define _SIZE_T 26 #endif 27 28 29 struct group 30 { 31 char *gr_name; 32 char *gr_passwd; 33 gid_t gr_gid; 34 char **gr_mem; 68 struct group { 69 char *gr_name; /* group name */ 70 char *gr_passwd; /* group password */ 71 gid_t gr_gid; /* group id */ 72 char **gr_mem; /* group members */ 35 73 }; 36 74 37 struct group *getgrgid (gid_t); 38 struct group *getgrnam (const char *); 39 75 __BEGIN_DECLS 40 76 #if __BSD_VISIBLE || __POSIX_VISIBLE >= 200112 || __XSI_VISIBLE 41 struct group *getgrent(void); 42 int setgrent(void); 43 void endgrent(void); 44 void setgrfile(const char *); 45 int setgroupent(int); 46 int getgrgid_r(gid_t, struct group *, char *, size_t, struct group **); 47 int getgrnam_r(const char *, struct group *, char *, size_t, struct group **); 77 void endgrent(void); 78 struct group *getgrent(void); 48 79 #endif 49 80 struct group *getgrgid(gid_t); 81 struct group *getgrnam(const char *); 50 82 #if __BSD_VISIBLE 51 const char *group_from_gid(gid_t, int); 52 int getgrent_r(struct group *, char *, size_t, struct group **); 53 int setgroupent(int); 83 const char *group_from_gid(gid_t, int); 54 84 #endif 55 85 #if __BSD_VISIBLE || __POSIX_VISIBLE >= 200112 || __XSI_VISIBLE 86 /* XXX IEEE Std 1003.1, 2003 specifies `void setgrent(void)' */ 87 int setgrent(void); 88 int getgrgid_r(gid_t, struct group *, char *, size_t, 89 struct group **); 90 int getgrnam_r(const char *, struct group *, char *, size_t, 91 struct group **); 92 #endif 93 #if __BSD_VISIBLE 94 int getgrent_r(struct group *, char *, size_t, struct group **); 95 int setgroupent(int); 96 #endif 56 97 __END_DECLS 57 98 58 #endif /* not_GRP_H_ */99 #endif /* !_GRP_H_ */ -
Property cvs2svn:cvs-rev
changed from
-
trunk/src/emx/include/hashtab.h
-
Property cvs2svn:cvs-rev
changed from
1.1
to1.2
r1505 r1506 1 /* An expandable hash tables datatype. 1 /* hashtab.h,v 1.2 2004/09/14 22:27:33 bird Exp */ 2 /** @file 3 * GNU, -liberty. 4 */ 5 6 /* An expandable hash tables datatype. 2 7 Copyright (C) 1999, 2000 Free Software Foundation, Inc. 3 8 Contributed by Vladimir Makarov (vmakarov@cygnus.com). … … 57 62 the hash table. */ 58 63 typedef void (*htab_del) PARAMS ((void *)); 59 64 60 65 /* Function called by htab_traverse for each live element. The first 61 66 arg is the slot of the element (which can be passed to htab_clear_slot -
Property cvs2svn:cvs-rev
changed from
-
trunk/src/emx/include/iconv.h
-
Property cvs2svn:cvs-rev
changed from
1.1
to1.2
r1505 r1506 1 /* iconv.h,v 1.2 2004/09/14 22:27:33 bird Exp */ 2 /** @file 3 * IGCC 4 */ 1 5 /* OS/2 iconv() implementation through OS/2 Unicode API 2 6 Copyright (C) 2001 Free Software Foundation, Inc. -
Property cvs2svn:cvs-rev
changed from
-
trunk/src/emx/include/ieee.h
-
Property cvs2svn:cvs-rev
changed from
1.1
to1.2
r1505 r1506 1 /* ieee.h */ 1 /* ieee.h,v 1.2 2004/09/14 22:27:33 bird Exp */ 2 /** @file 3 * EMX 4 */ 2 5 3 6 #define _IEEE 1 -
Property cvs2svn:cvs-rev
changed from
-
trunk/src/emx/include/inttypes.h
-
Property cvs2svn:cvs-rev
changed from
1.2
to1.3
r1505 r1506 1 /* inttypes.h,v 1.3 2004/09/14 22:27:33 bird Exp */ 2 /** @file 3 * FreeBSD 5.1 4 * 5 * @todo Implement all the functions in this header. 6 */ 7 1 8 /*- 2 9 * Copyright (c) 2001 Mike Barcroft <mike@FreeBSD.org> … … 27 34 */ 28 35 29 /** @file30 * FreeBSD 5.131 *32 * @todo Implement all the functions in this header.33 */34 35 36 #ifndef _INTTYPES_H_ 36 37 #define _INTTYPES_H_ -
Property cvs2svn:cvs-rev
changed from
-
trunk/src/emx/include/io.h
-
Property cvs2svn:cvs-rev
changed from
1.9
to1.10
r1505 r1506 1 /* io.h (emx+gcc) */ 1 /* io.h,v 1.10 2004/09/14 22:27:33 bird Exp */ 2 /** @file 3 * EMX 4 */ 2 5 3 6 #ifndef _IO_H -
Property cvs2svn:cvs-rev
changed from
-
trunk/src/emx/include/iso646.h
-
Property cvs2svn:cvs-rev
changed from
1.1
to1.2
r1505 r1506 1 /* iso646.h */ 1 /* iso646.h,v 1.2 2004/09/14 22:27:33 bird Exp */ 2 /** @file 3 * FreeBSD 5.2 4 */ 2 5 3 #if !defined (__cplusplus) 6 /*- 7 * Copyright (c) 1998 Alex Nash 8 * All rights reserved. 9 * 10 * Redistribution and use in source and binary forms, with or without 11 * modification, are permitted provided that the following conditions 12 * are met: 13 * 1. Redistributions of source code must retain the above copyright 14 * notice, this list of conditions and the following disclaimer. 15 * 2. Redistributions in binary form must reproduce the above copyright 16 * notice, this list of conditions and the following disclaimer in the 17 * documentation and/or other materials provided with the distribution. 18 * 19 * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 20 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 21 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 22 * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 23 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 24 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 25 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 26 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 27 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 28 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 29 * SUCH DAMAGE. 30 * 31 * $FreeBSD: src/include/iso646.h,v 1.4 2002/09/18 22:23:59 mike Exp $ 32 */ 4 33 5 #define and && 6 #define and_eq &= 7 #define bitand & 8 #define bitor | 9 #define compl ~ 10 #define not ! 11 #define not_eq != 12 #define or || 13 #define or_eq |= 14 #define xor ^ 15 #define xor_eq ^= 34 #ifndef _ISO646_H_ 35 #define _ISO646_H_ 16 36 17 #endif 37 #define and && 38 #define and_eq &= 39 #define bitand & 40 #define bitor | 41 #define compl ~ 42 #define not ! 43 #define not_eq != 44 #define or || 45 #define or_eq |= 46 #define xor ^ 47 #define xor_eq ^= 48 49 #endif /* !_ISO646_H_ */ -
Property cvs2svn:cvs-rev
changed from
-
trunk/src/emx/include/libgen.h
-
Property cvs2svn:cvs-rev
changed from
1.1
to1.2
r1505 r1506 1 #ifndef _LIBGEN_H 2 #define _LIBGEN_H 1 /* libgen.h,v 1.2 2004/09/14 22:27:33 bird Exp */ 2 /** @file 3 * FreeBSD 5.2 4 */ 3 5 4 #if defined (__cplusplus) 5 extern "C" { 6 /* $OpenBSD: libgen.h,v 1.4 1999/05/28 22:00:22 espie Exp $ */ 7 /* $FreeBSD: src/include/libgen.h,v 1.2 2002/03/23 17:24:53 imp Exp $ */ 8 9 /* 10 * Copyright (c) 1997 Todd C. Miller <Todd.Miller@courtesan.com> 11 * All rights reserved. 12 * 13 * Redistribution and use in source and binary forms, with or without 14 * modification, are permitted provided that the following conditions 15 * are met: 16 * 1. Redistributions of source code must retain the above copyright 17 * notice, this list of conditions and the following disclaimer. 18 * 2. Redistributions in binary form must reproduce the above copyright 19 * notice, this list of conditions and the following disclaimer in the 20 * documentation and/or other materials provided with the distribution. 21 * 3. The name of the author may not be used to endorse or promote products 22 * derived from this software without specific prior written permission. 23 * 24 * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, 25 * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY 26 * AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL 27 * THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 28 * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 29 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; 30 * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 31 * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 32 * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF 33 * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 34 */ 35 36 #ifndef _LIBGEN_H_ 37 #define _LIBGEN_H_ 38 39 #include <sys/cdefs.h> 40 41 __BEGIN_DECLS 42 43 char *basename(const char *); 44 char *dirname(const char *); 45 #if 0 46 char *regcmp(const char *, ...); 47 char *regex(const char *, const char *, ...); 48 49 extern char *__loc1; 6 50 #endif 7 51 8 /* Return directory part of PATH or "." if none is available. */ 9 extern char *dirname (char *pathname); 52 __END_DECLS 10 53 11 /* Return final component of PATH. */ 12 #undef basename 13 extern char *basename (char *pathname); 14 15 #if defined (__cplusplus) 16 } 17 #endif 18 19 #endif /* libgen.h */ 54 #endif /* _LIBGEN_H_ */ -
Property cvs2svn:cvs-rev
changed from
-
trunk/src/emx/include/libiberty.h
-
Property cvs2svn:cvs-rev
changed from
1.1
to1.2
r1505 r1506 1 /* libiberty.h,v 1.2 2004/09/14 22:27:33 bird Exp */ 2 /** @file 3 * GNU, -liberty. 4 */ 5 1 6 /* Function declarations for libiberty. 2 7 3 8 Copyright 2001, 2002 Free Software Foundation, Inc. 4 9 5 10 Note - certain prototypes declared in this header file are for 6 11 functions whoes implementation copyright does not belong to the … … 24 29 Foundation, Inc., 59 Temple Place - Suite 330, 25 30 Boston, MA 02111-1307, USA. 26 31 27 32 Written by Cygnus Support, 1994. 28 33 -
Property cvs2svn:cvs-rev
changed from
-
trunk/src/emx/include/limits.h
-
Property cvs2svn:cvs-rev
changed from
1.2
to1.3
r1505 r1506 1 /* limits.h,v 1.3 2004/09/14 22:27:34 bird Exp */ 2 /** @file 3 * FreeBSD 5.1 4 * @changed bird: made some minor adjustments. 5 * @remark Most of the values here aren't really absolute maximum values. 6 * Take care to check the specification before changing anything. 7 * @todo Review and make adjustments. 8 */ 9 1 10 /*- 2 11 * Copyright (c) 1988, 1993 … … 33 42 * @(#)limits.h 8.2 (Berkeley) 1/4/94 34 43 * $FreeBSD: src/include/limits.h,v 1.16 2003/04/29 13:35:58 kan Exp $ 35 */36 37 /** @file38 * FreeBSD 5.139 * @changed bird: made some minor adjustments.40 * @remark Most of the values here aren't really absolute maximum values.41 * Take care to check the specification before changing anything.42 * @todo Review and make adjustments.43 44 */ 44 45 -
Property cvs2svn:cvs-rev
changed from
-
trunk/src/emx/include/locale.h
-
Property cvs2svn:cvs-rev
changed from
1.3
to1.4
r1505 r1506 1 /* $Id; $ */ 2 /** @file 3 * FreeBSD 5.1 4 * @changed bird: removed unsupported values and added comments to lconv. 5 * @changed bird: Changed the LC_* values to match those unidef.h sets. 6 */ 7 1 8 /* 2 9 * Copyright (c) 1991, 1993 … … 33 40 * @(#)locale.h 8.1 (Berkeley) 6/2/93 34 41 * $FreeBSD: src/include/locale.h,v 1.7 2002/10/09 09:19:27 tjr Exp $ 35 */36 37 /** @file38 * FreeBSD 5.139 * @changed bird: removed unsupported values and added comments to lconv.40 * @changed bird: Changed the LC_* values to match those unidef.h sets.41 42 */ 42 43 -
Property cvs2svn:cvs-rev
changed from
-
trunk/src/emx/include/malloc.h
-
Property cvs2svn:cvs-rev
changed from
1.6
to1.7
r1505 r1506 1 /* malloc.h (emx+gcc) */ 1 /* malloc.h,v 1.7 2004/09/14 22:27:34 bird Exp */ 2 /** @file 3 * EMX 4 * @todo Merge with stdlib.h. 5 */ 2 6 3 7 #ifndef _MALLOC_H -
Property cvs2svn:cvs-rev
changed from
-
trunk/src/emx/include/math.h
-
Property cvs2svn:cvs-rev
changed from
1.4
to1.5
r1505 r1506 1 /* math.h (emx+gcc) */ 1 /* math.h,v 1.5 2004/09/14 22:27:34 bird Exp */ 2 /** @file 3 * EMX 4 * @todo This needs C99 attention! 5 */ 2 6 3 7 #ifndef _MATH_H -
Property cvs2svn:cvs-rev
changed from
-
trunk/src/emx/include/md5.h
-
Property cvs2svn:cvs-rev
changed from
1.1
to1.2
r1505 r1506 1 /* md5.h,v 1.2 2004/09/14 22:27:34 bird Exp */ 2 /** @file 3 * GNU, -liberty. 4 */ 5 1 6 /* md5.h - Declaration of functions and data types used for MD5 sum 2 7 computing library functions. -
Property cvs2svn:cvs-rev
changed from
-
trunk/src/emx/include/memory.h
-
Property cvs2svn:cvs-rev
changed from
1.2
to1.3
r1505 r1506 1 /* memory.h,v 1.3 2004/09/14 22:27:34 bird Exp */ 2 /** @file 3 * FreeBSD 5.1 4 */ 5 1 6 /* 2 7 * Copyright (c) 1988, 1993 … … 34 39 */ 35 40 36 /** @file37 * FreeBSD 5.138 */39 40 41 #include <string.h> 41 42 -
Property cvs2svn:cvs-rev
changed from
-
trunk/src/emx/include/mpool.h
-
Property cvs2svn:cvs-rev
changed from
1.1
to1.2
r1505 r1506 1 /* mpool.h,v 1.2 2004/09/14 22:27:34 bird Exp */ 2 /** @file 3 * FreeBSD 5.1 4 */ 5 1 6 /*- 2 7 * Copyright (c) 1991, 1993, 1994 … … 33 38 * @(#)mpool.h 8.2 (Berkeley) 7/14/94 34 39 * $FreeBSD: src/include/mpool.h,v 1.9 2002/03/23 17:24:53 imp Exp $ 35 */36 37 /** @file38 * FreeBSD 5.139 40 */ 40 41 -
Property cvs2svn:cvs-rev
changed from
-
trunk/src/emx/include/ndbm.h
-
Property cvs2svn:cvs-rev
changed from
1.1
to1.2
r1505 r1506 1 /* ndbm.h,v 1.2 2004/09/14 22:27:34 bird Exp */ 2 /** @file 3 * FreeBSD 5.1 4 */ 5 1 6 /*- 2 7 * Copyright (c) 1990, 1993 … … 36 41 * @(#)ndbm.h 8.1 (Berkeley) 6/2/93 37 42 * $FreeBSD: src/include/ndbm.h,v 1.4 2002/03/23 17:24:53 imp Exp $ 38 */39 40 /** @file41 * FreeBSD 5.142 43 */ 43 44 -
Property cvs2svn:cvs-rev
changed from
-
trunk/src/emx/include/netdb.h
-
Property cvs2svn:cvs-rev
changed from
1.7
to1.8
r1505 r1506 1 /*- Modified for emx by hv and em 1994-1997 2 *- Modified for gcc by bird 2003 1 /* netdb.h,v 1.8 2004/09/14 22:27:34 bird Exp */ 2 /** @file 3 * BSD 4 * 5 * @changed Modified for emx by hv and em 1994-1997 6 * @changed Modified for gcc by bird 2003 7 */ 8 9 /* netdb.h,v 1.8 2004/09/14 22:27:34 bird Exp */ 10 /*- 3 11 * 4 12 * Copyright (c) 1980, 1983, 1988 Regents of the University of California. … … 34 42 * 35 43 * from: @(#)netdb.h 5.15 (Berkeley) 4/3/91 36 * netdb.h,v 1. 7 2004/09/12 19:40:25bird Exp44 * netdb.h,v 1.8 2004/09/14 22:27:34 bird Exp 37 45 */ 38 46 … … 64 72 65 73 66 #define _PATH_HEQUIV "/ mptn/etc/hosts.equiv"67 #define _PATH_HOSTS "/ mptn/etc/hosts"68 #define _PATH_NETWORKS "/ mptn/etc/networks"69 #define _PATH_PROTOCOLS "/ mptn/etc/protocols"70 #define _PATH_SERVICES "/ mptn/etc/services"74 #define _PATH_HEQUIV "/@unixroot/etc/hosts.equiv" 75 #define _PATH_HOSTS "/@unixroot/etc/hosts" 76 #define _PATH_NETWORKS "/@unixroot/etc/networks" 77 #define _PATH_PROTOCOLS "/@unixroot/etc/protocols" 78 #define _PATH_SERVICES "/@unixroot/etc/services" 71 79 72 80 #ifdef TCPV40HDRS -
Property cvs2svn:cvs-rev
changed from
-
trunk/src/emx/include/nl_types.h
-
Property cvs2svn:cvs-rev
changed from
1.1
to1.2
r1505 r1506 1 /* nl_types.h,v 1.2 2004/09/14 22:27:34 bird Exp */ 2 /** @file 3 * FreeBSD 5.1 4 */ 5 1 6 /*- 2 7 * Copyright 1990, by Alfalfa Software Incorporated, Cambridge, Massachusetts. -
Property cvs2svn:cvs-rev
changed from
-
trunk/src/emx/include/nss.h
-
Property cvs2svn:cvs-rev
changed from
1.1
to1.2
r1505 r1506 1 /* nss.h,v 1.2 2004/09/14 22:27:34 bird Exp */ 2 /** @file 3 * FreeBSD 5.2 4 */ 5 1 6 /*- 2 7 * Copyright (c) 2003 Networks Associates Technology, Inc. -
Property cvs2svn:cvs-rev
changed from
-
trunk/src/emx/include/nsswitch.h
-
Property cvs2svn:cvs-rev
changed from
1.1
to1.2
r1505 r1506 1 /* nsswitch.h,v 1.2 2004/09/14 22:27:34 bird Exp */ 2 /** @file 3 * FreeBSD 5.2 4 */ 5 1 6 /* $NetBSD: nsswitch.h,v 1.6 1999/01/26 01:04:07 lukem Exp $ */ 2 7 /* $FreeBSD: src/include/nsswitch.h,v 1.3 2003/04/17 14:14:21 nectar Exp $ */ … … 47 52 48 53 #ifndef _PATH_NS_CONF 49 #define _PATH_NS_CONF "/ etc/nsswitch.conf"54 #define _PATH_NS_CONF "/@unixroot/etc/nsswitch.conf" 50 55 #endif 51 56 … … 104 109 /* 105 110 * ns_dtab `method' function signature. 106 */ 111 */ 107 112 typedef int (*nss_method)(void *_retval, void *_mdata, va_list _ap); 108 113 … … 130 135 #define NS_FILES_CB(F,C) { NSSRC_FILES, F, C }, 131 136 #define NS_COMPAT_CB(F,C) { NSSRC_COMPAT, F, C }, 132 137 133 138 #ifdef HESIOD 134 139 # define NS_DNS_CB(F,C) { NSSRC_DNS, F, C }, … … 183 188 nss_module_unregister_fn *); 184 189 185 /* 190 /* 186 191 * Many NSS interfaces follow the getXXnam, getXXid, getXXent pattern. 187 192 * Developers are encouraged to use nss_lookup_type where approriate. -
Property cvs2svn:cvs-rev
changed from
-
trunk/src/emx/include/objalloc.h
-
Property cvs2svn:cvs-rev
changed from
1.1
to1.2
r1505 r1506 1 /* objalloc.h,v 1.2 2004/09/14 22:27:34 bird Exp */ 2 /** @file 3 * GNU, -liberty. 4 */ 5 1 6 /* objalloc.h -- routines to allocate memory for objects 2 7 Copyright 1997, 2001 Free Software Foundation, Inc. -
Property cvs2svn:cvs-rev
changed from
-
trunk/src/emx/include/obstack.h
-
Property cvs2svn:cvs-rev
changed from
1.1
to1.2
r1505 r1506 1 /* obstack.h,v 1.2 2004/09/14 22:27:34 bird Exp */ 2 /** @file 3 * GNU, -liberty. 4 */ 5 1 6 /* obstack.h - object stack macros 2 7 Copyright 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1996, 1997, 1998, -
Property cvs2svn:cvs-rev
changed from
-
trunk/src/emx/include/os2.h
-
Property cvs2svn:cvs-rev
changed from
1.2
to1.3
r1505 r1506 1 /* os2.h (emx+gcc) */ 1 /* os2.h,v 1.3 2004/09/14 22:27:35 bird Exp */ 2 /** @file 3 * EMX 4 */ 2 5 3 6 #ifndef _OS2_H -
Property cvs2svn:cvs-rev
changed from
-
trunk/src/emx/include/os2emx.h
-
Property cvs2svn:cvs-rev
changed from
1.18
to1.19
r1505 r1506 1 /* os2emx.h (emx+gcc) */ 1 /* os2emx.h,v 1.19 2004/09/14 22:27:35 bird Exp */ 2 /** @file 3 * EMX 4 */ 2 5 3 6 #ifndef _OS2EMX_H -
Property cvs2svn:cvs-rev
changed from
-
trunk/src/emx/include/os2thunk.h
-
Property cvs2svn:cvs-rev
changed from
1.3
to1.4
r1505 r1506 1 /* os2thunk.h (emx+gcc) */ 1 /* os2thunk.h,v 1.4 2004/09/14 22:27:35 bird Exp */ 2 /** @file 3 * EMX 4 */ 2 5 3 6 #ifndef _OS2THUNK_H 4 7 #define _OS2THUNK_H 8 9 #include <sys/cdefs.h> 10 11 __BEGIN_DECLS 5 12 6 13 typedef unsigned long _far16ptr; … … 61 68 #define _THUNK_PTR_STRUCT_OK(ptr) _THUNK_PTR_SIZE_OK ((ptr), sizeof (*(ptr))) 62 69 70 __END_DECLS 71 63 72 #endif /* not _OS2THUNK_H */ -
Property cvs2svn:cvs-rev
changed from
-
trunk/src/emx/include/os2tk.h
-
Property cvs2svn:cvs-rev
changed from
1.1
to1.2
r1505 r1506 1 /* os2tk.h (emx+gcc) */ 1 /* os2tk.h,v 1.2 2004/09/14 22:27:35 bird Exp */ 2 /** @file 3 * EMX 4 */ 2 5 3 6 #ifndef __OS2_H__ -
Property cvs2svn:cvs-rev
changed from
-
trunk/src/emx/include/partition.h
-
Property cvs2svn:cvs-rev
changed from
1.2
to1.3
r1505 r1506 1 /* partition.h,v 1.3 2004/09/14 22:27:35 bird Exp */ 2 /** @file 3 * GNU, -liberty. 4 */ 5 1 6 /* List implementation of a partition of consecutive integers. 2 7 Copyright (C) 2000, 2001 Free Software Foundation, Inc. -
Property cvs2svn:cvs-rev
changed from
-
trunk/src/emx/include/paths.h
-
Property cvs2svn:cvs-rev
changed from
1.1
to1.2
r1505 r1506 1 /* paths.h,v 1.2 2004/09/14 22:27:35 bird Exp */ 2 /** @file 3 * FreeBSD 5.2 4 * @changed bird: /@unixroot 5 */ 6 1 7 /* 2 8 * Copyright (c) 1989, 1993 … … 41 47 42 48 /* Default search path. */ 43 #define _PATH_DEFPATH "/ usr/bin:/bin"49 #define _PATH_DEFPATH "/@unixroot/usr/bin:/@unixroot/bin" 44 50 /* All standard utilities path. */ 45 51 #define _PATH_STDPATH \ 46 "/ usr/bin:/bin:/usr/sbin:/sbin:"52 "/@unixroot/usr/bin:/@unixroot/bin:/@unixroot/usr/sbin:/@unixroot/sbin:" 47 53 /* Locate system binaries */ 48 54 #define _PATH_SYSPATH \ 49 "/ sbin:/usr/sbin"55 "/@unixroot/sbin:/@unixroot/usr/sbin" 50 56 51 #define _PATH_AUTHCONF "/ etc/auth.conf"52 #define _PATH_BSHELL "/ bin/sh"53 #define _PATH_CAPABILITY "/ etc/capability"54 #define _PATH_CAPABILITY_DB "/ etc/capability.db"55 #define _PATH_CONSOLE "/ dev/console"56 #define _PATH_CP "/ bin/cp"57 #define _PATH_CSHELL "/ bin/csh"58 #define _PATH_DEFTAPE "/ dev/sa0"59 #define _PATH_DEVNULL "/ dev/null"60 #define _PATH_DEVZERO "/ dev/zero"61 #define _PATH_DRUM "/ dev/drum"62 #define _PATH_ETC "/ etc"63 #define _PATH_FTPUSERS "/ etc/ftpusers"64 #define _PATH_HALT "/ sbin/halt"65 #define _PATH_IFCONFIG "/ sbin/ifconfig"66 #define _PATH_KMEM "/ dev/kmem"67 #define _PATH_LIBMAP_CONF "/ etc/libmap.conf"68 #define _PATH_LOCALE "/ usr/share/locale"69 #define _PATH_LOGIN "/ usr/bin/login"70 #define _PATH_MAILDIR "/ var/mail"71 #define _PATH_MAN "/ usr/share/man"72 #define _PATH_MDCONFIG "/ sbin/mdconfig"73 #define _PATH_MEM "/ dev/mem"74 #define _PATH_MKSNAP_FFS "/ sbin/mksnap_ffs"75 #define _PATH_MOUNT "/ sbin/mount"76 #define _PATH_NEWFS "/ sbin/newfs"77 #define _PATH_NOLOGIN "/ var/run/nologin"78 #define _PATH_RCP "/ bin/rcp"79 #define _PATH_REBOOT "/ sbin/reboot"80 #define _PATH_RLOGIN "/ usr/bin/rlogin"81 #define _PATH_RM "/ bin/rm"82 #define _PATH_RSH "/ usr/bin/rsh"83 #define _PATH_SENDMAIL "/ usr/sbin/sendmail"84 #define _PATH_SHELLS "/ etc/shells"85 #define _PATH_TTY "/ dev/tty"57 #define _PATH_AUTHCONF "/@unixroot/etc/auth.conf" 58 #define _PATH_BSHELL "/@unixroot/bin/sh" 59 #define _PATH_CAPABILITY "/@unixroot/etc/capability" 60 #define _PATH_CAPABILITY_DB "/@unixroot/etc/capability.db" 61 #define _PATH_CONSOLE "/@unixroot/dev/console" 62 #define _PATH_CP "/@unixroot/bin/cp" 63 #define _PATH_CSHELL "/@unixroot/bin/csh" 64 #define _PATH_DEFTAPE "/@unixroot/dev/sa0" 65 #define _PATH_DEVNULL "/@unixroot/dev/null" 66 #define _PATH_DEVZERO "/@unixroot/dev/zero" 67 #define _PATH_DRUM "/@unixroot/dev/drum" 68 #define _PATH_ETC "/@unixroot/etc" 69 #define _PATH_FTPUSERS "/@unixroot/etc/ftpusers" 70 #define _PATH_HALT "/@unixroot/sbin/halt" 71 #define _PATH_IFCONFIG "/@unixroot/sbin/ifconfig" 72 #define _PATH_KMEM "/@unixroot/dev/kmem" 73 #define _PATH_LIBMAP_CONF "/@unixroot/etc/libmap.conf" 74 #define _PATH_LOCALE "/@unixroot/usr/share/locale" 75 #define _PATH_LOGIN "/@unixroot/usr/bin/login" 76 #define _PATH_MAILDIR "/@unixroot/var/mail" 77 #define _PATH_MAN "/@unixroot/usr/share/man" 78 #define _PATH_MDCONFIG "/@unixroot/sbin/mdconfig" 79 #define _PATH_MEM "/@unixroot/dev/mem" 80 #define _PATH_MKSNAP_FFS "/@unixroot/sbin/mksnap_ffs" 81 #define _PATH_MOUNT "/@unixroot/sbin/mount" 82 #define _PATH_NEWFS "/@unixroot/sbin/newfs" 83 #define _PATH_NOLOGIN "/@unixroot/var/run/nologin" 84 #define _PATH_RCP "/@unixroot/bin/rcp" 85 #define _PATH_REBOOT "/@unixroot/sbin/reboot" 86 #define _PATH_RLOGIN "/@unixroot/usr/bin/rlogin" 87 #define _PATH_RM "/@unixroot/bin/rm" 88 #define _PATH_RSH "/@unixroot/usr/bin/rsh" 89 #define _PATH_SENDMAIL "/@unixroot/usr/sbin/sendmail" 90 #define _PATH_SHELLS "/@unixroot/etc/shells" 91 #define _PATH_TTY "/@unixroot/dev/tty" 86 92 #define _PATH_UNIX "don't use _PATH_UNIX" 87 #define _PATH_VI "/ usr/bin/vi"88 #define _PATH_WALL "/ usr/bin/wall"93 #define _PATH_VI "/@unixroot/usr/bin/vi" 94 #define _PATH_WALL "/@unixroot/usr/bin/wall" 89 95 90 96 /* Provide trailing slash, since mostly used for building pathnames. */ 91 #define _PATH_DEV "/ dev/"92 #define _PATH_TMP "/ tmp/"93 #define _PATH_VARDB "/ var/db/"94 #define _PATH_VARRUN "/ var/run/"95 #define _PATH_VARTMP "/ var/tmp/"96 #define _PATH_YP "/ var/yp/"97 #define _PATH_UUCPLOCK "/ var/spool/lock/"97 #define _PATH_DEV "/@unixroot/dev/" 98 #define _PATH_TMP "/@unixroot/tmp/" 99 #define _PATH_VARDB "/@unixroot/var/db/" 100 #define _PATH_VARRUN "/@unixroot/var/run/" 101 #define _PATH_VARTMP "/@unixroot/var/tmp/" 102 #define _PATH_YP "/@unixroot/var/yp/" 103 #define _PATH_UUCPLOCK "/@unixroot/var/spool/lock/" 98 104 99 105 /* How to get the correct name of the kernel. */ … … 104 110 #ifdef RESCUE 105 111 #undef _PATH_DEFPATH 106 #define _PATH_DEFPATH "/ rescue:/usr/bin:/bin"112 #define _PATH_DEFPATH "/@unixroot/rescue:/@unixroot/usr/bin:/@unixroot/bin" 107 113 #undef _PATH_STDPATH 108 #define _PATH_STDPATH "/ rescue:/usr/bin:/bin:/usr/sbin:/sbin"114 #define _PATH_STDPATH "/@unixroot/rescue:/@unixroot/usr/bin:/@unixroot/bin:/@unixroot/usr/sbin:/@unixroot/sbin" 109 115 #undef _PATH_SYSPATH 110 #define _PATH_SYSPATH "/ rescue:/sbin:/usr/sbin"116 #define _PATH_SYSPATH "/@unixroot/rescue:/@unixroot/sbin:/@unixroot/usr/sbin" 111 117 #undef _PATH_BSHELL 112 #define _PATH_BSHELL "/ rescue/sh"118 #define _PATH_BSHELL "/@unixroot/rescue/sh" 113 119 #undef _PATH_CP 114 #define _PATH_CP "/ rescue/cp"120 #define _PATH_CP "/@unixroot/rescue/cp" 115 121 #undef _PATH_CSHELL 116 #define _PATH_CSHELL "/ rescue/csh"122 #define _PATH_CSHELL "/@unixroot/rescue/csh" 117 123 #undef _PATH_HALT 118 #define _PATH_HALT "/ rescue/halt"124 #define _PATH_HALT "/@unixroot/rescue/halt" 119 125 #undef _PATH_IFCONFIG 120 #define _PATH_IFCONFIG "/ rescue/ifconfig"126 #define _PATH_IFCONFIG "/@unixroot/rescue/ifconfig" 121 127 #undef _PATH_MDCONFIG 122 #define _PATH_MDCONFIG "/ rescue/mdconfig"128 #define _PATH_MDCONFIG "/@unixroot/rescue/mdconfig" 123 129 #undef _PATH_MOUNT 124 #define _PATH_MOUNT "/ rescue/mount"130 #define _PATH_MOUNT "/@unixroot/rescue/mount" 125 131 #undef _PATH_NEWFS 126 #define _PATH_NEWFS "/ rescue/newfs"132 #define _PATH_NEWFS "/@unixroot/rescue/newfs" 127 133 #undef _PATH_RCP 128 #define _PATH_RCP "/ rescue/rcp"134 #define _PATH_RCP "/@unixroot/rescue/rcp" 129 135 #undef _PATH_REBOOT 130 #define _PATH_REBOOT "/ rescue/reboot"136 #define _PATH_REBOOT "/@unixroot/rescue/reboot" 131 137 #undef _PATH_RM 132 #define _PATH_RM "/ rescue/rm"138 #define _PATH_RM "/@unixroot/rescue/rm" 133 139 #undef _PATH_VI 134 #define _PATH_VI "/ rescue/vi"140 #define _PATH_VI "/@unixroot/rescue/vi" 135 141 #undef _PATH_WALL 136 #define _PATH_WALL "/ rescue/wall"142 #define _PATH_WALL "/@unixroot/rescue/wall" 137 143 #endif /* RESCUE */ 138 144 -
Property cvs2svn:cvs-rev
changed from
-
trunk/src/emx/include/process.h
-
Property cvs2svn:cvs-rev
changed from
1.1
to1.2
r1505 r1506 1 /* process.h (emx+gcc) */ 1 /* process.h,v 1.2 2004/09/14 22:27:35 bird Exp */ 2 /** @file 3 * EMX 4 * @see sys/process.h 5 */ 2 6 3 7 #ifndef _PROCESS_H -
Property cvs2svn:cvs-rev
changed from
-
trunk/src/emx/include/protocol/rwhod.h
-
Property cvs2svn:cvs-rev
changed from
1.1
to1.2
r1505 r1506 1 /* $Id$ */ 1 2 #ifndef _PROTOCOL_RWHOD_H_ 2 3 #define _PROTOCOL_RWHOD_H_ -
Property cvs2svn:cvs-rev
changed from
-
trunk/src/emx/include/protocols/rwhod.h
-
Property cvs2svn:cvs-rev
changed from
1.3
to1.4
r1505 r1506 1 /* $Id$ */ 1 2 /* 2 3 * Copyright (c) 1983, 1993 … … 74 75 #define WHODTYPE_STATUS 1 /* host status */ 75 76 76 #define _PATH_RWHODIR "/ var/rwho"77 #define _PATH_RWHODIR "/@unixroot/var/rwho" 77 78 78 79 #endif /*!TCPV40HDRS*/ -
Property cvs2svn:cvs-rev
changed from
-
trunk/src/emx/include/pwd.h
-
Property cvs2svn:cvs-rev
changed from
1.3
to1.4
r1505 r1506 1 /* pwd.h,v 1.4 2004/09/14 22:27:35 bird Exp */ 2 /** 3 * FreeBSD 5.2 4 * @changed bird: some EMXisms. 5 */ 6 1 7 /*- 2 8 * Copyright (c) 1989, 1993 … … 40 46 */ 41 47 42 /**43 * FreeBSD 5.244 * @changed bird: some EMXisms.45 */46 47 48 #ifndef _PWD_H_ 48 49 #define _PWD_H_ … … 77 78 78 79 79 #define _PATH_PWD "/ etc"80 #define _PATH_PASSWD "/ etc/passwd"80 #define _PATH_PWD "/@unixroot/etc" 81 #define _PATH_PASSWD "/@unixroot/etc/passwd" 81 82 #define _PASSWD "passwd" 82 #define _PATH_MASTERPASSWD "/ etc/master.passwd"83 #define _PATH_MASTERPASSWD "/@unixroot/etc/master.passwd" 83 84 #define _MASTERPASSWD "master.passwd" 84 85 85 #define _PATH_MP_DB "/ etc/pwd.db"86 #define _PATH_MP_DB "/@unixroot/etc/pwd.db" 86 87 #define _MP_DB "pwd.db" 87 #define _PATH_SMP_DB "/ etc/spwd.db"88 #define _PATH_SMP_DB "/@unixroot/etc/spwd.db" 88 89 #define _SMP_DB "spwd.db" 89 90 90 #define _PATH_PWD_MKDB "/ usr/sbin/pwd_mkdb"91 #define _PATH_PWD_MKDB "/@unixroot/usr/sbin/pwd_mkdb" 91 92 92 93 /* Historically, the keys in _PATH_MP_DB/_PATH_SMP_DB had the format -
Property cvs2svn:cvs-rev
changed from
-
trunk/src/emx/include/regex.h
-
Property cvs2svn:cvs-rev
changed from
1.1
to1.2
r1505 r1506 1 /* regex.h,v 1.2 2004/09/14 22:27:35 bird Exp */ 2 /** @file 3 * FreeBSD 5.1 4 */ 1 5 /*- 2 6 * Copyright (c) 1992 Henry Spencer. … … 37 41 * @(#)regex.h 8.2 (Berkeley) 1/3/94 38 42 * $FreeBSD: src/include/regex.h,v 1.6 2002/10/03 18:12:03 mike Exp $ 39 */40 41 /** @file42 * FreeBSD 5.143 43 */ 44 44 -
Property cvs2svn:cvs-rev
changed from
-
trunk/src/emx/include/regexp.h
-
Property cvs2svn:cvs-rev
changed from
1.2
to1.3
r1505 r1506 1 /* regexp.h,v 1.3 2004/09/14 22:27:35 bird Exp */ 2 /** @file 3 * FreeBSD 5.1 4 */ 5 1 6 /* 2 7 * Copyright (c) 1986 by University of Toronto. … … 39 44 */ 40 45 41 /** @file42 * FreeBSD 5.143 */44 45 46 #ifndef _REGEXP_H_ 46 47 #define _REGEXP_H_ -
Property cvs2svn:cvs-rev
changed from
-
trunk/src/emx/include/resolv.h
-
Property cvs2svn:cvs-rev
changed from
1.4
to1.5
r1505 r1506 1 /* Modified for EMX by hv 1994,1996 2 * Modified for gcc by bird 2003 3 * 1 /* resolv.h,v 1.5 2004/09/14 22:27:35 bird Exp */ 2 /** @file 3 * BSD 4 * @changed EM: For EMX by hv 1994,1996 5 * @changed bird: For IGCC. 6 */ 7 /* 4 8 * Copyright (c) 1983, 1987, 1989 The Regents of the University of California. 5 9 * All rights reserved. … … 34 38 * 35 39 * from: @(#)resolv.h 5.15 (Berkeley) 4/3/91 36 * resolv.h,v 1. 4 2003/07/11 11:39:47bird Exp40 * resolv.h,v 1.5 2004/09/14 22:27:35 bird Exp 37 41 */ 38 42 … … 70 74 71 75 #ifndef _PATH_RESCONF 72 #define _PATH_RESCONF "/ mptn/etc/resolv.conf"76 #define _PATH_RESCONF "/@unixroot/etc/resolv.conf" 73 77 #endif 74 78 #endif /* TCPV40HDRS */ -
Property cvs2svn:cvs-rev
changed from
-
trunk/src/emx/include/safe-ctype.h
-
Property cvs2svn:cvs-rev
changed from
1.1
to1.2
r1505 r1506 1 /* safe-ctype.h,v 1.2 2004/09/14 22:27:35 bird Exp */ 2 /** @file 3 * GNU, -liberty 4 */ 5 1 6 /* <ctype.h> replacement macros. 2 7 -
Property cvs2svn:cvs-rev
changed from
-
trunk/src/emx/include/search.h
-
Property cvs2svn:cvs-rev
changed from
1.2
to1.3
r1505 r1506 1 /* search.h,v 1.3 2004/09/14 22:27:35 bird Exp */ 2 /** @file 3 * FreeBSD 5.1 4 * @changed bird: _SIZE_T 5 */ 1 6 /*- 2 7 * Written by J.T. Conklin <jtc@netbsd.org> … … 5 10 * $NetBSD: search.h,v 1.12 1999/02/22 10:34:28 christos Exp $ 6 11 * $FreeBSD: src/include/search.h,v 1.10 2002/10/16 14:29:23 robert Exp $ 7 */8 9 /** @file10 * FreeBSD 5.111 * @changed bird: _SIZE_T12 12 */ 13 13 -
Property cvs2svn:cvs-rev
changed from
-
trunk/src/emx/include/setjmp.h
-
Property cvs2svn:cvs-rev
changed from
1.2
to1.3
r1505 r1506 1 /* setjmp.h,v 1.3 2004/09/14 22:27:35 bird Exp */ 2 /** @file 3 * FreeBSD 5.1 4 * @changed bird: @todo'ed the functions LIBC doesn't implement. 5 */ 1 6 /*- 2 7 * Copyright (c) 1990, 1993 … … 40 45 */ 41 46 42 /** @file43 * FreeBSD 5.144 * @changed bird: @todo'ed the functions LIBC doesn't implement.45 */46 47 47 #ifndef _SETJMP_H_ 48 48 #define _SETJMP_H_ -
Property cvs2svn:cvs-rev
changed from
-
trunk/src/emx/include/sgtty.h
-
Property cvs2svn:cvs-rev
changed from
1.1
to1.2
r1505 r1506 1 /* sgtty.h (emx+gcc) */ 1 /* sgtty.h,v 1.2 2004/09/14 22:27:35 bird Exp */ 2 /** @file 3 * EMX 4 */ 2 5 3 6 /* empty */ -
Property cvs2svn:cvs-rev
changed from
-
trunk/src/emx/include/share.h
-
Property cvs2svn:cvs-rev
changed from
1.1
to1.2
r1505 r1506 1 /* share.h (emx+gcc) */ 1 /* share.h,v 1.2 2004/09/14 22:27:35 bird Exp */ 2 /** @file 3 * EMX. VAC legacy. 4 */ 2 5 3 6 #ifndef _SHARE_H -
Property cvs2svn:cvs-rev
changed from
-
trunk/src/emx/include/socks.h
-
Property cvs2svn:cvs-rev
changed from
1.2
to1.3
r1505 r1506 1 /* socks.h,v 1.3 2004/09/14 22:27:35 bird Exp */ 2 /** @file 3 * BSD 4 */ 1 5 /*----------------------------------------------------------------- 2 6 Copyright (c) 1989 Regents of the University of California. -
Property cvs2svn:cvs-rev
changed from
-
trunk/src/emx/include/sort.h
-
Property cvs2svn:cvs-rev
changed from
1.1
to1.2
r1505 r1506 1 /* sort.h,v 1.2 2004/09/14 22:27:35 bird Exp */ 2 /** @file 3 * GNU, -liberty. 4 */ 1 5 /* Sorting algorithms. 2 6 Copyright (C) 2000 Free Software Foundation, Inc. … … 4 8 5 9 This file is part of GCC. 6 10 7 11 GCC is free software; you can redistribute it and/or modify it 8 12 under the terms of the GNU General Public License as published by … … 45 49 46 50 47 48 51 52 -
Property cvs2svn:cvs-rev
changed from
-
trunk/src/emx/include/spawn.h
-
Property cvs2svn:cvs-rev
changed from
1.2
to1.3
r1505 r1506 1 /** @file 2 * GLIBC 2.3.2 3 * @changed bird: we don't have sched.h or the GLIBC standard definitions. 4 */ 5 1 6 /* Definitions for POSIX spawn interface. 2 7 Copyright (C) 2000 Free Software Foundation, Inc. … … 18 23 02111-1307 USA. */ 19 24 20 /** @file21 * GLIBC 2.3.222 * @changed bird: we don't have features.h, sched.h or the GLIBC standard definitions.23 */24 25 25 #ifndef _SPAWN_H 26 26 #define _SPAWN_H 1 27 27 28 #include <features.h> 28 29 #ifndef __EMX__ /* bird */ 29 #include <features.h>30 30 #include <sched.h> 31 31 #endif /* bird */ -
Property cvs2svn:cvs-rev
changed from
-
trunk/src/emx/include/splay-tree.h
-
Property cvs2svn:cvs-rev
changed from
1.1
to1.2
r1505 r1506 1 /* A splay-tree datatype. 1 /* splay-tree.h,v 1.2 2004/09/14 22:27:35 bird Exp */ 2 /** @file 3 * GNU, -liberty. 4 */ 5 /* A splay-tree datatype. 2 6 Copyright 1998, 1999, 2000 Free Software Foundation, Inc. 3 7 Contributed by Mark Mitchell (mark@markmitchell.com). 4 8 5 9 This file is part of GCC. 6 10 7 11 GCC is free software; you can redistribute it and/or modify it 8 12 under the terms of the GNU General Public License as published by … … 23 27 24 28 Lewis, Harry R. and Denenberg, Larry. Data Structures and Their 25 Algorithms. Harper-Collins, Inc. 1991. 29 Algorithms. Harper-Collins, Inc. 1991. 26 30 27 31 The major feature of splay trees is that all basic tree operations … … 121 125 void *)); 122 126 extern void splay_tree_delete PARAMS((splay_tree)); 123 extern splay_tree_node splay_tree_insert 127 extern splay_tree_node splay_tree_insert 124 128 PARAMS((splay_tree, 125 129 splay_tree_key, … … 127 131 extern void splay_tree_remove PARAMS((splay_tree, 128 132 splay_tree_key)); 129 extern splay_tree_node splay_tree_lookup 133 extern splay_tree_node splay_tree_lookup 130 134 PARAMS((splay_tree, 131 135 splay_tree_key)); … … 147 151 extern int splay_tree_compare_pointers PARAMS((splay_tree_key, 148 152 splay_tree_key)); 149 153 150 154 #ifdef __cplusplus 151 155 } -
Property cvs2svn:cvs-rev
changed from
-
trunk/src/emx/include/stdint.h
-
Property cvs2svn:cvs-rev
changed from
1.1
to1.2
r1505 r1506 1 /* stdint.h,v 1.2 2004/09/14 22:27:36 bird Exp */ 1 2 /** @file 2 3 * FreeBSD 5.1 4 * @see sys/stdint.h 3 5 */ 4 6 #include <sys/stdint.h> -
Property cvs2svn:cvs-rev
changed from
-
trunk/src/emx/include/stdio.h
-
Property cvs2svn:cvs-rev
changed from
1.12
to1.13
r1505 r1506 1 /* stdio.h,v 1.13 2004/09/14 22:27:36 bird Exp */ 2 /** @file 3 * FreeBSD 5.1 4 * @changed bird: EMX isms + LIBC implementation specifics. 5 * @chagned bird: Made quite a few @todos on function which aren't implemented. 6 */ 7 1 8 /*- 2 9 * Copyright (c) 1990, 1993 … … 36 43 * @(#)stdio.h 8.5 (Berkeley) 4/29/95 37 44 * $FreeBSD: src/include/stdio.h,v 1.51 2003/01/13 08:41:47 tjr Exp $ 38 */39 40 /** @file41 * FreeBSD 5.142 * @changed bird: EMX isms + LIBC implementation specifics.43 * @chagned bird: Made quite a few @todos on function which aren't implemented.44 45 */ 45 46 … … 503 504 #endif 504 505 505 #endif /* bird: Skip FreeBSD s epcific LIBC stuff. */506 #endif /* bird: Skip FreeBSD specific LIBC stuff. */ 506 507 507 508 -
Property cvs2svn:cvs-rev
changed from
-
trunk/src/emx/include/stdlib.h
-
Property cvs2svn:cvs-rev
changed from
1.23
to1.24
r1505 r1506 1 /* stdlib.h,v 1.24 2004/09/14 22:27:36 bird Exp */ 2 /** @file 3 * FreeBSD 5.1 4 * @changed bird: EMXifications and OS2ifications. 5 */ 6 1 7 /*- 2 8 * Copyright (c) 1990, 1993 … … 33 39 * @(#)stdlib.h 8.5 (Berkeley) 5/19/95 34 40 * $FreeBSD: src/include/stdlib.h,v 1.48 2003/03/12 20:29:58 das Exp $ 35 */36 37 /** @file38 * FreeBSD 5.139 * @changed bird: EMXifications and OS2ifications.40 41 */ 41 42 -
Property cvs2svn:cvs-rev
changed from
-
trunk/src/emx/include/string.h
-
Property cvs2svn:cvs-rev
changed from
1.12
to1.13
r1505 r1506 1 /* string.h,v 1.13 2004/09/14 22:27:36 bird Exp */ 2 /** @file 3 * FreeBSD 5.1 4 * @changed bird: EMXifications. 5 * @changed bird: GNU extension(s). 6 */ 7 1 8 /*- 2 9 * Copyright (c) 1990, 1993 … … 33 40 * @(#)string.h 8.1 (Berkeley) 6/2/93 34 41 * $FreeBSD: src/include/string.h,v 1.18 2002/10/14 20:38:40 mike Exp $ 35 */36 37 /** @file38 * FreeBSD 5.139 * @changed bird: EMXifications.40 * @changed bird: GNU extension(s).41 42 */ 42 43 -
Property cvs2svn:cvs-rev
changed from
-
trunk/src/emx/include/stringlist.h
-
Property cvs2svn:cvs-rev
changed from
1.1
to1.2
r1505 r1506 1 /* stringlist.h,v 1.2 2004/09/14 22:27:36 bird Exp */ 2 /** @file 3 * FreeBSD 5.2 4 */ 1 5 /* $NetBSD: stringlist.h,v 1.2 1997/01/17 06:11:36 lukem Exp $ */ 2 6 … … 35 39 36 40 #ifndef _STRINGLIST_H 37 #define _STRINGLIST_H 41 #define _STRINGLIST_H 38 42 #include <sys/cdefs.h> 39 43 #include <sys/types.h> -
Property cvs2svn:cvs-rev
changed from
-
trunk/src/emx/include/strings.h
-
Property cvs2svn:cvs-rev
changed from
1.2
to1.3
r1505 r1506 1 /* strings.h,v 1.3 2004/09/14 22:27:36 bird Exp */ 2 /** @file 3 * FreeBSD 5.1 4 * @changed bird: EMXifications. 5 */ 6 1 7 /*- 2 8 * Copyright (c) 2002 Mike Barcroft <mike@FreeBSD.org> … … 27 33 */ 28 34 29 /** @file30 * FreeBSD 5.131 * @changed bird: EMXifications.32 */33 34 35 #ifndef _STRINGS_H_ 35 36 #define _STRINGS_H_ -
Property cvs2svn:cvs-rev
changed from
-
trunk/src/emx/include/symcat.h
-
Property cvs2svn:cvs-rev
changed from
1.1
to1.2
r1505 r1506 1 /* symcat.h,v 1.2 2004/09/14 22:27:36 bird Exp */ 2 /** @file 3 * GNU, -liberty. 4 */ 1 5 /* Symbol concatenation utilities. 2 6 … … 12 16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 17 GNU General Public License for more details. 14 18 15 19 You should have received a copy of the GNU General Public License along 16 20 with this program; if not, write to the Free Software Foundation, Inc., … … 45 49 works for __STDC__, not for traditional C which will still resolve 46 50 to "foo". */ 47 #define XSTRING(s) STRINGX(s) 51 #define XSTRING(s) STRINGX(s) 48 52 49 53 #endif /* SYM_CAT_H */ -
Property cvs2svn:cvs-rev
changed from
-
trunk/src/emx/include/sys/errno.h
-
Property cvs2svn:cvs-rev
changed from
1.9
to1.10
r1505 r1506 1 /* $Id: $ */ 2 /** @file 3 * FreeBSD 5.1 4 * @changed bird: errno wrapper and added comments about defines which have moved. 5 */ 6 1 7 /* 2 8 * Copyright (c) 1982, 1986, 1989, 1993 … … 40 46 */ 41 47 42 /** @file43 * FreeBSD 5.144 * @changed bird: errno wrapper and added comments about defines which have moved.45 */46 47 48 #ifndef _SYS_ERRNO_H_ 48 49 #define _SYS_ERRNO_H_ -
Property cvs2svn:cvs-rev
changed from
-
trunk/src/emx/include/sys/fcntl.h
-
Property cvs2svn:cvs-rev
changed from
1.6
to1.7
r1505 r1506 1 /* $Id: $ */ 2 /** @file 3 * FreeBSD 5.1 + EMX 4 * 5 * @changed bird: EMX isms. 6 * @changed bird: Removed (non KERNEL) stuff we don't implement and added 7 * EMX specific stuff. 8 * @todo Consider implementing the flags and commands we don't currently 9 * include. 10 */ 11 12 1 13 /*- 2 14 * Copyright (c) 1983, 1990, 1993 … … 40 52 */ 41 53 42 /** @file43 * FreeBSD 5.1 + EMX44 *45 * @changed bird: EMX isms.46 * @changed bird: Removed (non KERNEL) stuff we don't implement and added47 * EMX specific stuff.48 * @todo Consider implementing the flags and commands we don't currently49 * include.50 */51 52 54 #ifndef _SYS_FCNTL_H_ 53 55 #define _SYS_FCNTL_H_ -
Property cvs2svn:cvs-rev
changed from
-
trunk/src/emx/include/sys/process.h
-
Property cvs2svn:cvs-rev
changed from
1.4
to1.5
r1505 r1506 1 /* sys/process.h (emx+gcc) */ 1 /* $Id: $ */ 2 /** @file 3 * EMX 4 */ 2 5 3 6 #ifndef _SYS_PROCESS_H -
Property cvs2svn:cvs-rev
changed from
-
trunk/src/emx/include/sys/syslog.h
-
Property cvs2svn:cvs-rev
changed from
1.2
to1.3
r1505 r1506 1 /* $Id: $ */ 2 /** @file 3 * FreeBSD 5.1 4 */ 1 5 /* 2 6 * Copyright (c) 1982, 1986, 1988, 1993 … … 35 39 */ 36 40 37 /** @file38 * FreeBSD 5.139 */40 41 41 #ifndef _SYS_SYSLOG_H_ 42 42 #define _SYS_SYSLOG_H_ 43 43 44 #define _PATH_LOG "/ var/run/log"45 #define _PATH_OLDLOG "/ dev/log" /* backward compatibility */44 #define _PATH_LOG "/@unixroot/var/run/log" 45 #define _PATH_OLDLOG "/@unixroot/dev/log" /* backward compatibility */ 46 46 47 47 /* -
Property cvs2svn:cvs-rev
changed from
-
trunk/src/emx/include/sys/termio.h
-
Property cvs2svn:cvs-rev
changed from
1.1
to1.2
r1505 r1506 1 /* sys/termio.h (emx+gcc) */ 2 1 /* $Id: $ */ 2 /** @file 3 * EMX 4 */ 3 5 #ifndef _SYS_TERMIO_H 4 6 #define _SYS_TERMIO_H 5 7 6 #if defined (__cplusplus)7 extern "C" {8 #endif9 8 10 9 /* Request codes */ … … 150 149 }; 151 150 152 #if defined (__cplusplus)153 }154 #endif155 156 151 #endif /* not _SYS_TERMIO_H */ -
Property cvs2svn:cvs-rev
changed from
-
trunk/src/emx/include/sys/termios.h
-
Property cvs2svn:cvs-rev
changed from
1.2
to1.3
r1505 r1506 1 /* sys/termios.h (emx+gcc) */ 1 /* $Id$ */ 2 /** @file 3 * EMX. 4 */ 2 5 3 6 #ifndef _SYS_TERMIOS_H_ 4 7 #define _SYS_TERMIOS_H_ 5 8 6 #if defined (__cplusplus) 7 extern "C" { 8 #endif 9 #include <sys/cdefs.h> 10 9 11 10 12 /* tcsetattr() */ … … 139 141 }; 140 142 141 143 __BEGIN_DECLS 142 144 speed_t cfgetispeed (__const__ struct termios *); 143 145 speed_t cfgetospeed (__const__ struct termios *); … … 154 156 int cfsetspeed (struct termios *, speed_t); 155 157 #endif /* !_POSIX_SOURCE */ 156 157 #if defined (__cplusplus) 158 } 159 #endif 158 __END_DECLS 160 159 161 160 #endif /* not _SYS_TERMIOS_H_ */ -
Property cvs2svn:cvs-rev
changed from
-
trunk/src/emx/include/sys/utime.h
-
Property cvs2svn:cvs-rev
changed from
1.2
to1.3
r1505 r1506 1 1 /* $Id: $ */ 2 /** @file 3 * FreeBSD 5.1 4 * @changed bird: the usual emx stuff. 5 */ 2 6 /*- 3 7 * Copyright (c) 1990, 1993 … … 36 40 */ 37 41 38 /** @file39 * FreeBSD 5.140 * @changed bird: the usual emx stuff.41 */42 43 42 #ifndef _UTIME_H_ 44 43 #define _UTIME_H_ -
Property cvs2svn:cvs-rev
changed from
-
trunk/src/emx/include/syslog.h
-
Property cvs2svn:cvs-rev
changed from
1.1
to1.2
r1505 r1506 1 /* sy mlink*/1 /* syslog.h,v 1.2 2004/09/14 22:27:36 bird Exp */ 2 2 /** @file 3 3 * @see sys/syslog.h. -
Property cvs2svn:cvs-rev
changed from
-
trunk/src/emx/include/termcap.h
-
Property cvs2svn:cvs-rev
changed from
1.1
to1.2
r1505 r1506 1 /* termcap.h,v 1.2 2004/09/14 22:27:36 bird Exp */ 2 /** @file 3 * GNU 4 * @see gnu/termcap.h 5 */ 1 6 #include <gnu/termcap.h> -
Property cvs2svn:cvs-rev
changed from
-
trunk/src/emx/include/termio.h
-
Property cvs2svn:cvs-rev
changed from
1.1
to1.2
r1505 r1506 1 /* termio.h (emx+gcc) */ 2 1 /* termio.h,v 1.2 2004/09/14 22:27:36 bird Exp */ 2 /** @file 3 * EMX 4 * @see sys/termio.h 5 */ 3 6 #ifndef _TERMIO_H 4 7 #define _TERMIO_H -
Property cvs2svn:cvs-rev
changed from
-
trunk/src/emx/include/termios.h
-
Property cvs2svn:cvs-rev
changed from
1.3
to1.4
r1505 r1506 1 /* termios.h,v 1.4 2004/09/14 22:27:36 bird Exp */ 2 /** @file 3 * EMX 4 * @see sys/termios.h. 5 */ 1 6 #include <sys/termios.h> -
Property cvs2svn:cvs-rev
changed from
-
trunk/src/emx/include/ternary.h
-
Property cvs2svn:cvs-rev
changed from
1.1
to1.2
r1505 r1506 1 /* ternary.h,v 1.2 2004/09/14 22:27:36 bird Exp */ 2 /** @file 3 * GNU, -liberty. 4 */ 5 1 6 /* ternary.h - Ternary Search Trees 2 7 Copyright 2001 Free Software Foundation, Inc. … … 34 39 ternary_node; 35 40 36 /* Insert string S into tree P, associating it with DATA. 41 /* Insert string S into tree P, associating it with DATA. 37 42 Return the data in the tree associated with the string if it's 38 43 already there, and replace is 0. … … 42 47 PTR data, int replace)); 43 48 44 /* Delete the ternary search tree rooted at P. 49 /* Delete the ternary search tree rooted at P. 45 50 Does NOT delete the data you associated with the strings. */ 46 51 void ternary_cleanup PARAMS ((ternary_tree p)); -
Property cvs2svn:cvs-rev
changed from
-
trunk/src/emx/include/time.h
-
Property cvs2svn:cvs-rev
changed from
1.5
to1.6
r1505 r1506 1 /** @file 2 * FreeBSD 5.1 3 * 4 * @changed EMX isms. 5 * @changed Removed timezone() function as it clashes with the timezone 6 * variable defined in EMX and OGBSI6. 7 * @changed Changed CLK_TCK and CLOCKS_PER_SEC to 100. 8 * @changed Commented out tm_gmtoff and tm_zone in struct tm as LIBC doesn't 9 * implement these yet. 10 * 11 * @todo Implement tm_gmtoff and tm_zone members in struct tm. 12 * @todo Implement clock_getres(), clock_gettime(), clock_settime(), nanosleep(). 13 * asctime_r(), ctime_r(), gmtime_r() and localtime_r() which are defined in 14 * various POSIX standard revisions. 15 * @todo Implement tzsetwall(), timelocal(), timegm() which are BSD specific. 16 */ 1 17 /* 2 18 * Copyright (c) 1989, 1993 … … 43 59 */ 44 60 45 /** @file46 * FreeBSD 5.147 *48 * @changed EMX isms.49 * @changed Removed timezone() function as it clashes with the timezone50 * variable defined in EMX and OGBSI6.51 * @changed Changed CLK_TCK and CLOCKS_PER_SEC to 100.52 * @changed Commented out tm_gmtoff and tm_zone in struct tm as LIBC doesn't53 * implement these yet.54 *55 * @todo Implement tm_gmtoff and tm_zone members in struct tm.56 * @todo Implement clock_getres(), clock_gettime(), clock_settime(), nanosleep().57 * asctime_r(), ctime_r(), gmtime_r() and localtime_r() which are defined in58 * various POSIX standard revisions.59 * @todo Implement tzsetwall(), timelocal(), timegm() which are BSD specific.60 */61 62 61 #ifndef _TIME_H_ 63 62 #define _TIME_H_ -
Property cvs2svn:cvs-rev
changed from
-
trunk/src/emx/include/types.h
-
Property cvs2svn:cvs-rev
changed from
1.3
to1.4
r1505 r1506 1 /* toolkit compatibility. */ 1 /* types.h,v 1.4 2004/09/14 22:27:36 bird Exp */ 2 /** @file 3 * IGCC, OS/2 Tcpip compataility. 4 */ 2 5 #ifndef __TYPES_H_ 3 6 #define __TYPES_H_ … … 14 17 15 18 #include <errno.h> 16 /*#include <nerrno.h> */ 19 #include <nerrno.h> 17 20 #include <sys/time.h> 18 21 #include <utils.h> -
Property cvs2svn:cvs-rev
changed from
-
trunk/src/emx/include/uconv.h
-
Property cvs2svn:cvs-rev
changed from
1.2
to1.3
r1505 r1506 1 /* uconv.h,v 1.3 2004/09/14 22:27:36 bird Exp */ 2 /** @file 3 * IGCC. 4 */ 1 5 /* 2 6 * Legalesy-free Unicode API interface for OS/2 … … 14 18 #define __UCONV_H__ 15 19 16 #ifdef __cplusplus 17 extern "C" { 18 #endif 20 #include <unidef.h> 21 #include <sys/cdefs.h> 19 22 20 #include <unidef.h> 23 __BEGIN_DECLS 21 24 22 25 /* Substitution options */ … … 128 131 #define UCONV_NOTIMPLEMENTED ULS_NOTIMPLEMENTED 129 132 130 #ifdef __cplusplus 131 } 132 #endif 133 __END_DECLS 133 134 134 135 #endif /* __UCONV_H__ */ -
Property cvs2svn:cvs-rev
changed from
-
trunk/src/emx/include/ulimit.h
-
Property cvs2svn:cvs-rev
changed from
1.1
to1.2
r1505 r1506 1 /* ulimit.h (emx+gcc) */ 1 /* ulimit.h,v 1.2 2004/09/14 22:27:36 bird Exp */ 2 /** @file 3 * FreeBSD 5.2 4 * @changed bird: Added EMX and Linux defines. 5 */ 6 /*- 7 * Copyright (c) 2002 Kyle Martin <mkm@ieee.org> 8 * All rights reserved. 9 * 10 * Redistribution and use in source and binary forms, with or without 11 * modification, are permitted provided that the following conditions 12 * are met: 13 * 1. Redistributions of source code must retain the above copyright 14 * notice, this list of conditions and the following disclaimer. 15 * 2. Redistributions in binary form must reproduce the above copyright 16 * notice, this list of conditions and the following disclaimer in the 17 * documentation and/or other materials provided with the distribution. 18 * 19 * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 20 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 21 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 22 * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 23 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 24 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 25 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 26 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 27 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 28 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 29 * SUCH DAMAGE. 30 * 31 * $FreeBSD: src/include/ulimit.h,v 1.4 2003/01/08 01:18:13 tjr Exp $ 32 */ 2 33 3 #ifndef _ULIMIT_H 4 #define _ULIMIT_H34 #ifndef _ULIMIT_H_ 35 #define _ULIMIT_H_ 5 36 6 #include <sys/ ulimit.h>37 #include <sys/cdefs.h> 7 38 8 #if defined (__cplusplus) 9 extern "C" { 10 #endif 39 #define UL_GETFSIZE 1 40 #define UL_SETFSIZE 2 11 41 12 long ulimit (int, ...); 42 /* bird: emx start */ 43 #define UL_GFILLIM UL_GETFSIZE 44 #define UL_SFILLIM UL_SETFSIZE 45 #define UL_GMEMLIM 3 46 #define UL_NOFILES 4 47 #define UL_OBJREST 81 48 /* GNU/Linux compatability. */ 49 #define __UL_GETMAXBRK UL_GMEMLIM 50 #define __UL_GETOPENMAX UL_NOFILES 51 /* bird: emx end */ 13 52 14 long _ulimit (int, ...); 53 __BEGIN_DECLS 54 long ulimit(int, ...); 55 __END_DECLS 15 56 16 #if defined (__cplusplus) 17 } 18 #endif 19 20 #endif /* not _ULIMIT_H */ 57 #endif /* !_ULIMIT_H_ */ -
Property cvs2svn:cvs-rev
changed from
-
trunk/src/emx/include/ulserr.h
-
Property cvs2svn:cvs-rev
changed from
1.2
to1.3
r1505 r1506 4 4 #ifndef ulserr_h__ 5 5 #define ulserr_h__ 6 #warning Please, do nnot use ulserr.h. You should be using ulserrno.h!6 #warning Please, do not use ulserr.h. You should be using ulserrno.h! 7 7 #include <ulserrno.h> 8 8 #endif /* ulserr_h__ */ -
Property cvs2svn:cvs-rev
changed from
-
trunk/src/emx/include/ulserrno.h
-
Property cvs2svn:cvs-rev
changed from
1.2
to1.3
r1505 r1506 1 /* ulserrno.h,v 1.3 2004/09/14 22:27:36 bird Exp */ 2 /** @file 3 * IGCC. 4 */ 1 5 /* 2 6 * Legalesy-free Unicode API interface for OS/2 -
Property cvs2svn:cvs-rev
changed from
-
trunk/src/emx/include/ulsitem.h
-
Property cvs2svn:cvs-rev
changed from
1.2
to1.3
r1505 r1506 1 /* ulsitem.h,v 1.3 2004/09/14 22:27:36 bird Exp */ 2 /** @file 3 * IGCC. 4 */ 1 5 /* 2 6 * Legalesy-free Unicode API interface for OS/2 -
Property cvs2svn:cvs-rev
changed from
-
trunk/src/emx/include/umalloc.h
-
Property cvs2svn:cvs-rev
changed from
1.3
to1.4
r1505 r1506 1 /* umalloc.h (emx+gcc) */ 1 /* umalloc.h,v 1.4 2004/09/14 22:27:36 bird Exp */ 2 /** @file 3 * EMX. 4 */ 5 2 6 3 7 #ifndef _UMALLOC_H … … 7 11 #include <sys/_types.h> 8 12 9 #if defined (__cplusplus) 10 extern "C" { 11 #endif 13 __BEGIN_DECLS 12 14 13 15 #if !defined (_SIZE_T) … … 99 101 void *_utmalloc (Heap_t, size_t); 100 102 101 #if defined (__cplusplus) 102 } 103 #endif 103 __END_DECLS 104 104 105 105 #endif /* not _UMALLOC_H */ -
Property cvs2svn:cvs-rev
changed from
-
trunk/src/emx/include/unidef.h
-
Property cvs2svn:cvs-rev
changed from
1.7
to1.8
r1505 r1506 14 14 #define __UNIDEF_H__ 15 15 16 #ifdef __cplusplus 17 extern "C" { 18 #endif 19 16 #include <sys/cdefs.h> 20 17 #include <stddef.h> 21 18 #include <time.h> … … 243 240 244 241 242 __BEGIN_DECLS 245 243 /* Locale Management Function Prototypes */ 246 247 244 int APIENTRY UniCreateLocaleObject (int locale_spec_type, const void *locale_spec, 248 245 LocaleObject *locale_object_ptr); … … 362 359 int APIENTRY UniQueryCountryName (UniChar *country, UniChar *isolang, UniChar **infoitem); 363 360 364 365 #ifdef __cplusplus 366 } 367 #endif 361 __END_DECLS 368 362 369 363 #endif /* __UNIDEF_H__ */ -
Property cvs2svn:cvs-rev
changed from
-
trunk/src/emx/include/unikbd.h
-
Property cvs2svn:cvs-rev
changed from
1.1
to1.2
r1505 r1506 1 /* unikbd.h,v 1. 1 2003/05/27 16:03:42bird Exp */1 /* unikbd.h,v 1.2 2004/09/14 22:27:36 bird Exp */ 2 2 /** @file 3 3 * Legalesy-free Unicode API interface for OS/2 … … 14 14 #define __UNIKBD_H__ 15 15 16 #ifdef __cplusplus17 extern "C" {18 #endif19 16 20 17 /******************************************************************************* 21 18 * Header Files * 22 19 *******************************************************************************/ 20 #include <sys/cdefs.h> 23 21 #include <unidef.h> 24 22 … … 341 339 * Internal Functions * 342 340 *******************************************************************************/ 341 __BEGIN_DECLS 343 342 APIRET KBDLINK UniCreateKeyboard(KHAND * phKeyboard, const KBDNAME * puszName, ULONG ulMode); 344 343 APIRET KBDLINK UniDestroyKeyboard(KHAND hKeyboard); … … 349 348 APIRET KBDLINK UniTranslateDeadkey(KHAND hKeyboard, VDKEY usDead, UniChar ucIn, UniChar * pucOut, VDKEY * pusDeadKey); 350 349 APIRET KBDLINK UniUntranslateKey(KHAND hKeyboard, UniChar uc, VDKEY vdkey, VSCAN * pscan, ULONG * eshift); 351 352 #ifdef __cplusplus 353 } 350 __END_DECLS 351 354 352 #endif 355 #endif 356 357 353 354 -
Property cvs2svn:cvs-rev
changed from
-
trunk/src/emx/include/unistd.h
-
Property cvs2svn:cvs-rev
changed from
1.17
to1.18
r1505 r1506 1 /* $Id: */ 2 /** @file 3 * EMX/FreeBSD 5.1 4 * 5 * @changed Commented out stuff which isn't implemented, TCPIP stuff at bottom. 6 * @todo Several man-years.. ;) Serious, complete the FreeBSD 5.1 merge and 7 * implement all the functions. Currently there is a bunch of POSIX 8 * #defines missing. 9 */ 10 1 11 /*- 2 12 * Copyright (c) 1991, 1993, 1994 … … 35 45 */ 36 46 37 /** @file38 * EMX/FreeBSD 5.139 *40 * @changed Commented out stuff which isn't implemented, TCPIP stuff at bottom.41 * @todo Several man-years.. ;) Serious, complete the FreeBSD 5.1 merge and42 * implement all the functions. Currently there is a bunch of POSIX43 * #defines missing.44 */45 46 47 #ifndef _UNISTD_H_ 47 48 #define _UNISTD_H_ -
Property cvs2svn:cvs-rev
changed from
-
trunk/src/emx/include/utils.h
-
Property cvs2svn:cvs-rev
changed from
1.5
to1.6
r1505 r1506 1 /* emx/gcc */ 1 /* utils.h,v 1.6 2004/09/14 22:27:36 bird Exp */ 2 /** @file 3 * OS/2 TCPIP 4 */ 5 2 6 #ifndef _UTILS_H_ 3 7 #define _UTILS_H_ 8 9 #include <sys/cdefs.h> 4 10 5 11 #ifndef TCPCALL … … 27 33 #endif 28 34 29 #ifdef __cplusplus 30 extern "C" { 31 #endif 35 __BEGIN_DECLS 32 36 33 37 #if !defined(_SIZE_T_DECLARED) && !defined(_SIZE_T) /* bird: emx */ … … 40 44 int strncasecmp (__const__ char *, __const__ char *, size_t); 41 45 42 #ifdef __cplusplus 43 } 44 #endif 46 __END_DECLS 45 47 46 48 /* MIN/MAX */ -
Property cvs2svn:cvs-rev
changed from
-
trunk/src/emx/include/utime.h
-
Property cvs2svn:cvs-rev
changed from
1.1
to1.2
r1505 r1506 1 /* utime.h (emx+gcc) */ 2 3 #ifndef _UTIME_H 4 #define _UTIME_H 1 /* utime.h,v 1.2 2004/09/14 22:27:36 bird Exp */ 2 /** @file 3 * FreeBSD 5.1 4 * @see sys/utime.h 5 */ 5 6 #include <sys/utime.h> 6 #endif /* not _UTIME_H */ -
Property cvs2svn:cvs-rev
changed from
-
trunk/src/emx/include/varargs.h
-
Property cvs2svn:cvs-rev
changed from
1.1
to1.2
r1505 r1506 1 /* varargs.h (emx+gcc) */ 1 /* varargs.h,v 1.2 2004/09/14 22:27:36 bird Exp */ 2 /** @file 3 * FreeBSD 5.2 4 */ 5 /*- 6 * Copyright (c) 1990, 1993 7 * The Regents of the University of California. All rights reserved. 8 * (c) UNIX System Laboratories, Inc. 9 * All or some portions of this file are derived from material licensed 10 * to the University of California by American Telephone and Telegraph 11 * Co. or Unix System Laboratories, Inc. and are reproduced herein with 12 * the permission of UNIX System Laboratories, Inc. 13 * 14 * Redistribution and use in source and binary forms, with or without 15 * modification, are permitted provided that the following conditions 16 * are met: 17 * 1. Redistributions of source code must retain the above copyright 18 * notice, this list of conditions and the following disclaimer. 19 * 2. Redistributions in binary form must reproduce the above copyright 20 * notice, this list of conditions and the following disclaimer in the 21 * documentation and/or other materials provided with the distribution. 22 * 3. All advertising materials mentioning features or use of this software 23 * must display the following acknowledgement: 24 * This product includes software developed by the University of 25 * California, Berkeley and its contributors. 26 * 4. Neither the name of the University nor the names of its contributors 27 * may be used to endorse or promote products derived from this software 28 * without specific prior written permission. 29 * 30 * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 31 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 32 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 33 * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 34 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 35 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 36 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 37 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 38 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 39 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 40 * SUCH DAMAGE. 41 * 42 * @(#)varargs.h 8.2 (Berkeley) 3/22/94 43 * $FreeBSD: src/sys/i386/include/varargs.h,v 1.8 1999/08/28 00:44:27 peter Exp $ 44 */ 2 45 3 #ifndef _VARARGS_H 4 #define _VARARGS_H46 #ifndef _VARARGS_H_ 47 #define _VARARGS_H_ 5 48 6 #if !defined (NULL) 7 #if defined (__cplusplus) 8 #define NULL 0 49 typedef char *va_list; 50 51 #define __va_size(type) \ 52 (((sizeof(type) + sizeof(int) - 1) / sizeof(int)) * sizeof(int)) 53 54 #ifdef __GNUC__ 55 #define va_alist __builtin_va_alist 56 #endif 57 #if __GNUC__ > 1 58 #define va_dcl int va_alist; ... 9 59 #else 10 #define NULL ((void *)0) 11 #endif 60 #define va_dcl int va_alist; 12 61 #endif 13 62 14 #define _VA_LIST 63 #define va_start(ap) \ 64 ((ap) = (va_list)&va_alist) 15 65 16 #define _VA_ROUND(type) ((sizeof (type) + 3) & -4) 66 #define va_arg(ap, type) \ 67 (*(type *)((ap) += __va_size(type), (ap) - __va_size(type))) 17 68 18 #define va_alist __builtin_va_alist 19 #define va_dcl int __builtin_va_alist; 20 #define va_list char * 69 #define va_end(ap) 21 70 22 #define va_start(alist) alist = (char *)&__builtin_va_alist 23 #define va_end(alist) (alist = 0, (void)0) 24 #define __std_va_arg(alist,t) (alist += _VA_ROUND (t), \ 25 *((t *)(alist - _VA_ROUND (t)))) 26 27 #ifdef __BOUNDS_CHECKING_ON 28 #include <fix-args.h> 29 #else 30 #define va_arg(alist,t) __std_va_arg(alist,t) 31 #endif 32 33 #endif /* not _VARARGS_H */ 71 #endif /* !_VARARGS_H_ */ -
Property cvs2svn:cvs-rev
changed from
-
trunk/src/emx/include/xregex.h
-
Property cvs2svn:cvs-rev
changed from
1.1
to1.2
r1505 r1506 1 /* xregex.h,v 1.2 2004/09/14 22:27:36 bird Exp */ 2 /** @file 3 * GNU, -liberty. 4 */ 5 1 6 /* This file redefines all regex external names before including 2 7 a renamed copy of glibc's regex.h. */ … … 5 10 #define _XREGEX_H 1 6 11 7 # define regfree xregfree 12 # define regfree xregfree 8 13 # define regexec xregexec 9 14 # define regcomp xregcomp -
Property cvs2svn:cvs-rev
changed from
-
trunk/src/emx/include/xregex2.h
-
Property cvs2svn:cvs-rev
changed from
1.1
to1.2
r1505 r1506 1 /* xregex2.h,v 1.2 2004/09/14 22:27:36 bird Exp */ 2 /** @file 3 * GNU, -liberty. 4 */ 5 1 6 /* Definitions for data structures and routines for the regular 2 7 expression library, version 0.12. -
Property cvs2svn:cvs-rev
changed from
-
trunk/src/emx/src/lib/misc/basename.c
-
Property cvs2svn:cvs-rev
changed from
1.2
to1.3
r1505 r1506 1 1 /* 2 Locale support implementation through OS/2 Unicode API. 3 Copyright (c) 2003 InnoTek Systemberatung GmbH 4 5 For conditions of distribution and use, see the file COPYING. 6 7 Standard XPG basename() implementation. 8 Returns a pointer to the last component of a pathname. 9 If pathname ends with a slash, it is removed. 10 If pathname is NULL or empty, "." is returned. 11 If pathname consist only of slashes, "/" is returned. 12 */ 2 * Copyright (c) 1997 Todd C. Miller <Todd.Miller@courtesan.com> 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 9 * notice, this list of conditions and the following disclaimer. 10 * 2. Redistributions in binary form must reproduce the above copyright 11 * notice, this list of conditions and the following disclaimer in the 12 * documentation and/or other materials provided with the distribution. 13 * 3. The name of the author may not be used to endorse or promote products 14 * derived from this software without specific prior written permission. 15 * 16 * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, 17 * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY 18 * AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL 19 * THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 20 * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 21 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; 22 * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 23 * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 24 * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF 25 * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 26 */ 13 27 14 28 #include "libc-alias.h" 29 #if 0 30 #ifndef lint 31 static char rcsid[] = "$OpenBSD: basename.c,v 1.4 1999/05/30 17:10:30 espie Exp $"; 32 #endif /* not lint */ 33 #endif 34 #include <sys/cdefs.h> 35 __FBSDID("$FreeBSD: src/lib/libc/gen/basename.c,v 1.7 2002/12/30 01:41:14 marcel Exp $"); 36 37 #include <errno.h> 15 38 #include <libgen.h> 39 #include <stdlib.h> 16 40 #include <string.h> 17 #include < ctype.h>41 #include <sys/param.h> 18 42 19 char *_STD(basename) (char *pathname); /* header is messing with the name redefinition. */ 43 char * 44 _STD(basename)(path) 45 const char *path; 46 { 47 static char *bname = NULL; 48 const char *endp, *startp; 20 49 21 char *_STD(basename) (char *pathname) 22 { 23 char *x; 24 char *oldpath = pathname; 50 if (bname == NULL) { 51 bname = (char *)malloc(MAXPATHLEN); 52 if (bname == NULL) 53 return(NULL); 54 } 25 55 26 if (!pathname || !*pathname) 27 return "."; 56 /* Empty or NULL string gets treated as "." */ 57 if (path == NULL || *path == '\0') { 58 (void)strcpy(bname, "."); 59 return(bname); 60 } 28 61 29 /* Skip drive specifier, if any */ 30 if (isalpha (pathname [0]) && (pathname [1] == ':')) 31 pathname += 2; 62 /* Strip trailing slashes */ 63 endp = path + strlen(path) - 1; 64 while (endp > path && (*endp == '/' || *endp == '\\')) 65 endp--; 32 66 33 x = strchr (pathname, 0); 34 /* Remove all trailing slashes */ 35 while ((x [-1] == '/' || x [-1] == '\\') && (x > pathname)) 36 *--x = 0; 37 if (x == pathname) 38 { 39 /* If pathname contains a drive letter, returns DRIVE:/, not just "/" */ 40 if (oldpath != pathname) 41 { 42 *x++ = '/'; 43 *x = 0; 44 return oldpath; 45 } 46 return "/"; 47 } 67 /* All slashes becomes "/" */ 68 if (endp == path && (*endp == '/' || *endp == '\\')) { 69 (void)strcpy(bname, "/"); 70 return(bname); 71 } 48 72 49 while ((x > pathname) && (x [-1] != '/') && (x [-1] != '\\')) 50 x--; 73 /* Find the start of the base */ 74 startp = endp; 75 while (startp > path && *(startp - 1) != '/' && *(startp - 1) != '\\' && *(startp - 1) != ':') 76 startp--; 51 77 52 return x; 78 if (endp - startp + 2 > MAXPATHLEN) { 79 errno = ENAMETOOLONG; 80 return(NULL); 81 } 82 (void)strncpy(bname, startp, endp - startp + 1); 83 bname[endp - startp + 1] = '\0'; 84 return(bname); 53 85 } 86 -
Property cvs2svn:cvs-rev
changed from
-
trunk/src/emx/src/lib/misc/dirname.c
-
Property cvs2svn:cvs-rev
changed from
1.1
to1.2
r1505 r1506 1 /* $Id$ */ 1 2 /* 2 Locale support implementation through OS/2 Unicode API. 3 Copyright (c) 2003 InnoTek Systemberatung GmbH 4 5 For conditions of distribution and use, see the file COPYING. 6 7 Standard XPG dirname() implementation. 8 This function complements the XPG basename() function. If path is 9 NULL, a empty string, or does not contain slashes (forward or backward), 10 "." is returned. Otherwise it returns a pointer to the directory part 11 of the pathname; the last slash in the pathname is replaced with zero. 12 */ 3 * Copyright (c) 1997 Todd C. Miller <Todd.Miller@courtesan.com> 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions 8 * are met: 9 * 1. Redistributions of source code must retain the above copyright 10 * notice, this list of conditions and the following disclaimer. 11 * 2. Redistributions in binary form must reproduce the above copyright 12 * notice, this list of conditions and the following disclaimer in the 13 * documentation and/or other materials provided with the distribution. 14 * 3. The name of the author may not be used to endorse or promote products 15 * derived from this software without specific prior written permission. 16 * 17 * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, 18 * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY 19 * AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL 20 * THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 21 * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 22 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; 23 * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 24 * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 25 * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF 26 * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 */ 13 28 14 29 #include "libc-alias.h" 30 #if 0 31 #ifndef lint 32 static char rcsid[] = "$OpenBSD: dirname.c,v 1.4 1999/05/30 17:10:30 espie Exp $"; 33 #endif /* not lint */ 34 #endif 35 #include <sys/cdefs.h> 36 __FBSDID("$FreeBSD: src/lib/libc/gen/dirname.c,v 1.7 2002/12/30 01:41:14 marcel Exp $"); 37 38 #include <errno.h> 15 39 #include <libgen.h> 40 #include <stdlib.h> 16 41 #include <string.h> 42 #include <sys/param.h> 17 43 18 char *_STD(dirname) (char *pathname) 44 char * 45 _STD(dirname)(path) 46 const char *path; 19 47 { 20 char *x; 48 static char *bname = NULL; 49 const char *endp; 21 50 22 if (!pathname || !*pathname) 23 return "."; 51 if (bname == NULL) { 52 bname = (char *)malloc(MAXPATHLEN); 53 if (bname == NULL) 54 return(NULL); 55 } 24 56 25 x = strchr (pathname, 0); 26 while ((x > pathname) && (x [-1] != '/') && (x [-1] != '\\') && (x [-1] != ':')) 27 x--;28 while ((x > pathname) && ((x [-1] == '/') || (x [-1] == '\\'))) 29 x--; 57 /* Empty or NULL string gets treated as "." */ 58 if (path == NULL || *path == '\0') { 59 (void)strcpy(bname, "."); 60 return(bname); 61 } 30 62 31 if (x == pathname) 32 return "."; 63 /* Strip trailing slashes */ 64 endp = path + strlen(path) - 1; 65 while (endp > path && (*endp == '/' || *endp == '\\')) 66 endp--; 33 67 34 *x = 0; 35 return pathname; 68 /* Find the start of the dir */ 69 while (endp > path && *endp != '/' && *endp != '/' && *endp != ':') 70 endp--; 71 72 /* Either the dir is "/" or there are no slashes */ 73 if (endp == path) { 74 (void)strcpy(bname, *endp == '/' || *endp == '\\' ? "/" : "."); 75 return(bname); 76 } else { 77 do { 78 endp--; 79 } while (endp > path && (*endp == '/' || *endp == '\\')); 80 } 81 82 if (endp - path + 2 > MAXPATHLEN) { 83 errno = ENAMETOOLONG; 84 return(NULL); 85 } 86 (void)strncpy(bname, path, endp - path + 1); 87 bname[endp - path + 1] = '\0'; 88 return(bname); 36 89 } -
Property cvs2svn:cvs-rev
changed from
-
trunk/src/emx/src/lib/sys/pathrewrite.c
-
Property cvs2svn:cvs-rev
changed from
1.2
to1.3
r1505 r1506 207 207 208 208 209 /* 210 * Unix root. 211 */ 212 /** The unixroot directory. */ 213 static char gszUnixRoot[260]; 214 /** /@unixroot/ -> ${UNIXROOT} rewrite rules */ 215 static __LIBC_PATHREWRITE gBltinRule_unixroot = 216 { __LIBC_PRWF_CASE_SENSITIVE | __LIBC_PRWF_TYPE_DIR, "/@unixroot", 10, gszUnixRoot, 0 }; 217 218 209 219 /******************************************************************************* 210 220 * Internal Functions * 211 221 *******************************************************************************/ 212 222 static void __libc_pathRewriteDeleteDir(PDIRECTORY pDir); 213 void __libc_pathRewriteInit(void);223 static void __libc_pathRewriteInit(void); 214 224 /* static void __libc_pathRewriteTerm(void); */ 225 226 _CRT_INIT1(__libc_pathRewriteInit) 215 227 216 228 /** … … 218 230 * @remark Cannot be static as GCC will optimize it away then. 219 231 */ 220 void __libc_pathRewriteInit(void) 221 { 232 static void __libc_pathRewriteInit(void) 233 { 234 static void *pfnDummy = __libc_pathRewriteInit; 222 235 LIBCLOG_ENTER("\n"); 223 236 const char *psz; 237 238 /* 239 * Extra unix features. 240 */ 241 if (1) 242 { 243 /* 244 * Check for unixroot. 245 */ 246 psz = getenv("UNIXROOT"); 247 if (psz) 248 { 249 size_t cch = strlen(psz); 250 if (cch < sizeof(gszUnixRoot) - 1) 251 { 252 memcpy(gszUnixRoot, psz, cch + 1); 253 gBltinRule_unixroot.cchTo = cch; 254 __libc_PathRewriteAdd(&gBltinRule_unixroot, 1); 255 } 256 } 257 } 224 258 225 259 /* … … 321 355 memcpy(szSym, pszSym, pszSymEnd - pszSym); 322 356 szSym[pszSymEnd - pszSym] = '\0'; 323 rc = DosQueryProcAddr(hmod, 0, (PSZ)szSym, (PFN*) &pfnRewriter);357 rc = DosQueryProcAddr(hmod, 0, (PSZ)szSym, (PFN*)(void *)&pfnRewriter); 324 358 if (!rc) 325 359 { … … 341 375 342 376 LIBCLOG_RETURN_VOID(); 377 pfnDummy = pfnDummy; 343 378 } 344 _CRT_INIT1(__libc_pathRewriteInit);345 379 346 380 -
Property cvs2svn:cvs-rev
changed from
Note:
See TracChangeset
for help on using the changeset viewer.