Details

[Home]

Issue of the Standard # S0295

Brief

Misprint in the description of the __libc_start_main() function

Detailed Description

There is a misprint in the declaration of the first parameter of the __libc_start_main() function in the section ‘Synopsis’ of the description of the function: the parameter is declared as

 int *(main) (int, char * *, char * *)
but it should be declared as
 int (*main) (int, char * *, char * *)
So the declaration of the function should be {code} int __libc_start_main( int (*main) (int, char * *, char * *), int argc, char * * ubp_av, void (*init) (void), void (*fini) (void), void (*rtld_fini) (void), void (* stack_end)); {/code

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 __libc_start_main() function.

Accepted

LSB Bugzilla, 1375

Status

Fixed in LSB 3.2

[Home]