comparison src/sysdep.h @ 209:41ff10fd062f r20-4b3

Import from CVS: tag r20-4b3
author cvs
date Mon, 13 Aug 2007 10:04:58 +0200
parents 0132846995bd
children 12579d965149
comparison
equal deleted inserted replaced
208:f427b8ec4379 209:41ff10fd062f
23 #ifndef _XEMACS_SYSDEP_H_ 23 #ifndef _XEMACS_SYSDEP_H_
24 #define _XEMACS_SYSDEP_H_ 24 #define _XEMACS_SYSDEP_H_
25 25
26 #include <setjmp.h> 26 #include <setjmp.h>
27 27
28 #if !defined(VMS) || !defined(LINK_CRTL_SHARE) || !defined(SHAREABLE_LIB_BUG)
29 extern char **environ; 28 extern char **environ;
30 #else
31 extern noshare char **environ;
32 #endif /* VMS sharable environ bug */
33 29
34 struct emacs_tty; 30 struct emacs_tty;
35 int emacs_get_tty (int fd, struct emacs_tty *settings); 31 int emacs_get_tty (int fd, struct emacs_tty *settings);
36 int emacs_set_tty (int fd, struct emacs_tty *settings, int waitp); 32 int emacs_set_tty (int fd, struct emacs_tty *settings, int waitp);
37 33
152 148
153 #ifndef HAVE_DUP2 149 #ifndef HAVE_DUP2
154 int dup2 (int oldd, int newd); 150 int dup2 (int oldd, int newd);
155 #endif 151 #endif
156 152
157 #ifdef VMS
158 void init_vms_input (void);
159
160 int vms_truncate (char *fn);
161 int vlimit (void); /* BTW, name conflicts with unix syscall */
162 int define_logical_name (char *varname, char *string)
163 int delete_logical_name (char *varname);
164 int rename_sans_version (char *from, char *to);
165 char *vmserrstr (int status);
166 char *sys_translate_vms (char *vfile);
167 char *sys_translate_unix (char *ufile);
168 int creat_copy_attrs (char *old, char *new);
169 int link (char *file, char *new);
170 #endif /* VMS */
171
172 #ifndef HAVE_STRERROR 153 #ifndef HAVE_STRERROR
173 /* X11R6 defines strerror as a macro */ 154 /* X11R6 defines strerror as a macro */
174 # ifdef strerror 155 # ifdef strerror
175 # undef strerror 156 # undef strerror
176 # endif 157 # endif