Set the flags for a data server variable
#include <ds.h>
int ds_flags( ds_t dsdes,
const char* variable_name,
char flags );
libds
The ds_flags() function changes the state of the flags belonging to the variable called variable_name on the data server identified by dsdes. The following flag constant is defined:
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()