summaryrefslogtreecommitdiff
path: root/console/display.h
diff options
context:
space:
mode:
authorMarcus Brinkmann <marcus@gnu.org>2002-08-22 19:10:52 +0000
committerMarcus Brinkmann <marcus@gnu.org>2002-08-22 19:10:52 +0000
commit4062fb2fcf938bb6a9c5d8f6404586cab11fe227 (patch)
tree698256c7c29a4d23410c0292ba7971af10af8774 /console/display.h
parenta0dd4055ce2b0d7cce5ccb5d9dad7a62bd83a8dc (diff)
2002-08-22 Marcus Brinkmann <marcus@gnu.org>
* display.h: Add prototype for display_get_size. * display.c (display_get_size): New function. (nowait_file_changed): Update for new interfaces. * console.c (new_node): Use display_get_size to retrieve size of display node. (netfs_get_dirents): Initialize FIRST_VCONS to silence gcc warning.
Diffstat (limited to 'console/display.h')
-rw-r--r--console/display.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/console/display.h b/console/display.h
index 4f9b7586..26430cd3 100644
--- a/console/display.h
+++ b/console/display.h
@@ -36,6 +36,9 @@ error_t display_create (display_t *r_display, const char *encoding,
/* Destroy the display DISPLAY. */
void display_destroy (display_t display);
+/* Return the dimension of the display in bytes. */
+off_t display_get_size (display_t display);
+
/* Return the dimensions of the display DISPLAY in *WINSIZE. */
void display_getsize (display_t display, struct winsize *winsize);