/* vi: set sw=4 ts=4: */ /* * exit syscall for uClibc * * Copyright (C) 2000-2006 Erik Andersen * * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball. */ #include #include #include #include #include /* libc_hidden_proto(_exit) */ void attribute_noreturn _exit(int status) { /* The loop is added only to keep gcc happy. */ while(1) INLINE_SYSCALL(exit, 1, status); } libc_hidden_def(_exit)