?? sptell.c
字號:
#include <sp/sphere.h>int sp_tell(SP_FILE *sp){ char *proc="sp_tell " SPHERE_VERSION_STR; if (sp == SPNULL) return_err(proc,101,-1,"Null SPFILE structure"); if (sp->open_mode == SP_mode_read){ return_success(proc,0,sp->read_spifr->waveform->samples_read,"ok"); } else if (sp->open_mode == SP_mode_write) { return_success(proc,0,sp->write_spifr->waveform->samples_written,"ok"); } else return_err(proc,101,-1,"file not opened for read or write");}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -