libnfc/examples
Philippe Teuwen bece73faaf Error conditions in utils & examples: fix leaks, unify style (see details)
* in main():
** errx()/err()/return -> exit()
** return values -> EXIT_SUCCESS & EXIT_FAILURE

* out of main:
** err()/errx()/exit() -> return
** change retval from size_t to int to allow returning errors
** don't use EXIT_SUCCESS / EXIT_FAILURE as retvals

* add nfc_close() & nfc_exit() to exit() on errors
* add missing fclose() on errors
* add missing test if (pnd == NULL)
* unify style if (pnd == / != NULL)
* remove goto's
* few related fixes
* remove if(pnd!=NULL) test on nfc_close() calls
2013-03-05 19:44:59 +01:00
..
doc Error conditions in utils & examples: fix leaks, unify style (see details) 2013-03-05 19:44:59 +01:00
pn53x-tamashell-scripts ReadMobib: make it compatible with Basic card 2012-11-10 17:11:48 +01:00
CMakeLists.txt Windows: Shift files from libnfc/windows to libnfc/contrib/win32 2013-02-14 15:33:47 +01:00
Makefile.am Add man of nfc-emulate-forum-tag2 to the installation 2013-02-01 01:57:47 +01:00
nfc-anticol.1 Update examples and utils manpages.(Fixes Issue 159) 2011-10-01 12:26:11 +00:00
nfc-anticol.c Error conditions in utils & examples: fix leaks, unify style (see details) 2013-03-05 19:44:59 +01:00
nfc-dep-initiator.1 Update examples and utils manpages.(Fixes Issue 159) 2011-10-01 12:26:11 +00:00
nfc-dep-initiator.c Error conditions in utils & examples: fix leaks, unify style (see details) 2013-03-05 19:44:59 +01:00
nfc-dep-target.1 Update examples and utils manpages.(Fixes Issue 159) 2011-10-01 12:26:11 +00:00
nfc-dep-target.c Error conditions in utils & examples: fix leaks, unify style (see details) 2013-03-05 19:44:59 +01:00
nfc-emulate-forum-tag2.1 Adds nfc-emulate-forum-tag2 man page 2012-09-19 10:25:33 +00:00
nfc-emulate-forum-tag2.c Error conditions in utils & examples: fix leaks, unify style (see details) 2013-03-05 19:44:59 +01:00
nfc-emulate-tag.1 Update examples and utils manpages.(Fixes Issue 159) 2011-10-01 12:26:11 +00:00
nfc-emulate-tag.c Error conditions in utils & examples: fix leaks, unify style (see details) 2013-03-05 19:44:59 +01:00
nfc-emulate-uid.1 Fix some spelling mistakes 2012-05-13 13:10:15 +00:00
nfc-emulate-uid.c Error conditions in utils & examples: fix leaks, unify style (see details) 2013-03-05 19:44:59 +01:00
nfc-mfsetuid.1 fix disruptancies between tools location in src (utils<>examples) and in Debian packages (libnfc-bin<>libnfc-examples) 2012-05-17 19:22:25 +00:00
nfc-mfsetuid.c Error conditions in utils & examples: fix leaks, unify style (see details) 2013-03-05 19:44:59 +01:00
nfc-poll.1 verbose option back for nfc-list, and newly implemented in nfc-poll 2012-01-04 21:29:43 +00:00
nfc-poll.c Error conditions in utils & examples: fix leaks, unify style (see details) 2013-03-05 19:44:59 +01:00
nfc-relay.1 Update examples and utils manpages.(Fixes Issue 159) 2011-10-01 12:26:11 +00:00
nfc-relay.c Error conditions in utils & examples: fix leaks, unify style (see details) 2013-03-05 19:44:59 +01:00
pn53x-diagnose.1 Update examples and utils manpages.(Fixes Issue 159) 2011-10-01 12:26:11 +00:00
pn53x-diagnose.c Error conditions in utils & examples: fix leaks, unify style (see details) 2013-03-05 19:44:59 +01:00
pn53x-sam.1 Update examples and utils manpages.(Fixes Issue 159) 2011-10-01 12:26:11 +00:00
pn53x-sam.c Error conditions in utils & examples: fix leaks, unify style (see details) 2013-03-05 19:44:59 +01:00
pn53x-tamashell.1 Update examples and utils manpages.(Fixes Issue 159) 2011-10-01 12:26:11 +00:00
pn53x-tamashell.c Error conditions in utils & examples: fix leaks, unify style (see details) 2013-03-05 19:44:59 +01:00