2 #include <X11/IntrinsicP.h>
3 #include <X11/StringDefs.h>
14 *cp
= getc (dw
->dvi
.file
);
17 *cp
= getc (dw
->dvi
.file
);
19 putc (*cp
, dw
->dvi
.tmpFile
);
25 GetLine(dw
, Buffer
, Length
)
32 Length
--; /* Save room for final '\0' */
34 while (DviGetC (dw
, &c
) != EOF
) {
35 if (Buffer
&& i
< Length
)
48 GetWord(dw
, Buffer
, Length
)
55 Length
--; /* Save room for final '\0' */
56 while (DviGetC(dw
, &c
) == ' ' || c
== '\n')
59 if (Buffer
&& i
< Length
)
61 if (DviGetC(dw
, &c
) == ' ' || c
== '\n') {
78 while (DviGetC(dw
, &c
) == ' ' || c
== '\n')
85 for (; c
>= '0' && c
<= '9'; DviGetC(dw
, &c
)) {
99 c-continued-statement-offset: 8
103 c-tab-always-indent: nil