Обсуждение:

Поиск
Список
Период
Сортировка

От
"Luca Carrettin"
Дата:
How can I print a NOTICE or an ERROR message from a C function?
Thanks.
Luca.

Re:

От
Andrew McMillan
Дата:
On Sat, 2001-10-27 at 05:28, Luca Carrettin wrote:
> How can I print a NOTICE or an ERROR message from a C function?

Is this on the server side?  In that case you should be able to do
something like:

 elog (NOTICE, "WHATIDID: %s", buf);

Otherwise, on the client side, can you just print a message?

Regards,
                    Andrew.

--
--------------------------------------------------------------------
Andrew @ Catalyst .Net.NZ Ltd, PO Box 11-053, Manners St, Wellington
WEB: http://catalyst.net.nz/        PHYS: Level 2, 150-154 Willis St
DDI: +64(4)916-7201    MOB: +64(21)635-694    OFFICE: +64(4)499-2267