Goto: 4C Home | 4C Docs | System PCLs List sys.get_ldata()

sys.get_ldata()

Purpose:
sys.get_ldata() requests data from an open LData connection.
Usage:
ret = sys.get_ldata(<ldname>, <flags>);
Arguments:

<ldname> - an alpha var that was used in a previous call to sys.open_ldata()

<flags> - can be one of:
Returns:
-1 = Failure and sys.errno will be set. Probably no open LData connection with name <ldname>.
0 - Success
Where Used:
sys.get_ldata() can be called from anywhere. If you specified LD_AUTOMATIC, you won't normally need to call sys.get_ldata() since your application will be sent the data as it changes anyway.
Example:
Description:
Use sys.get_ldata() to get data from non onetime non automatic LData connections with external processes. The data will be returned into the field specified int the sys.open_ldata() call.
Bugs/Features/Comments:
See Also:
sys.open_ldata()
sys.close_ldata()
sys.set_ldata()


Back to Top