X-Git-Url: https://code.delx.au/gnu-emacs/blobdiff_plain/4a4bbad21472cc0ede4691cbdbf8117b655b574f..5e6d03b2abd37151ae1329c4b98edfa8242d2f0f:/src/systty.h diff --git a/src/systty.h b/src/systty.h index b7f36c6c25..b735971c66 100644 --- a/src/systty.h +++ b/src/systty.h @@ -1,5 +1,5 @@ /* systty.h - System-dependent definitions for terminals. - Copyright (C) 1993-1994, 2001-2012 Free Software Foundation, Inc. + Copyright (C) 1993-1994, 2001-2013 Free Software Foundation, Inc. This file is part of GNU Emacs. @@ -52,27 +52,6 @@ along with GNU Emacs. If not, see . */ #endif /* not CDEL */ #endif /* not _POSIX_VDISABLE */ -/* Get the number of characters queued for output. */ - -/* EMACS_OUTQSIZE(FD, int *SIZE) stores the number of characters - queued for output to the terminal FD in *SIZE, if FD is a tty. - Returns -1 if there was an error (i.e. FD is not a tty), 0 - otherwise. */ -#ifdef TIOCOUTQ -#define EMACS_OUTQSIZE(fd, size) (ioctl ((fd), TIOCOUTQ, (size))) -#endif - - -/* Manipulate a terminal's current process group. */ - -/* EMACS_GETPGRP (arg) returns the process group of the process. */ - -#if defined (GETPGRP_VOID) -# define EMACS_GETPGRP(x) getpgrp() -#else /* !GETPGRP_VOID */ -# define EMACS_GETPGRP(x) getpgrp(x) -#endif /* !GETPGRP_VOID */ - /* Manipulate a TTY's input/output processing parameters. */ /* struct emacs_tty is a structure used to hold the current tty @@ -100,5 +79,5 @@ struct emacs_tty { }; /* From sysdep.c or w32.c */ -extern int serial_open (char *); +extern int serial_open (Lisp_Object); extern void serial_configure (struct Lisp_Process *, Lisp_Object);