6 * Return a negative error code if the query itself or the processing of the
7 * query resulted in an error.
8 * Return 1 if there are more processes waiting to be queried.
9 * Return 0 if there are no more processes.
10 * Note that for the return value of 0 and 1, the 'endpt' is set accordingly.
13 vm_query_exit(int *endpt
)
18 memset(&m
, 0, sizeof(m
));
19 r
= _taskcall(VM_PROC_NR
, VM_QUERY_EXIT
, &m
);
25 *endpt
= m
.m_lsys_vm_query_exit
.ret_pt
;
26 return (m
.m_lsys_vm_query_exit
.is_more
? 1 : 0);
30 vm_watch_exit(endpoint_t ep
)
34 memset(&m
, 0, sizeof(m
));
36 return _taskcall(VM_PROC_NR
, VM_WATCH_EXIT
, &m
);