Details

[Home]

Issue of the Standard # S0148

Brief

Lack of details in requirements to newlocale() function

Detailed Description

Specification does not describe the behavior of the function newlocale() when locale named by the parameter ‘locale’ is absent.

Problem location(s) in the standard

Linux Standard Base Core Specification 3.1, Chapter 13. Base Libraries, 13.5. Interface Definitions for libc, description of function newlocale.

Possible solutions

If locale named by the parameter ‘locale’ is absent, newlocale() should return NULL and set errno to ENOENT.

Accepted

LSB Bugzilla, 1366

Status

Fixed in LSB 3.2

[Home]