Set the flags for a data server variable
#include <ds.h> int ds_flags( ds_t dsdes, const char* variable_name, char flags );
libds
Use the -l ds option to qcc to link against this library.
The ds_flags() function changes the state of the flags belonging to the variable called variable_name on the data server identified by dsdes.
0 for success, or -1 if an error occurs (errno is set).
Safety: | |
---|---|
Cancellation point | Yes |
Interrupt handler | No |
Signal handler | Yes |
Thread | Yes |
ds_clear(), ds_create(), ds_deregister(), ds_set()