Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 1 Sep 1996 17:53:07 +0400 (MSD)
From:      =?KOI8-R?Q?=E1=CE=C4=D2=C5=CA_=FE=C5=D2=CE=CF=D7?= (Andrey A. Chernov) <ache@nagual.ru>
To:        adam@veda.is (Adam David)
Cc:        bde@zeta.org.au, current@FreeBSD.org
Subject:   Re: bin/1560:
Message-ID:  <199609011353.RAA03488@nagual.ru>
In-Reply-To: <199609011300.NAA03563@veda.is> from "Adam David" at "Sep 1, 96 01:00:39 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
> > > > >	/usr/include/termcap.h declares tputs() as type void, whereas in
> > > > >	/usr/include/*curses.h it says an integer is returned. This results
> > > > >	in a type conflict and programs don't compile.
> > > > 
> > > > Someone "cleaned up" the termcap version.  It used to return a garbage
> > > > int.
> > > > 
> > > > Bruce
> > > > 
> > > 
> > > Uh, this means *curses needs to be brought into sync, right?
> > 
> > Ncurses declare it as void too. Old curses+termlib will be removed
> > in future.
> 
> really?
> 
...

> /usr/include/ncurses.h:extern int tputs(const char *,int,int (*)(int));

...

Old ncurses will be replaced with new one.

-- 
Andrey A. Chernov
<ache@nagual.ru>
http://www.nagual.ru/~ache/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199609011353.RAA03488>