GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  FREEFARE_STRERROR_R (3)

NAME

freefare_strerror, freefare_strerror_r, freefare_perror, mifare_desfire_last_picc_error - Error Reporting Functions.

CONTENTS

Library
Synopsis
Description
Return Values
See Also
Authors

LIBRARY

Mifare card manipulation library (libfreefare, -lfreefare)

SYNOPSIS


.In freefare.h const char * freefare_strerror MifareTag tag int freefare_strerror_r MifareTag tag char *buffer size_t len void freefare_strerror MifareTag tag char *string uint8_t mifare_desfire_last_pcd_error MifareTag tag uint8_t mifare_desfire_last_picc_error MifareTag tag

DESCRIPTION

The freefare_strerror functions returns the error string corresponding to the last PCD or PICC error encounred using
.Vt tag .

The freefare_strerror_r functions does the same as freefare_strerror but the error message is copied into
.Vt buffer for a maximum size of
.Vt len chars.

The freefare_strerror function displays the last PCD or PICC error encounred using
.Vt tag to stderr.

The mifare_desfire_last_pcd_error function returns the error code of the last function call from the library.

The mifare_desfire_last_picc_error function returns the error code returned by the last command run on
.Vt tag .

RETURN VALUES

freefare_strerror returns the error message, freefare_strerror_r returns 0 on success, -1 on failure; mifare_desfire_last_pcd_error and mifare_desfire_last_picc_error return an error code or 0 if no error occured or if
.Vt tag is not a Mifare DESFire target.

SEE ALSO

freefare(3),

AUTHORS


.An Romain Tartiere Aq romain@il4p.org
Search for    or go to Top of page |  Section 3 |  Main Index


Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.