Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Aug 2008 19:10:40 -0700 (PDT)
From:      Christopher Joyner <chris27wjoyner@yahoo.com>
To:        questions@freebsd.org
Subject:   curses.h, beep() returns ERR, flash() casuses segment fault.
Message-ID:  <898452.32176.qm@web56714.mail.re3.yahoo.com>

next in thread | raw e-mail | index | archive | help
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



      



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