xref: /haiku/src/tests/servers/registrar/R5Compatibility.cpp (revision c237c4ce593ee823d9867fd997e51e4c447f5623)
1 /*
2  * Copyright 2005, Ingo Weinhold, bonefish@users.sf.net. All rights reserved.
3  * Distributed under the terms of the MIT License.
4  */
5 
6 //! Syscalls not existing under R5
7 
8 #include <syscalls.h>
9 #include <stdio.h>
10 
11 
12 // _kern_register_messaging_service
13 extern "C" area_id
14 _kern_register_messaging_service(sem_id lockSem, sem_id counterSem)
15 {
16 	return B_ERROR;
17 }
18 
19 // _kern_unregister_messaging_service
20 extern "C" status_t
21 _kern_unregister_messaging_service()
22 {
23 	return B_ERROR;
24 }
25 
26 extern "C" status_t
27 _kern_shutdown(bool reboot)
28 {
29 	puts(reboot ? "reboot" : "shutdown");
30 	return B_ERROR;
31 }
32 
33