Subversion Repositories wimsdev

Rev

Rev 8102 | Rev 8163 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 8102 Rev 8134
Line 24... Line 24...
24
}
24
}
25
 
25
 
26
/* Get a line in a stored working file.
26
/* Get a line in a stored working file.
27
 * Buffer length is always MAX_LINELEN. */
27
 * Buffer length is always MAX_LINELEN. */
28
 
28
 
29
/* 1/2012
-
 
30
J.M. Evers
-
 
31
Added ';' as additional command seperator
-
 
32
*/
-
 
33
int ggetline(char buf[])
29
int ggetline(char buf[])
34
{
30
{
35
    int c;
31
    int c;
36
    int i;
32
    int i;
37
    for(i=0,c=getchar();i<MAX_LINELEN;i++,c=getchar()) {
33
    for(i=0,c=getchar();i<MAX_LINELEN;i++,c=getchar()) {