diff options
author | Eric Wong <e@80x24.org> | 2022-10-17 09:30:53 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2022-10-17 22:16:45 +0000 |
commit | 0881010d123914be5e47544229e2b03412a6a691 (patch) | |
tree | 283f5c806bfa9ac930b40d61d3aa5f7057093547 /devel | |
parent | 7a13b24e3b7f31a647ea180d5b180d8f8eaa025a (diff) | |
download | public-inbox-0881010d123914be5e47544229e2b03412a6a691.tar.gz |
SIGWINCH is actually different for these architectures on Linux according to the signal(7) man page. Note: AFAICS there's no parisc machine in the GCC Farm[1], so it remains untested. I've only tested mips64 for mips, but I expect them to both work. OpenBSD (on gcc231) octeon defines SIGWINCH as the common `28', so it appears Linux is the only one with arch-dependent signal numbers (ditto with syscalls). [1] https://cfarm.tetaneutral.net/machines/list/
Diffstat (limited to 'devel')
-rwxr-xr-x | devel/syscall-list | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/devel/syscall-list b/devel/syscall-list index adb450da..0b36c0e2 100755 --- a/devel/syscall-list +++ b/devel/syscall-list @@ -26,6 +26,7 @@ system($cc, '-o', $x, $f, @cflags) == 0 or die "cc failed \$?=$?"; exec($x); __DATA__ #define _GNU_SOURCE +#include <signal.h> #include <sys/syscall.h> #include <sys/ioctl.h> #ifdef __linux__ @@ -65,5 +66,6 @@ int main(void) #endif /* Linux, any other OSes with stable syscalls? */ printf("size_t=%zu off_t=%zu pid_t=%zu\n", sizeof(size_t), sizeof(off_t), sizeof(pid_t)); + D(SIGWINCH); return 0; } |