☰
Debian Codegraph
@
2026.20260303.78225+ds-4
/
/
utils
/
pmx
/
pmx-src
/
w32getc.c
☽
☼
utils/pmx/pmx-src/w32getc.c
code
plain
raw
TeX-Live
Copyright (C) 2005-2023 Karl Berry
debian/copyright
1
#include <stdio.h>
2
int w32getc(FILE *f)
3
{
4
int c;
5
c = getc(f);
6
if(c=='\r') {
7
c = getc(f);
8
if(c!='\n') {
9
ungetc(c,f);
10
c='\r';
11
}
12
}
13
return c;
14
}