blob: 65687393657b48f68a779ea44d4d7958ab39ce31 [file] [log] [blame]
int *
__errno_location (void);
long int
read (int, void *, unsigned long int);
struct IOBUF {
int fd;
};
void
do_getline_end_data (struct IOBUF *iop, int tree)
{
char end_data;
if (tree)
*__errno_location () = 0;
read (iop->fd, &end_data, sizeof end_data);
}