IOgetText

Top  Previous  Next

Input from window system fetch.

IOgetText fetches the next input at the momentary Eingabedevice. If still inputs are in the queue, is copied by these first after text. Besides, the part which does not fit if necessary any more in text is cut off and not delivered. The surviving part is thrown away and not delivered by the following calls.

Parametre

root (PROOT) [IN]

Act on the open data bank.

text (char *) [OUT]

In this buffer area the input line <>is copied without final <CR>. If the buffer is too small to take up the whole line, the rest is cut off. The buffer is always limited by an ASCII zero sign.

len (int) [IN]

In len the length of the buffer area is informed. This information is calculated on final zero sign. If the buffer is according to this information too small for the input line, this is shortened.

Result

---

Declaration

#include "system.h"

 

void DLLENTRY IOgetText (

PROOT root,

char * text,

int len

);