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

📄 getln.c

📁 linux下qmail的源码 本人加了一些注释
💻 C
字号:
#include "substdio.h"#include "byte.h"#include "stralloc.h"#include "getln.h"int getln(ss,sa,match,sep)register substdio *ss;register stralloc *sa;int *match;int sep;{  char *cont;  unsigned int clen;  if (getln2(ss,sa,&cont,&clen,sep) == -1) return -1;  if (!clen) { *match = 0; return 0; }  if (!stralloc_catb(sa,cont,clen)) return -1;  *match = 1;  return 0;}

⌨️ 快捷键说明

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