function should be called whenver another API function returns
.Dv TC_ERR .
It returns a string containing a description of the error that
-occured.
+occurred.
.Pp
The
.Fn tc_api_get_summary
.Dv TC_OK
to signal that the operation completed successfully, or
.Dv TC_ERR
-to signal that an error occured.
+to signal that an error occurred.
.Pp
The
.Fn tc_api_get_error_msg
.Pp
The vkernel will hold a lock on the pidfile while running.
Scripts may test for the lock to determine if the pidfile is valid or
-stale so as to avoid accidently killing a random process.
+stale so as to avoid accidentally killing a random process.
Something like '/usr/bin/lockf -ks -t 0 pidfile echo -n' may be used
to test the lock.
A non-zero exit code indicates that the pidfile represents a running