File: buffer_getline.c

package info (click to toggle)
libowfat 0.30-2
  • links: PTS
  • area: main
  • in suites: buster, stretch
  • size: 4,180 kB
  • ctags: 1,478
  • sloc: ansic: 15,320; makefile: 22
file content (5 lines) | stat: -rw-r--r-- 121 bytes parent folder | download | duplicates (6)
1
2
3
4
5
#include <buffer.h>

ssize_t buffer_getline(buffer* b,char* x,size_t len) {
  return buffer_get_token(b,x,len,"\n",1);
}