genode_c_api: errors on socket/nic_client init

Prevent uncaught exceptiosn in (NIC-client) initialization but report
as errors from genode_socket_init() / genode_nic_client_create().
This commit is contained in:
Christian Helmuth
2025-04-01 12:35:00 +02:00
committed by Norman Feske
parent 14cfc765c6
commit 1f181f6ce3
8 changed files with 31 additions and 12 deletions

View File

@ -155,7 +155,7 @@ struct genode_socket_io_progress
};
void genode_socket_init(struct genode_env *env,
bool genode_socket_init(struct genode_env *env,
struct genode_socket_io_progress *,
char const *label);