blob: 40529c5309bf43ddcea74a89b4d34460e78a8102 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
/* vi: set sw=4 ts=4: */
/*
* _reboot() for uClibc
*
* Copyright (C) 2000-2004 by Erik Andersen <andersen@codpoet.org>
*
* GNU Library General Public License (LGPL) version 2 or later.
*/
#include "syscalls.h"
#define __NR__reboot __NR_reboot
static inline _syscall3(int, _reboot, int, magic, int, magic2, int, flag);
int reboot(int flag)
{
return (_reboot((int) 0xfee1dead, 672274793, flag));
}
|