Problem Report Number |
0037 |
Submitter's Classification |
Specification problem |
State |
Resolved |
Resolution |
Interpretation (INT) |
Problem Resolution ID |
INT.PX.0002 |
Raised |
2006-10-14 03:34 |
Updated |
2006-10-23 19:02 |
Published |
2006-10-23 19:02 |
Product Standard |
PSE52 Realtime Controller 1003.1-2003 System |
Certification Program |
POSIX Certified by IEEE and The Open Group |
Test Suite |
VSX4-PSE version 4.6.6 |
Test Identification |
POSIX.hdr/misc/unistd_3/T.unistd_3 49 |
Specification |
PSE52 Realtime Controller 1003.1-2003 System Product Standard |
Location in Spec |
http://www.opengroup.org/onlinepubs/009695399/basedefs/unistd.h.html |
Problem Summary |
_POSIX_JOB_CONTROL and _POSIX_SAVED_IDS cannot be meaningfully defined
for a PSE52 system |
Problem Text |
IEEE Std 1003.1-2002 requires that the _POSIX_JOB_CONTROL and
_POSIX_SAVED_IDS constants be greater than zero although a PSE52
conforming system does not have to support either of the units of
functionality POSIX_USER_GROUPS and POSIX_JOB_CONTROL. These constants
should be allowed to have a value of -1 (option not supported) or at
least 0 so that the application uses sysconf() to determine whether
those functionality are supported. |
Test Output |
***********************************************************************
/tset/POSIX.hdr/misc/unistd_3/T.unistd_3 49 Failed
Test Description:
For PSE52 mode:
The header file contains a definition for the symbolic
constant
_POSIX_JOB_CONTROL with a value greater than zero.
For POSIX01 and UNIX03 modes:
The header file contains definitions for the symbolic
constants
_POSIX_JOB_CONTROL and _POSIX_SAVED_IDS, with values
greater than
zero.
For FIPS, XPG4 and UNIX98 modes:
If the header file contains definitions for the symbolic
constants
_POSIX_JOB_CONTROL and _POSIX_SAVED_IDS, then they each
have a
value not equal to -1.
For POSIX90 and POSIX96 modes:
Not in use.
Test Strategy:
COMPILE program including <unistd.h>.
IF test mode is POSIX01 or UNIX03
VERIFY symbolic name is defined
IF symbolic name is defined
VERIFY value is as required
VERIFY there were no compiler errors.
Test Information:
_POSIX_JOB_CONTROL is -1, expected > 0
Feature test macros: -D_POSIX_C_SOURCE=200112
Compiler or run-time messages or results:
<NIL> (no results or messages produced)
_POSIX_JOB_CONTROL is -1, expected > 0
Feature test macros: -D_POSIX_C_SOURCE=200112 -D_POSIX_SOURCE
Compiler or run-time messages or results:
<NIL> (no results or messages produced)
|