sc_read_record man page on SuSE

Man page or keyword search:  
man Server   14857 pages
apropos Keyword Search (all sections)
Output format
SuSE logo
[printable version]

SC_READ_RECORD(3)	     OpenSC API reference	     SC_READ_RECORD(3)

NAME
       sc_read_record - Read a record from a file

SYNOPSIS
	   #include <opensc.h>

	   int sc_read_record(struct sc_card *card, unsigned int record,
			      unsigned char *buf, size_t buflen,
			      unsigned long flags);

DESCRIPTION
       This function reads a record-structured elementary file (EF) from card.
       The function corresponds to the ISO 7816 READ RECORD function. Call
       sc_select_file() first to select the file to read from.

       record specifies the ID of the record to be read, or, if flags is set
       to SC_RECORD_BY_REC_NR, the record number. If record is set to zero,
       the current record will be read.

       The read data is stored in buf, which is buflen bytes long.

RETURN VALUE
       Returns the number of bytes read if successful, or a negative value in
       case of error.

opensc				  08/27/2008		     SC_READ_RECORD(3)
[top]

List of man pages available for SuSE

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net