void GPC_GETS(prompt, buf, nbytes) BAUX(OS2)(WIN).C Level 3
 
char *prompt The string for the displayed prompt.
char *buf The returned string with the user's response. Be sure that the string you allocate is long enough to hold any user response.
int nbytes The length of buf in bytes.
 
n GUI environments, this routine displays a dialog box with a prompt field and an edit box for entering text. The entered text is returned in buf and must be processed by the user's code. In DOS, GPC_GETS() is a macro that uses printf() and gets();