view src/s/bsdos4.h @ 1116:3bcd77d0bf93

[xemacs-hg @ 2002-11-22 12:57:09 by ben] file-truename and other crash fileio.c: Fix crashes due to incorrectly ported code from FSF. realpath.c: Don't return EIO when a filename is incorrect, since the I/O error gets passed all the way up. Clean up this file and avoid using macros as a poor-man's dispatch mechanism -- it just makes it impossible to follow the code.
author ben
date Fri, 22 Nov 2002 12:57:11 +0000
parents 00e9371a84f3
children
line wrap: on
line source

#include "bsdos3.h"

/* BSD/OS seems to have switched to ELF format for executables. */
#ifdef __ELF__

#undef ORDINARY_LINK
#define ORDINARY_LINK 1
#define UNEXEC unexelf.o

#endif /* ELF */

/* The declaration for openpty is missing.  Where is libutil.h? */
#ifndef NOT_C_CODE
struct termios;
struct winsize;
int openpty (int *, int *, char *, struct termios *, struct winsize *);
#endif