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/ham_en/ham/hamapi/ham_verbose.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/ham_en/ham/hamapi/ham_verbose.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/ham_en/ham/hamapi/ham_verbose.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/ham_en/ham/hamapi/ham_verbose.html on line 8
Modify the verbosity of a HAM
#include <ha/ham.h>
int ham_verbose( const char *nodename,
int op,
int value);
- nodename
- The name of the node on which to make the change, or
NULL if you want to change the verbosity on the current
node.
- op
- The operation to perform on the verbosity; one of the following:
- VERBOSE_SET_INCR — increment the verbosity.
- VERBOSE_SET_DECR — decrement the verbosity.
- VERBOSE_SET — set the verbosity to a specific value.
- VERBOSE_GET — get the verbosity.
- value
- The increment, decrement, or specific value for the verbosity,
depending on the value of op.
The value must be a non-negative integer.
If value is zero, the function uses 1 for the increment or
decrement.
libham
The ham_verbose function can be used to get or
modify the verbosity of a HAM.
You can also use the hamctrl utility to do this.
When setting the verbosity:
- 0
- Success.
- -1
- An error occurred (errno is set).
If op is VERBOSE_GET, the function returns the
current verbosity, or -1 if an error occurred (errno is set).
- EBADF
- Couldn't connect to the HAM.
- EINVAL
- The value or op variable is invalid.
In addition to the above errors, the HAM returns any error
it encounters while servicing this request.
QNX Neutrino
Safety: | |
Cancellation point |
No |
Interrupt handler |
No |
Signal handler |
No |
Thread |
Yes |
ham_stop()
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/ham_en/ham/hamapi/ham_verbose.html on line 170
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/ham_en/ham/hamapi/ham_verbose.html on line 170