Back to home page

MITgcm

 
 

    


File indexing completed on 2018-03-02 18:44:45 UTC

view on githubraw file Latest commit ec6cf3b0 on 2003-08-26 20:45:25 UTC
ec6cf3b09d Ed H*0001 /* (C) Copyright 1993,1994 by Carnegie Mellon University
                0002  * All Rights Reserved.
                0003  *
                0004  * Permission to use, copy, modify, distribute, and sell this software
                0005  * and its documentation for any purpose is hereby granted without
                0006  * fee, provided that the above copyright notice appear in all copies
                0007  * and that both that copyright notice and this permission notice
                0008  * appear in supporting documentation, and that the name of Carnegie
                0009  * Mellon University not be used in advertising or publicity
                0010  * pertaining to distribution of the software without specific,
                0011  * written prior permission.  Carnegie Mellon University makes no
                0012  * representations about the suitability of this software for any
                0013  * purpose.  It is provided "as is" without express or implied
                0014  * warranty.
                0015  *
                0016  * CARNEGIE MELLON UNIVERSITY DISCLAIMS ALL WARRANTIES WITH REGARD TO
                0017  * THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
                0018  * AND FITNESS, IN NO EVENT SHALL CARNEGIE MELLON UNIVERSITY BE LIABLE
                0019  * FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
                0020  * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN
                0021  * AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING
                0022  * OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
                0023  * SOFTWARE.
                0024  */
                0025 
                0026 #ifdef __riscos
                0027 #define TEMPFILENAME "TempDesc"
                0028 #else
                0029 #define TEMPFILENAME "tempdesc.txt"
                0030 #endif
                0031 
                0032 #if defined(unix) && !defined(remove)
                0033 #define remove unlink
                0034 #endif
                0035 
                0036 typedef char **params;
                0037 
                0038 /* Flags for os_newtypedfile */
                0039 #define FILE_BINARY 0x1         /* File should be opened in binary mode */
                0040 #define FILE_INAPPLEDOUBLE 0x2  /* File was inside multipart/appledouble */
                0041 
                0042 
                0043 #ifndef HAVE_STRCHR
                0044 #define strchr index
                0045 #define strrchr rindex
                0046 #endif