1 // RUN: %clangxx -O0 -g %s -o %t -lutil && %run %t 2>&1 | FileCheck %s
11 FILE *fp
= fopen("/etc/fstab", "r");
14 int flags
= FPARSELN_UNESCALL
;
15 const char *delim
= "\\\\#";
16 size_t lineno
= 0, len
;
18 while ((line
= fparseln(fp
, &len
, &lineno
, delim
, flags
))) {
19 printf("lineno: %zu, length: %zu, line: %s\n", lineno
, len
, line
);