From owner-freebsd-hackers@FreeBSD.ORG Tue May 22 06:29:58 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A5DD91065674; Tue, 22 May 2012 06:29:58 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from springbank.echomania.com (andric.com [IPv6:2001:888:2003:1001:230:48ff:fe51:76b6]) by mx1.freebsd.org (Postfix) with ESMTP id 3D3CF8FC22; Tue, 22 May 2012 06:29:58 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at springbank.echomania.com Received: from [192.168.1.6] (tensor.andric.com [87.251.56.140]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by springbank.echomania.com (Postfix) with ESMTPSA id 286CDA7071; Tue, 22 May 2012 08:29:39 +0200 (CEST) Message-ID: <4FBB3268.5070105@FreeBSD.org> Date: Tue, 22 May 2012 08:30:00 +0200 From: Dimitry Andric Organization: The FreeBSD Project User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20120512 Thunderbird/13.0 MIME-Version: 1.0 To: Yanhui Shen References: In-Reply-To: X-Enigmail-Version: 1.5a1pre Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: freebsd-hackers@freebsd.org, freebsd-stable@freebsd.org Subject: Re: Something wrong with curs_threads(3X) ? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 May 2012 06:29:58 -0000 On 2012-05-21 18:41, Yanhui Shen wrote: > In curs_threads(3X), at the beginning of the manual: > > typedef int (*NCURSES_WINDOW_CB)(WINDOW *, void *); typedef int >> (*NCURSES_SCREEN_CB)(SCREEN *, void *); >> int set_escdelay(int size); >> int set_tabsize(int size); >> int use_screen(SCREEN *scr, NCURSES_WINDOW_CB func, void *data); >> int use_window(WINDOW *win, NCURSES_SCREEN_CB func, void *data); That's indeed a documentation error. Fixed in r235773, thanks!