Details

[Home]

Issue of the Standard # S0359

Brief

atexit() in the LSB Software Development Kit (SDK).

Detailed Description

There is the following declaration in stdlib.h of LSB SDK:

extern int atexit( void (*)(void) );

However, the atexit() function is not required to be in libc library of LSB-compliant implementation. Based on LSB 3.1 the following declaration is expected:

int __cxa_atexit(void (*func) (void *), void * arg, void * dso_handle); #define atexit(func) __cxa_atexit(func,NULL,NULL)

Problem location(s) in the standard

LSB Software Development Kit (SDK).

Accepted

LSB Bugzilla, 1431

Status

Fixed in LSB 3.1 Update 1

[Home]