#ifndef LINEGET_H #define LINEGET_H /* * Copyright (c) Alex Holden 2000. * * This code is public domain; you can do whatever you want with it, though I * would prefer you to contribute any bug fixes back to me if possible. * This software comes with NO WARRANTY WHATSOEVER, not even the implied * warranties of merchantability and fitness for a particular purpose. */ #define LINEGET_BUF_SIZE 1024 #define LINEGET_INC_SIZE 128 extern ssize_t lineget(char **line, size_t *size, long *pos, long *ex, int fd); #endif