(latexenc-find-file-coding-system): Don't inherit the EOL part of the
[emacs.git] / mac / inc / sys / file.h
blob0566b63cd58ef6f756e0bce4765f846126001507
1 /* Replacement sys/file.h file for building GNU Emacs on the Macintosh.
2 Copyright (C) 1999, 2000 Free Software Foundation, Inc.
4 This file is part of GNU Emacs.
6 GNU Emacs is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation; either version 2, or (at your option)
9 any later version.
11 GNU Emacs 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. See the
14 GNU General Public License for more details.
16 You should have received a copy of the GNU General Public License
17 along with GNU Emacs; see the file COPYING. If not, write to
18 the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
19 Boston, MA 02111-1307, USA. */
21 /* Contributed by Andrew Choi (akochoi@mac.com). */
23 #ifndef _SYS_FILE_H
24 #define _SYS_FILE_H
26 #include <Files.h>
27 #include <sys/types.h>
28 #include <sys/stat.h>
30 #ifdef __MRC__
31 #undef open
32 #undef creat
34 #define open mpw_open
35 #define creat mpw_creat
37 #include <fcntl.h>
39 #undef open
40 #undef creat
42 #define open sys_open
43 #define creat sys_creat
44 #endif
46 #ifdef __MWERKS__
47 #include <unix.h>
48 #endif
50 mode_t umask(mode_t);
52 void abort(void);
53 void _exit(int);
54 int kill(int,int);
55 int alarm(int);
56 int pause(void);
57 char *getwd(char *);
59 #endif /* _SYS_FILE_H */
61 /* arch-tag: c3a653d5-f228-4d62-a47c-0398015195de
62 (do not change this comment) */