QNX Developer Support
|This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs.|
Register an application with the data server
#include <ds.h> ds_t ds_register( void );
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).
- No such file or directory; the data server isn't started.
- Insufficient memory is available to communicate with the data server.
See slinger in the Utilities Reference.