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

📄 sc_select_file.3

📁 读写Smart卡加解密接口的程序
💻 3
字号:
.TH sc_select_file 3 "April 2003" "OpenSC Programmer's Manual.SH NAMEsc_select_file \- select a file on a smart card.SH SYNOPSIS.nf.B #include <opensc.h>.sp.BI "int sc_select_file(sc_card_t *" card ",.BI "                   const sc_path_t *" path ",.BI "                   sc_file_t ** "result ");.fi.SH DESCRIPTIONThis function selects the file specified by \fIpath\fP.If \fIpath\fP specifies a file within the currently selectedDF, \fBsc_select_file\fP will \fInot\fP select the MF first,but interpret the path relative to the current DF. It doesthis in order to prevent losing any authorizations previouslyestablished with the card (e.g. by presenting a PIN)..PPIf \fIresult\fP is not NULL, an \fBsc_file\fP(3) object iscreated, and the pointer to this object is stored in thelocation pointed to by \fIresult\fP. This handle should laterbe released using \fBsc_file_free\fP(3)..SH RETURN VALUEIf an error occurred, a negative error code is returned, as describedin \fbsc_error\fP(3). Otherwise, the function will return 0..SH SEE ALSO.BR sc_file (3),.BR sc_path (3),.BR sc_establish_context (3),.BR sc_file_free (3),.BR sc_read_binary (3),.BR sc_read_record (3),.BR sc_delete_file (3),.BR sc_list_files (3),.BR sc_create_file (3)..SH AUTHORThis manual page was written by Olaf Kirch <okir@suse.de>

⌨️ 快捷键说明

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