View Issue Details

IDProjectCategoryView StatusLast Update
00005791003.1(2008)/Issue 7System Interfacespublic2019-06-10 08:55
ReporterEdSchouten Assigned Toajosey  
PrioritynormalSeverityEditorialTypeError
Status ClosedResolutionAccepted As Marked 
NameEd Schouten
Organization
User Reference
Section<aio.h> and <sys/wait.h>
Page Number220,405
Line Number7211,13598
Interp Status---
Final Accepted Text0000579:0001272
Summary0000579: Structure types from <signal.h> are used in <aio.h> and <sys/wait.h> without including them
DescriptionThe <aio.h> article mentions the following:

The tag sigevent shall be declared as naming an incomplete structure type, the contents of which are described in the <signal.h> header.

This is impossible to do, because `struct sigevent' is contained in `struct aiocb'. Also, when pulling in `struct sigevent', we need `union sigval'.

For <sys/wait.h> the problem is similar:

The <sys/wait.h> header shall define the siginfo_t type as described in <signal.h>.

The `siginfo_t' structure also contains `union sigval'.
Desired ActionFor <aio.h>:

Remove:

The tag sigevent shall be declared as naming an incomplete structure type, the contents of which are described in the <signal.h> header.

Add:

The <aio.h> header shall define the struct sigevent and union sigval structures as described in <signal.h>.

For <sys/wait.h>:

Remove:

The <sys/wait.h> header shall define the siginfo_t type as described in <signal.h>.

Add:

The <sys/wait.h> header shall define the siginfo_t type and the union sigval structure as described in <signal.h>.
Tagstc2-2008

Relationships

has duplicate 0000923 Closed 1003.1(2013)/Issue7+TC1 Conflicting requirements in aio.h specification 

Activities

nick

2012-06-28 15:45

manager   bugnote:0001271

Updated page and line numbers

geoffclare

2012-06-28 15:48

manager   bugnote:0001272

At page 220 line 7211 section <aio.h>:

Change:

The tag sigevent shall be declared as naming an incomplete structure type, the contents of which are described in the <signal.h> header.

to:

The <aio.h> header shall define the sigevent structure and sigval union as described in <signal.h>.

At page 405 line 13598 section <sys/wait.h>:

Change:

The <sys/wait.h> header shall define the siginfo_t type as described in <signal.h>.

to:

The <sys/wait.h> header shall define the siginfo_t type and the sigval union as described in <signal.h>.

Issue History

Date Modified Username Field Change
2012-06-03 15:36 EdSchouten New Issue
2012-06-03 15:36 EdSchouten Status New => Under Review
2012-06-03 15:36 EdSchouten Assigned To => ajosey
2012-06-03 15:36 EdSchouten Name => Ed Schouten
2012-06-03 15:36 EdSchouten Section => <aio.h> and <sys/wait.h>
2012-06-03 15:36 EdSchouten Page Number => n/a
2012-06-03 15:36 EdSchouten Line Number => n/a
2012-06-28 15:45 nick Page Number n/a => 220,405
2012-06-28 15:45 nick Line Number n/a => 7211,13598
2012-06-28 15:45 nick Interp Status => ---
2012-06-28 15:45 nick Note Added: 0001271
2012-06-28 15:48 geoffclare Note Added: 0001272
2012-06-28 15:48 geoffclare Status Under Review => Resolved
2012-06-28 15:48 geoffclare Resolution Open => Accepted As Marked
2012-06-28 15:49 geoffclare Final Accepted Text => 0000579:0001272
2012-06-28 15:49 geoffclare Tag Attached: tc2-2008
2015-06-22 15:04 geoffclare Relationship added has duplicate 0000923
2019-06-10 08:55 agadmin Status Resolved => Closed