Async call responses
[akaros.git] / lib / null.c
1 #ifdef __DEPUTY__
2 #pragma nodeputy
3 #endif
4
5 #include <inc/types.h>
6 #include <inc/syscall.h>
7 #include <inc/lib.h>
8
9 void null()
10 {
11         sys_null();
12 }
13
14 void null_async(async_desc_t** desc)
15 {
16         current_async_desc = get_async_desc();
17         *desc = current_async_desc;
18         sys_null_async(get_sys_desc(current_async_desc));
19 }