Details

[Home]

Issue of the Standard # S0011

Brief

Misprint in the synopsis of the __strdup() function.

Detailed Description

Type of input parameter string is wrong in synopsis of __strdup:
char * __strdup(const char string);
it should be char * instead of char.

Problem location(s) in the standard

Linux Standard Base Core Specification 3.1, Chapter 13. Base Libraries, 13.5. Interface Definitions for libc, the description of the __strdup() function.

Possible solutions

Make the following changes in synopsis of __strdup:
char * __strdup(const char *string);

References

No references to this issue found.

Accepted

LSB Bugzilla, 1292

Status

Fixed in LSB 3.2

[Home]