curses.h, beep() returns ERR, flash() casuses segment fault.

Christopher Joyner chris27wjoyner at yahoo.com
Thu Aug 28 02:10:42 UTC 2008


I do not get the OK from beep, and flash crashes the program.
This is my code:

#include <curses.h>

int main(int argc,char** argv)
{
    if(beep()!=OK)
        printf("No OK\n"); fflush(stdout);
    if(flash()!=OK)
        printf("No Flash\n"); fflush(stdout);
return 0;
}

 

In Love in Jesus Christ, Or Lord and Savior.


For God so loved the world, that he gave his only *begotten Son, that whosoever believeth in him should not perish, but have everlasting life.
--John 3:16



      


More information about the freebsd-questions mailing list