Date: Tue, 22 May 2012 00:41:56 +0800 From: Yanhui Shen <shen.elf@gmail.com> To: freebsd-stable@freebsd.org Cc: freebsd-hackers@freebsd.org Subject: Something wrong with curs_threads(3X) ? Message-ID: <CAEEM4v=g7VPjUqFGG%2BwR9DNAo=snvxR8toDwvGjwH7U7cy5=CA@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
Hi, 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); use_screen => NCURSES_WINDOW_CB use_window = > NCURSES_SCREEN_CB Target is not matched, I'm really confused. So I open /usr/include/curses.h, and find these: extern NCURSES_EXPORT(int) use_screen (SCREEN *, NCURSES_SCREEN_CB, void *); > extern NCURSES_EXPORT(int) use_window (WINDOW *, NCURSES_WINDOW_CB, void > *); Seems much proper. So is this a bug? -- Best regards, Yanhui Shen
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAEEM4v=g7VPjUqFGG%2BwR9DNAo=snvxR8toDwvGjwH7U7cy5=CA>