Mercurial > hg > xemacs-beta
comparison src/sysdep.h @ 274:ca9a9ec9c1c1 r21-0b35
Import from CVS: tag r21-0b35
author | cvs |
---|---|
date | Mon, 13 Aug 2007 10:29:42 +0200 |
parents | 727739f917cb |
children | 7df0dd720c89 |
comparison
equal
deleted
inserted
replaced
273:411aac7253ef | 274:ca9a9ec9c1c1 |
---|---|
76 naturally interruptible. */ | 76 naturally interruptible. */ |
77 | 77 |
78 extern JMP_BUF break_system_call_jump; | 78 extern JMP_BUF break_system_call_jump; |
79 extern volatile int can_break_system_calls; | 79 extern volatile int can_break_system_calls; |
80 | 80 |
81 int sys_write_1 (int fildes, CONST void *buf, unsigned int nbyte, | 81 int sys_write_1 (int fildes, CONST void *buf, size_t nbyte, |
82 int allow_quit); | 82 int allow_quit); |
83 int sys_read_1 (int fildes, void *buf, unsigned int nbyte, | 83 int sys_read_1 (int fildes, void *buf, size_t nbyte, |
84 int allow_quit); | 84 int allow_quit); |
85 | 85 |
86 /* Call these functions if you want to change some terminal parameter -- | 86 /* Call these functions if you want to change some terminal parameter -- |
87 reset the console, change the parameter, and init it again. */ | 87 reset the console, change the parameter, and init it again. */ |
88 void init_one_console (struct console *c); | 88 void init_one_console (struct console *c); |
156 #ifndef HAVE_STRERROR | 156 #ifndef HAVE_STRERROR |
157 /* X11R6 defines strerror as a macro */ | 157 /* X11R6 defines strerror as a macro */ |
158 # ifdef strerror | 158 # ifdef strerror |
159 # undef strerror | 159 # undef strerror |
160 # endif | 160 # endif |
161 #if defined (__GNUC__) && defined (__GNUC_MINOR__) | |
162 #if ((__GNUC__ == 2) && (__GNUC_MINOR__ > 7)) || ((__GNUC__ > 2)) | |
163 char *strerror (int); | |
164 #else | |
161 CONST char *strerror (int); | 165 CONST char *strerror (int); |
166 #endif | |
167 #else | |
168 CONST char *strerror (int); | |
169 #endif | |
162 #endif | 170 #endif |
163 | 171 |
164 #ifdef WINDOWSNT | 172 #ifdef WINDOWSNT |
165 void mswindows_set_errno (unsigned long win32_error); | 173 void mswindows_set_errno (unsigned long win32_error); |
166 void mswindows_set_last_errno (void); | 174 void mswindows_set_last_errno (void); |