Warning: main(/www/www/htdocs/style/globals.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/neutrino/lib_ref/d/ds_clear.html on line 1
Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/globals.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/neutrino/lib_ref/d/ds_clear.html on line 1
Warning: main(/www/www/htdocs/style/header.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/neutrino/lib_ref/d/ds_clear.html on line 8
Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/header.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/neutrino/lib_ref/d/ds_clear.html on line 8
Delete a data server variable
#include <ds.h>
int ds_clear( ds_t dsdes,
const char* variable_name );
- dsdes
- A data server descriptor returned by
ds_register().
- variable_name
- The name of the variable that you want to delete.
libds
Use the -l ds option to
qcc
to link against this library.
The ds_clear() function deletes variable_name
from the data server identified by dsdes.
- 0
- Success.
- -1
- An error occurred (errno is set).
- EBADF
- Invalid file descriptor dsdes.
- ESRCH
- The variable doesn't exist in the data server.
See slinger
in the Utilities Reference.
QNX Neutrino
Safety: | |
Cancellation point |
Yes |
Interrupt handler |
No |
Signal handler |
Yes |
Thread |
Yes |
ds_deregister(),
ds_flags()
Warning: main(/www/www/htdocs/style/footer.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/neutrino/lib_ref/d/ds_clear.html on line 145
Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/footer.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/neutrino/lib_ref/d/ds_clear.html on line 145