Cursing at curses

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I am trying to get curses working correctly under LINUX 8.0, but am
having SIGSEGV errors.

A simple test program:

#include <curses.h>

int main () {
	int help;
	help=getch();
	printf("%c\n",help);
}

compiled with 

gcc tst2.c -lcurses

yields segmentation fault.  What am I doing wrong?
Cursed curses...






_______________________________________________
Redhat-devel-list mailing list
Redhat-devel-list@redhat.com
https://listman.redhat.com/mailman/listinfo/redhat-devel-list

[Index of Archives]     [Kernel Newbies]     [Red Hat General]     [Fedora]     [Red Hat Install]     [Linux Kernel Development]     [Yosemite News]

  Powered by Linux