Definition of SIGRTMIN

2015-08-31 Thread Andre via Digitalmars-d-learn
Hi, I cannot use the definition of SIGRTMIN on ubuntu. For following code I receive errors: import core.sys.posix.time, core.sys.posix.signal, core.sys.posix.stdlib, core.sys.posix.unistd; import std.stdio; alias SIG = SIGRTMIN; void main() { writeln("Establishing handler for signal

Re: Definition of SIGRTMIN

2015-09-01 Thread Adam D. Ruppe via Digitalmars-d-learn
On Tuesday, 1 September 2015 at 04:55:38 UTC, Andre wrote: Is there s.th. wrong with the definition? Yeah, I think so. It is: private extern (C) nothrow @nogc { int __libc_current_sigrtmin(); int __libc_current_sigrtmax(); } alias __libc_current_sigrtmin SIGRTM