[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: newwin seg fault
From: |
Thomas Dickey |
Subject: |
Re: newwin seg fault |
Date: |
Thu, 14 Mar 2002 19:25:57 -0500 |
User-agent: |
Mutt/1.2.5i |
On Thu, Mar 14, 2002 at 06:54:37PM -0500, Joe Davies wrote:
> Hello All,
>
> This is my first post to this list. I'm developing a simple app on unix
> sysV, using Curses (I know, not nCurses!) and can't find any decent
> resources or help on curses. I ordered a book on Feb 25th, but it hasn't
> arrived yet!
>
> Anyway, when I create a window using newwin(0,0,0,0) I have no problems, but
> when I try to define some constraints to the window, I get a segfault on
> run. This is using: newwin(14,0,0,0)
That's a window which has zero columns. Doesn't newwin return a null pointer
in that case?
WINDOW *newwin(int nlines, int ncols, int begin_y, int begin_x);
--
Thomas E. Dickey <address@hidden>
http://invisible-island.net
ftp://invisible-island.net