Cygwin: access: Fix X_OK behaviour for backup operators and admins
[newlib-cygwin.git] / newlib / libc / machine / nds32 / abort.c
blob5fa0b6e7fc490c15f0c38aa8b80b60254e0f63e4
1 /*
2 FUNCTION
3 <<abort>>---abnormal termination of a program
5 INDEX
6 abort
8 SYNOPSIS
9 #include <stdlib.h>
10 void abort(void);
12 DESCRIPTION
13 Use <<abort>> to signal that your program has detected a condition it
14 cannot deal with. Normally, <<abort>> ends your program's execution.
16 In general implementation, <<abort>> raises the exception <<SIGABRT>>.
17 But for nds32 target, currently it is not necessary for MCU platform.
18 We can just call <<_exit>> to terminate program.
20 RETURNS
21 <<abort>> does not return to its caller.
23 PORTABILITY
24 ANSI C requires <<abort>>.
26 Supporting OS subroutines required: <<_exit>>.
29 #include <unistd.h>
31 void
32 abort (void)
34 while (1)
36 _exit (1);