⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 sc_file.3

📁 读写Smart卡加解密接口的程序
💻 3
字号:
.TH sc_file 3 "April 2003" "OpenSC Programmer's Manual.SH NAMEsc_file \- OpenSC file struct.SH SYNOPSIS.nf.B #include <opensc.h>.sp.B "typedef struct sc_file {.B "        struct sc_path    path;.B "        int               type, ef_structure;.B "        size_t            size;.B "        int               id;.B ".B "        /* record structured files only */.B "        int               record_length;.B "        int               record_count;.B "} sc_file_t;.fi.SH DESCRIPTIONThis structure describes a file object on a smart card.It contains the following members:.TP.B pathThis is the full path to the file, starting at the MF..TP.B typeThis is the file type. If can be one of.BR SC_FILE_TYPE_DF ,.BR SC_FILE_TYPE_WORKING_EF ", or.BR SC_FILE_TYPE_INTERNAL_EF .The latter is used by some cards only, and you normally shouldn'thave to deal with these files..TP.B ef_structureFor elementary files (EFs), this field describes the file'sstructure. It can be one of.IP.nf.BR SC_FILE_EF_TRANSPARENT.BR SC_FILE_EF_LINEAR_FIXED.BR SC_FILE_EF_LINEAR_FIXED_TLV.BR SC_FILE_EF_LINEAR_VARIABLE.BR SC_FILE_EF_LINEAR_VARIABLE_TLV.BR SC_FILE_EF_CYCLIC.BR SC_FILE_EF_CYCLIC_TLV.BR SC_FILE_EF_UNKNOWN.fi.TP.B sizegives the file's size in bytes..TP.B idgives the file's ID, as a 16bit number..TP.BR record_count ", " record_lengthFor record structured files, \fBrecord_count\fP specifies thenumber of records in the file. For files with fixed lengthrecords, \fBrecord_length\fP contains the record length..SH SEE ALSO.BR sc_path (3),.BR sc_file_new (3),.BR sc_file_free (3),.BR sc_select_file (3)..SH AUTHORThis manual page was written by Olaf Kirch <okir@suse.de>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -