Index: uspace/lib/c/generic/udebug.c
===================================================================
--- uspace/lib/c/generic/udebug.c	(revision 8d2dd7f2d52fbc7693f94b66e451eeff3756d061)
+++ uspace/lib/c/generic/udebug.c	(revision da9d6cae9d1c35542e015f3d2826946a83fef587)
@@ -39,5 +39,5 @@
 #include <async.h>
 
-int udebug_begin(async_sess_t *sess)
+errno_t udebug_begin(async_sess_t *sess)
 {
 	async_exch_t *exch = async_exchange_begin(sess);
@@ -45,5 +45,5 @@
 }
 
-int udebug_end(async_sess_t *sess)
+errno_t udebug_end(async_sess_t *sess)
 {
 	async_exch_t *exch = async_exchange_begin(sess);
@@ -51,5 +51,5 @@
 }
 
-int udebug_set_evmask(async_sess_t *sess, udebug_evmask_t mask)
+errno_t udebug_set_evmask(async_sess_t *sess, udebug_evmask_t mask)
 {
 	async_exch_t *exch = async_exchange_begin(sess);
@@ -57,5 +57,5 @@
 }
 
-int udebug_thread_read(async_sess_t *sess, void *buffer, size_t n,
+errno_t udebug_thread_read(async_sess_t *sess, void *buffer, size_t n,
     size_t *copied, size_t *needed)
 {
@@ -63,5 +63,5 @@
 	
 	async_exch_t *exch = async_exchange_begin(sess);
-	int rc = async_req_3_3(exch, IPC_M_DEBUG, UDEBUG_M_THREAD_READ,
+	errno_t rc = async_req_3_3(exch, IPC_M_DEBUG, UDEBUG_M_THREAD_READ,
 	    (sysarg_t) buffer, n, NULL, &a_copied, &a_needed);
 	
@@ -72,5 +72,5 @@
 }
 
-int udebug_name_read(async_sess_t *sess, void *buffer, size_t n,
+errno_t udebug_name_read(async_sess_t *sess, void *buffer, size_t n,
     size_t *copied, size_t *needed)
 {
@@ -78,5 +78,5 @@
 	
 	async_exch_t *exch = async_exchange_begin(sess);
-	int rc = async_req_3_3(exch, IPC_M_DEBUG, UDEBUG_M_NAME_READ,
+	errno_t rc = async_req_3_3(exch, IPC_M_DEBUG, UDEBUG_M_NAME_READ,
 	    (sysarg_t) buffer, n, NULL, &a_copied, &a_needed);
 	
@@ -87,5 +87,5 @@
 }
 
-int udebug_areas_read(async_sess_t *sess, void *buffer, size_t n,
+errno_t udebug_areas_read(async_sess_t *sess, void *buffer, size_t n,
     size_t *copied, size_t *needed)
 {
@@ -93,5 +93,5 @@
 	
 	async_exch_t *exch = async_exchange_begin(sess);
-	int rc = async_req_3_3(exch, IPC_M_DEBUG, UDEBUG_M_AREAS_READ,
+	errno_t rc = async_req_3_3(exch, IPC_M_DEBUG, UDEBUG_M_AREAS_READ,
 	    (sysarg_t) buffer, n, NULL, &a_copied, &a_needed);
 	
@@ -102,5 +102,5 @@
 }
 
-int udebug_mem_read(async_sess_t *sess, void *buffer, uintptr_t addr, size_t n)
+errno_t udebug_mem_read(async_sess_t *sess, void *buffer, uintptr_t addr, size_t n)
 {
 	async_exch_t *exch = async_exchange_begin(sess);
@@ -109,5 +109,5 @@
 }
 
-int udebug_args_read(async_sess_t *sess, thash_t tid, sysarg_t *buffer)
+errno_t udebug_args_read(async_sess_t *sess, thash_t tid, sysarg_t *buffer)
 {
 	async_exch_t *exch = async_exchange_begin(sess);
@@ -116,5 +116,5 @@
 }
 
-int udebug_regs_read(async_sess_t *sess, thash_t tid, void *buffer)
+errno_t udebug_regs_read(async_sess_t *sess, thash_t tid, void *buffer)
 {
 	async_exch_t *exch = async_exchange_begin(sess);
@@ -123,5 +123,5 @@
 }
 
-int udebug_go(async_sess_t *sess, thash_t tid, udebug_event_t *ev_type,
+errno_t udebug_go(async_sess_t *sess, thash_t tid, udebug_event_t *ev_type,
     sysarg_t *val0, sysarg_t *val1)
 {
@@ -129,5 +129,5 @@
 	
 	async_exch_t *exch = async_exchange_begin(sess);
-	int rc = async_req_2_3(exch, IPC_M_DEBUG, UDEBUG_M_GO,
+	errno_t rc = async_req_2_3(exch, IPC_M_DEBUG, UDEBUG_M_GO,
 	    tid, &a_ev_type, val0, val1);
 	
@@ -136,5 +136,5 @@
 }
 
-int udebug_stop(async_sess_t *sess, thash_t tid)
+errno_t udebug_stop(async_sess_t *sess, thash_t tid)
 {
 	async_exch_t *exch = async_exchange_begin(sess);
