![]() |
|
|||
0001 /* SPDX-License-Identifier: LGPL-2.1 OR MIT */ 0002 /* 0003 * signal function definitions for NOLIBC 0004 * Copyright (C) 2017-2022 Willy Tarreau <w@1wt.eu> 0005 */ 0006 0007 #ifndef _NOLIBC_SIGNAL_H 0008 #define _NOLIBC_SIGNAL_H 0009 0010 #include "std.h" 0011 #include "arch.h" 0012 #include "types.h" 0013 #include "sys.h" 0014 0015 /* This one is not marked static as it's needed by libgcc for divide by zero */ 0016 __attribute__((weak,unused,section(".text.nolibc_raise"))) 0017 int raise(int signal) 0018 { 0019 return sys_kill(sys_getpid(), signal); 0020 } 0021 0022 #endif /* _NOLIBC_SIGNAL_H */
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.1.0 LXR engine. The LXR team |
![]() ![]() |