Code After Modifying for VCS Error Reporting System

my_func()

{

    UCHAR *fname = "my_func";

    WINDOWPTR wnp;

    int retval = 1;



    INIT_MODULE(fname);

    wn_def(5, 0, 5, 25, LNORMAL, BDR_DLNP);

    if(wn_up(wnp) ) == 0)

    {

        retval = 0;

        goto END;

    }

    v_st("Hello, world.", wnp);

    wn_dn(wnp);

    ...

    ...

    ...

END:

    EXIT_MODULE(fname);    

    return(retval);

}


Home Contents Previous Next