Determines the mode of the application screen.
#include <screen.h>
int getscreenmode (
unsigned long *mode);
(OUT) Specifies the mode of the screen.
If successful, returns 0. Otherwise, returns -1 and sets errno to one of the following: