diff options
Diffstat (limited to 'lib/libcurses/curses.h')
-rw-r--r-- | lib/libcurses/curses.h | 24 |
1 files changed, 13 insertions, 11 deletions
diff --git a/lib/libcurses/curses.h b/lib/libcurses/curses.h index 0eaef1e73a77..3c585e63ea7c 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. */ |