?? free.c
字號:
#include "mail.h"/* Free up a mail structure, and all the malloc'ed buffers it * may point to. Also close the file descriptors if still open. */int_mail_free(MAIL *mail){ if (mail->idxfd >= 0 && close(mail->idxfd) < 0) err_dump("index close error"); if (mail->datfd >= 0 && close(mail->datfd) < 0) err_dump("data close error"); mail->idxfd = mail->datfd = -1; if (mail->idxbuf != NULL) free(mail->idxbuf); if (mail->datbuf != NULL) free(mail->datbuf); if (mail->name != NULL) free(mail->name); free(mail); return(0);}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -