diff options
author | Joel Sherrill <joel@rtems.org> | 2016-12-05 21:06:40 -0600 |
---|---|---|
committer | Joel Sherrill <joel@rtems.org> | 2017-01-11 09:45:32 -0600 |
commit | ef362818dff3e7dc437d90133424e9c9f0608a02 (patch) | |
tree | c6800ad8c9bcd8d9a894c48ea533c38d9eb3a962 /cpukit/posix/src | |
parent | posix: Fix alarm() in SMP configurations (diff) | |
download | rtems-ef362818dff3e7dc437d90133424e9c9f0608a02.tar.bz2 |
Add support for posix_devctl()
Diffstat (limited to '')
-rw-r--r-- | cpukit/posix/src/sysconf.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cpukit/posix/src/sysconf.c b/cpukit/posix/src/sysconf.c index 0e7b1e5305..c5f66f6f46 100644 --- a/cpukit/posix/src/sysconf.c +++ b/cpukit/posix/src/sysconf.c @@ -51,6 +51,8 @@ long sysconf( return (long) rtems_configuration_get_maximum_processors(); case _SC_NPROCESSORS_ONLN: return (long) rtems_get_processor_count(); + case _SC_POSIX_26_VERSION: + return (long) _POSIX_26_VERSION; #if defined(__sparc__) case 515: /* Solaris _SC_STACK_PROT */ return 0; |