Register an application with the data server
#include <ds.h> ds_t ds_register( void );
libds
Use the -l ds option to qcc to link against this library.
The ds_register() function registers your application with the data server. The data server must reside on the same node as your application.
A data server descriptor, or -1 if an error occurs (errno is set).
See slinger in the Utilities Reference.
Safety: | |
---|---|
Cancellation point | Yes |
Interrupt handler | No |
Signal handler | Yes |
Thread | Yes |