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

📄 tcpto_clean.c

📁 linux下qmail的源码 本人加了一些注释
💻 C
字号:
#include "tcpto.h"#include "open.h"#include "substdio.h"#include "readwrite.h"char tcpto_cleanbuf[1024];void tcpto_clean() /* running from queue/mess */{ int fd; int i; substdio ss; fd = open_write("../lock/tcpto"); if (fd == -1) return; substdio_fdbuf(&ss,write,fd,tcpto_cleanbuf,sizeof(tcpto_cleanbuf)); for (i = 0;i < sizeof(tcpto_cleanbuf);++i) substdio_put(&ss,"",1); substdio_flush(&ss); /* if it fails, bummer */ close(fd);}

⌨️ 快捷键说明

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