COSIM_LOGWINDOW_WRITE


 int cosim_logwindow_write(cosim_logwindow log,                           const char *msg); 

Header File

cosim_log.h

Description

This function writes a message to an Application Monitor log window. This function may be called from anyplace in an application.

Arguments

The arguments for cosim_logwindow_write are as follows:

cosim_logwindow log

A log window pointer as returned by a preceding call to function cosim_logwindow_create.

const char *msg

A null-terminated character string representing the message to be written.


Return Value

Returns 1 if successful. Returns 0 (and sets co_errno to CO_ENULL_PTR) if the log argument is NULL.



    Practical FPGA Programming in C
    Practical FPGA Programming in C
    ISBN: 0131543180
    EAN: 2147483647
    Year: 2005
    Pages: 208

    flylib.com © 2008-2017.
    If you may any questions please contact us: flylib@qtcs.net