https://issues.dlang.org/show_bug.cgi?id=13282
Issue ID: 13282
Summary: __libc_current_sigrtmax is not accessible from module
linux
Product: D
Version: D2
Hardware: All
OS: Linux
Status: NEW
Severity: minor
Priority: P1
Component: druntime
Assignee: [email protected]
Reporter: [email protected]
Can't use core.sys.posix.signal.SIGRTMIN and core.sys.posix.signal.SIGRTMAX due
error:
```
../../source/daemonize/linux.d(44): Error: function
core.sys.posix.signal.__libc_current_sigrtmax is not accessible from module
linux
../../source/daemonize/linux.d(44): Error: function
core.sys.posix.signal.__libc_current_sigrtmin is not accessible from module
linux
```
They are aliases to private functions:
```
private extern (C) nothrow @nogc
{
int __libc_current_sigrtmin();
int __libc_current_sigrtmax();
}
alias __libc_current_sigrtmin SIGRTMIN;
alias __libc_current_sigrtmax SIGRTMAX;
```
Workaround: export the functions in your code
```
extern (C) nothrow @nogc
{
int __libc_current_sigrtmin();
int __libc_current_sigrtmax();
}
```
Checked on dmd 2.065 and 2.066.0-rc2
--