1 /* { dg-do "compile" } */
3 #define NULL ((void *) 0)
4 typedef struct _IO_FILE
FILE;
6 extern char *fgets(char *__restrict __s
, int __n
,
7 FILE *__restrict __stream
);
8 extern char *fgets_unlocked(char *__restrict __s
, int __n
,
9 FILE *__restrict __stream
);
16 if (fgets (buf
, sizeof buf
, fp
) == NULL
)
27 if (fgets_unlocked (buf
, sizeof buf
, fp
) == NULL
)