annotate src/s/bsdos4.h @ 2502:261c5cd19207

[xemacs-hg @ 2005-01-26 03:40:10 by ben] Puh-raise the lawd! insert-data-in-exec.c: Need to open everything as binary. Makefile.in.in: Don't compile executable as Windows (-mwindows) under Cygwin. Semi-recent changes to Cygwin's executable-startup handling make it impossible to access the TTY this way. Don't use special linker file under Cygwin (cygwin.sc) except when non-PDUMP (even in this case it is highly questionable); you get errors like 1 [main] temacs 1364 fhandler_console::fixup_after_exec: error opening input console handle after exec, errno 13, Win32 error 5 5820 [main] temacs 1364 fhandler_console::fixup_after_exec: error opening output console handle after exec, errno 13, Win32 error 5
author ben
date Wed, 26 Jan 2005 03:40:15 +0000
parents 00e9371a84f3
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
333
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
1 #include "bsdos3.h"
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
2
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
3 /* BSD/OS seems to have switched to ELF format for executables. */
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
4 #ifdef __ELF__
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
5
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
6 #undef ORDINARY_LINK
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
7 #define ORDINARY_LINK 1
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
8 #define UNEXEC unexelf.o
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
9
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
10 #endif /* ELF */
508
0be8704d6062 [xemacs-hg @ 2001-05-05 10:21:20 by martinb]
martinb
parents: 333
diff changeset
11
0be8704d6062 [xemacs-hg @ 2001-05-05 10:21:20 by martinb]
martinb
parents: 333
diff changeset
12 /* The declaration for openpty is missing. Where is libutil.h? */
517
00e9371a84f3 [xemacs-hg @ 2001-05-08 05:16:01 by martinb]
martinb
parents: 508
diff changeset
13 #ifndef NOT_C_CODE
508
0be8704d6062 [xemacs-hg @ 2001-05-05 10:21:20 by martinb]
martinb
parents: 333
diff changeset
14 struct termios;
0be8704d6062 [xemacs-hg @ 2001-05-05 10:21:20 by martinb]
martinb
parents: 333
diff changeset
15 struct winsize;
0be8704d6062 [xemacs-hg @ 2001-05-05 10:21:20 by martinb]
martinb
parents: 333
diff changeset
16 int openpty (int *, int *, char *, struct termios *, struct winsize *);
517
00e9371a84f3 [xemacs-hg @ 2001-05-08 05:16:01 by martinb]
martinb
parents: 508
diff changeset
17 #endif