Using the WebQoS API
wq_get_proc_cls()
Errors
If error logging to syslog is enabled, certain errors are logged to a file (you can specify the file in /etc/syslog.conf). Refer to the syslog(3C) and syslogd(1M) man pages for information about enabling logging.
| When an error occurs, errorcode is set to one of the following: | |
Table | wq_get_proc_cls() Error Codes | |
|
|
|
| Error Code | Description |
|
|
|
| WQERR_NOTREADY | PRM is not installed or not configured on the system. |
|
|
|
| WQERR_OTHER | If error logging to syslog is enabled (“error” level for |
|
| all facilities), the error is logged to a file. |
|
|
|
Multithreaded Applications
For
For
This function is thread safe.
Example
See Appendix A , “Sample Programs, Configuration, and Header Files,” on page 33 for an example.
Chapter 2 | 21 |