📄 sc_list_files.3
字号:
.TH sc_list_files 3 "April 2003" "OpenSC Programmer's Manual.SH NAMEsc_list_files \- list files on a smart card.SH SYNOPSIS.nf.B #include <opensc.h>.sp.BI "int sc_list_files(sc_card_t *" card ",.BI " unsigned char *" buffer ",.BI " size_t " buflen ");.fi.SH DESCRIPTIONThis function lists all files in the currently selected DF,and stores the the file IDs as big-endian 16bit wordsin \fIbuffer\fP. If the supplied buffer is too small tohold all file IDs, the listing is silently truncated..PP.SH RETURN VALUEIf an error occurred, a negative error code is returned, as describedin \fbsc_error\fP(3). Otherwise, the function will return thenumber of bytes stored in \fIbuffer\fP..SH SEE ALSO.BR sc_file (3),.BR sc_path (3),.BR sc_establish_context (3),.BR sc_select_file (3),.BR sc_read_binary (3),.BR sc_read_record (3),.BR sc_delete_file (3),.BR sc_create_file (3),.BR sc_file_free (3)..SH AUTHORThis manual page was written by Olaf Kirch <okir@suse.de>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -