2 Copyright (C) 2003, 2010 - Wolfire Games
4 This file is part of Lugaru.
6 Lugaru is free software; you can redistribute it and/or
7 modify it under the terms of the GNU General Public License
8 as published by the Free Software Foundation; either version 2
9 of the License, or (at your option) any later version.
11 This program is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
15 See the GNU General Public License for more details.
17 You should have received a copy of the GNU General Public License
18 along with this program; if not, write to the Free Software
19 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
22 /************************************************************
25 Assorted helper functions associated with CarbonStdClib.o.
27 Copyright Apple Computer,Inc. 2001
30 * Warning: This interface is NOT a part of the ANSI C standard.
31 * This header file is not POSIX compliant.
32 * For portable code, don't use this interface.
34 ************************************************************/
37 #ifndef __CARBONSTDCLIB__
38 #define __CARBONSTDCLIB__
40 #ifndef __CONDITIONALMACROS__
41 #include <ConditionalMacros.h>
44 #if defined (__powerc) || defined (powerc) || defined (__CFM68K__)
50 #endif /* __cplusplus */
52 #if !(CALL_NOT_IN_CARBON || __MPWINTERNAL__)
54 extern void InitCarbonStdCLib( void ) ;
55 extern void TermCarbonStdCLib( void ) ;
57 extern void ConvertUnixPathToHFSPath(const char *unixPath, char *hfsPath) ;
58 extern void ConvertHFSPathToUnixPath(const char *hfsPath, char *unixPath) ;
62 int bsd_chdir(const char *path) ;
63 int bsd_chmod(const char *path , int mode) ;
69 #endif /* __cplusplus */
71 #if defined (__powerc) || defined (powerc) || defined (__CFM68K__)
75 #endif /* __CARBONSTDCLIB__ */