libroot/posix/stdio: Remove unused portions.
[haiku.git] / src / bin / boot_process_done.cpp
blob5dde6a73b03b4b485cc1df0ac209cdeb33dca1fe
1 /*
2 * Copyright 2005, Axel Dörfler, axeld@pinc-software.de. All rights reserved.
3 * Distributed under the terms of the MIT License.
4 */
7 #include "launch_speedup.h"
9 #include <OS.h>
10 #include <syscalls.h>
11 #include <generic_syscall_defs.h>
13 #include <stdio.h>
14 #include <string.h>
17 int
18 main(int argc, char **argv)
20 uint32 version = 0;
21 status_t status = _kern_generic_syscall(LAUNCH_SPEEDUP_SYSCALLS, B_SYSCALL_INFO,
22 &version, sizeof(version));
23 if (status != B_OK) {
24 // the launch speedup module is not available
25 fprintf(stderr, "\"launch_speedup\" module not available.\n");
26 return 1;
29 _kern_generic_syscall(LAUNCH_SPEEDUP_SYSCALLS, LAUNCH_SPEEDUP_STOP_SESSION,
30 (void *)"system boot", strlen("system boot"));
31 return 0;