Details

[Home]

Issue of the Standard # S0204

Brief

LSB Software Development Kit (SDK) does not satisfy the POSIX requirements

Detailed Description

POSIX says that the functions bcmp(), bcopy(), bzero(), ffs(), index(), rindex(), strcasecmp() and strncasecmp() should be declared in strings.h.
However, the declarations of the above functions are in string.h in LSB Software Development Kit (SDK), that conflicts with the POSIX requirements.
This also concerns section 13.4. ‘Data Definitions for libc’ of LSB 3.1 – the declarations of the above functions are in 13.4.47. 'string.h', and there is no mention of strings.h.

Problem location(s) in the standard

Linux Standard Base Core Specification 3.1, Chapter 13. Base Libraries, 13.4. Data Definitions for libc. LSB Software Development Kit (SDK).

Possible consequences

Compilation problem for POSIX-compliant applications when using LSB Software Development Kit (SDK).

Accepted

LSB Bugzilla, 1373

Status

Fixed in LSB 3.2

[Home]