Details
[Home]
Issue of the Standard # S0685
Brief
Incorrect description of strsignal(int sig) if sig is an unknown signal number
Detailed Description
If sig is not a valid signal number, strsignal shall return either a pointer to the string "unknown signal", or a null pointer.
SYNOPSIS char * strsignal(int sig); RETURN VALUE If sig is a valid signal number, strsignal() shall return a pointer to the appropriate description string. Otherwise, strsignal() shall return either a pointer to the string "unknown signal", or a null pointer.But actually strsignal returns "Unknown signal", a space, and a number sig or "Real-time signal", a space, and a number sig-SIGRTMIN.
Problem location(s) in the standard
Linux Standard Base Core Specification 3.2, Chapter 13. Base Libraries, 13.5. Interface Definitions for libc, strsignal() function.
Accepted
LSB Bugzilla, 2540
Status
Fixed in LSB 4.0
[Home]
»