Source-Changes-D archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/lib/libcurses



Hi Roy,

"Roy Marples" wrote:

> Module Name:	src
> Committed By:	roy
> Date:		Wed Mar 11 21:33:38 UTC 2020
>
> Modified Files:
>
> 	src/lib/libcurses: initscr.c
>
> Log Message:
>
> curses: application should exit if initscr(3) fails
>
> POSIX defines this behaviour here:
> https://pubs.opengroup.org/onlinepubs/7908799/xcurses/initscr.html
>
> Partial fix for PR lib/23910

Can you please adjust the manpage to reflect this?  It currently says:

RETURN VALUES
     Functions returning pointers will return NULL if an error is detected.

Cheers,
Simon.


Home | Main Index | Thread Index | Old Index