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.

Reply via email to