w32tex
About: TeX Live provides a comprehensive TeX system including all the major TeX-related programs, macro packages, and fonts that are free software. Windows sources.
  Fossies Dox: w32tex-src.tar.xz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

line.c File Reference
#include <kpathsea/config.h>
#include <kpathsea/line.h>
Include dependency graph for line.c:

Go to the source code of this file.

Macros

#define getc   getc_unlocked
 
#define FLOCKFILE(x)   flockfile(x)
 
#define FUNLOCKFILE(x)   funlockfile(x)
 
#define BLOCK_SIZE   75
 

Functions

char * read_line (FILE *f)
 

Macro Definition Documentation

◆ BLOCK_SIZE

#define BLOCK_SIZE   75

Definition at line 45 of file line.c.

◆ FLOCKFILE

#define FLOCKFILE (   x)    flockfile(x)

Definition at line 40 of file line.c.

◆ FUNLOCKFILE

#define FUNLOCKFILE (   x)    funlockfile(x)

Definition at line 41 of file line.c.

◆ getc

#define getc   getc_unlocked

Definition at line 39 of file line.c.

Function Documentation

◆ read_line()

char* read_line ( FILE f)

Definition at line 48 of file line.c.

References BLOCK_SIZE, c, EOF, f, FLOCKFILE, free, FUNLOCKFILE, getc, limit, line, loc, NULL, ungetc, xmalloc, and xrealloc().