set a data server variable
#include <ds.h>
int ds_set( ds_t dsdes,
char *variable_name,
char *variable_data,
int data_len );
The ds_set() function passes the data variable_data to the data server identified by dsdes. The data server stores the data in the variable whose name is given by variable_name, overwriting any existing value.
To display the modified data on an HTML page, use the qnxvar token with the read tag. See the description of slinger in the TCP/IP User's Guide.
See the Writing Data Server Applications chapter.
QNX
| Safety: | |
|---|---|
| Interrupt handler | No |
| Signal handler | Yes, but modifies errno |
| Thread | Yes |