QNX Developer Support
![]() |
![]() |
![]() |
![]() |
ds_deregister()
Deregister an application with the data server
Synopsis:
#include <ds.h> int ds_deregister( ds_t dsdes );
Arguments:
- dsdes
- A data server descriptor returned by ds_register().
Library:
libds
Use the -l ds option to qcc to link against this library.
Description:
The ds_deregister() function deregisters your application with the data server, dsdes, and deletes any variables that the data server process created, except those with the DS_PERM flag set (see ds_flags()).
Returns:
- 0
- Success.
- -1
- An error occurred (errno is set).
Errors:
- EBADF
- Invalid file descriptor, dsdes.
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)
