Retrieves a string from the keyboard of the application screen as long as the application screen is not identical to the System Console or System Logger screen.
#include <screen.h> char *getstring ( char *string, size_t max, int display);
(OUT) Points to a null-terminated string.
(IN) Specifies the maximum length of the string (1 to 255).
(IN) Specifies whether the text in the string is displayed on the screen.
If successful, returns a string. Otherwise, returns a NULL pointer and sets errno to one of the following: