diff options
| author | Nik Clayton <nik@FreeBSD.org> | 2001-05-26 12:00:30 +0000 |
|---|---|---|
| committer | Nik Clayton <nik@FreeBSD.org> | 2001-05-26 12:00:30 +0000 |
| commit | 1c5a293e07003923a7da2e7a01396a311a83f7b3 (patch) | |
| tree | 16736e91f8c8d9cff85f72adb21467c2fc218593 | |
| parent | 43871c34adb301b8381923a1ed08fc52449ae7ff (diff) | |
Notes
| -rw-r--r-- | sys/sys/consio.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/sys/sys/consio.h b/sys/sys/consio.h index 7a9fb0241b80..5cb599aaf953 100644 --- a/sys/sys/consio.h +++ b/sys/sys/consio.h @@ -239,6 +239,16 @@ typedef struct vid_info vid_info_t; /* release the current keyboard */ #define CONS_RELKBD _IO('c', 111) +/* Snapshot the current video buffer */ +#define CONS_SCRSHOT _IOWR('c', 105, scrshot_t) + +struct scrshot { + int xsize; + int ysize; + u_int16_t* buf; +}; +typedef struct scrshot scrshot_t; + /* get/set the current terminal emulator info. */ #define TI_NAME_LEN 32 #define TI_DESC_LEN 64 |
