Operating systems, development tools, and professional services
for connected embedded systems
for connected embedded systems
![]() |
![]() |
![]() |
![]() |
ds_register()
Register an application with the data server
Synopsis:
#include <ds.h> ds_t ds_register( void );
Library:
libds
Use the -l ds option to qcc to link against this library.
Description:
The ds_register() function registers your application with the data server. The data server must reside on the same node as your application.
Returns:
A data server descriptor, or -1 if an error occurs (errno is set).
Errors:
- ENOENT
- No such file or directory; the data server isn't started.
- ENOMEM
- Insufficient memory is available to communicate with the data server.
Examples:
See slinger in the Utilities Reference.
Classification:
| Safety: | |
|---|---|
| Cancellation point | Yes |
| Interrupt handler | No |
| Signal handler | Yes |
| Thread | Yes |
See also:
![]() |
![]() |
![]() |
![]() |

![[Previous]](../prev.gif)
![[Contents]](../contents.gif)
![[Index]](../keyword_index.gif)
![[Next]](../next.gif)