summaryrefslogtreecommitdiffstats
path: root/lib/libcurses/curses.h
diff options
context:
space:
mode:
authorsef <sef@FreeBSD.org>1994-08-13 23:15:38 +0000
committersef <sef@FreeBSD.org>1994-08-13 23:15:38 +0000
commit75d40fe0bd2b890ceffb238a53e26b30cee120de (patch)
treebbb514854ed4891d87f8d7be9bbcca0b27533595 /lib/libcurses/curses.h
parent5769d4da59542affce5fd4e48c98355e45206254 (diff)
downloadFreeBSD-src-75d40fe0bd2b890ceffb238a53e26b30cee120de.zip
FreeBSD-src-75d40fe0bd2b890ceffb238a53e26b30cee120de.tar.gz
Brought the 2.0 libcurses up-to-date with the current 4.4 stuff, as
distributed in keith bostic's nvi (got his permission first). Most changes are cosmetic, but a few errors (mostly in tty..c) were cleared up. Reviewed by: Sean Eric Fagan
Diffstat (limited to 'lib/libcurses/curses.h')
-rw-r--r--lib/libcurses/curses.h24
1 files changed, 13 insertions, 11 deletions
diff --git a/lib/libcurses/curses.h b/lib/libcurses/curses.h
index 0eaef1e..3c585e6 100644
--- a/lib/libcurses/curses.h
+++ b/lib/libcurses/curses.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1981, 1993
+ * Copyright (c) 1981, 1993, 1994
* The Regents of the University of California. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -30,12 +30,15 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * @(#)curses.h 8.2 (Berkeley) 1/2/94
+ * @(#)curses.h 8.3 (Berkeley) 7/27/94
*/
#ifndef _CURSES_H_
#define _CURSES_H_
+#include <sys/types.h>
+#include <sys/cdefs.h>
+
#include <stdio.h>
/*
@@ -137,14 +140,13 @@ typedef struct __window { /* Window structure. */
#define __ENDLINE 0x001 /* End of screen. */
#define __FLUSH 0x002 /* Fflush(stdout) after refresh. */
-#define __FULLLINE 0x004 /* Line width = terminal width. */
-#define __FULLWIN 0x008 /* Window is a screen. */
-#define __IDLINE 0x010 /* Insert/delete sequences. */
-#define __SCROLLWIN 0x020 /* Last char will scroll window. */
-#define __SCROLLOK 0x040 /* Scrolling ok. */
-#define __CLEAROK 0x080 /* Clear on next refresh. */
-#define __WSTANDOUT 0x100 /* Standout window */
-#define __LEAVEOK 0x200 /* If curser left */
+#define __FULLWIN 0x004 /* Window is a screen. */
+#define __IDLINE 0x008 /* Insert/delete sequences. */
+#define __SCROLLWIN 0x010 /* Last char will scroll window. */
+#define __SCROLLOK 0x020 /* Scrolling ok. */
+#define __CLEAROK 0x040 /* Clear on next refresh. */
+#define __WSTANDOUT 0x080 /* Standout window */
+#define __LEAVEOK 0x100 /* If curser left */
u_int flags;
} WINDOW;
@@ -309,7 +311,7 @@ void __stop_signal_handler __P((int));
void __swflags __P((WINDOW *));
int __touchline __P((WINDOW *, int, int, int, int));
int __touchwin __P((WINDOW *));
-char *__tscroll __P((const char *, int));
+char *__tscroll __P((const char *, int, int));
int __waddch __P((WINDOW *, __LDATA *));
/* Private #defines. */
OpenPOWER on IntegriCloud