Details
[Home]
Issue of the Standard # S0019
Brief
No possible errors are defined for wcsdup()
Detailed Description
Standard states that wcsdup() is the wide-character equivalent of strdup(). strdup() shall set errno to ENOMEM if storage space available is insufficient. However, there are no possible errors defined for wcsdup() in this case.
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 wcsdup.
Possible solutions
State that "wcsdup() shall set errno to ENOMEM if storage space available is insufficient".
Accepted
LSB Bugzilla, 1322
Status
Fixed in LSB 3.2
[Home]
»