Am 05.04.2013 11:57, schrieb Bruno Zerbo:
> I'm looking to the SOCI documentation and I found a reference to the
> assert function which is not explained at all.
> The reference is here:
> http://soci.sourceforge.net/doc/3.2.0/exchange.html
>
> Where I can find other information on this function?
> is there a doxigen doc about all the API?
assert has nothing todo with SOCI; it is a standard C call
on Linux: man assert
NAME
assert - abort the program if assertion is false
SYNOPSIS
#include <assert.h>
void assert(scalar expression);
DESCRIPTION
If the macro NDEBUG was defined at the moment <assert.h> was
last included, the macro assert() generates no code, and hence does
nothing at all. Otherwise, the macro assert() prints an error message to
standard error and terminates the program by calling abort(3) if
expression is false (i.e., compares equal to zero).
The purpose of this macro is to help the programmer find bugs in
his program. The message "assertion failed in file foo.c, function
do_bar(), line 1287" is of no help at all to a user.
RETURN VALUE
No value is returned.
--
Christoph Duelli
---------------------------------------------------------------------------------
MELOS GmbH
Medizinische Labor-Organisations-Systeme GmbH
Franz-Beer-Straße 6
86459 Gessertshausen
Tel.: +49 8238/9611-0
Fax: +49 8238/9611-99
mailto: [email protected]
URL: www.melosgmbh.de
Amtsgericht Augsburg, HRB 13226
USt-IdNr. DE 130 958 139
Geschäftsführer:
Herbert Mayer, Andreas Manntz, Helmut Welsch
--------------------------------------------
This e-mail (including any attachments) is confidential and may be privileged.
If you have received it by mistake, please notify the sender by e-mail and
delete it from your system.
Any unauthorised use or dissemination of this e-mail or its contents in whole
or in part is strictly prohibited. Please note that e-mails are susceptible to
change.
MELOS GmbH shall not be liable for the improper or incomplete transmission of
the information contained in this communication nor for any delay in its
receipt.
MELOS GmbH does not guarantee that the integrity of this communication has been
maintained nor that this communication is free of viruses, interceptions or
interference.
------------------------------------------------------------------------------
Minimize network downtime and maximize team effectiveness.
Reduce network management and security costs.Learn how to hire
the most talented Cisco Certified professionals. Visit the
Employer Resources Portal
http://www.cisco.com/web/learning/employer_resources/index.html
_______________________________________________
soci-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/soci-users