Subversion Repositories Kolibri OS

Rev

Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
959 leency 1
 
2
{
3
4
 
5
kol_struct_BDVK	bdvk;
6
unsigned	result, filesize, pos, i;
7
char		buf[81]; //αστεπ
8
char		temp[256];
9
unsigned	flags;
10
11
 
12
	{
13
	printf ("  less filename\n\r");
14
	return FALSE;
15
		}
16
17
 
18
	{
19
	strcpy(temp, file);
20
21
 
22
		{
23
		return FALSE;
24
		}
25
	}
26
else
27
	{
28
	strcpy(temp, cur_dir);
29
	strcat(temp, file);
30
31
 
32
		{
33
		return FALSE;
34
		}
35
	}
36
37
 
38
k70.p04 = k70.p08 = k70.p12 = 0;
39
k70.p16 = &bdvk;
40
k70.p20 = 0;
41
k70.p21 = temp;
42
43
 
44
if ( 0 != result )
45
	return FALSE;
46
47
 
48
49
 
50
flags = con_get_flags();
51
52
 
53
	{
54
55
 
56
57
 
58
	k70.p04 = pos;
59
	k70.p08 = 0;
60
	k70.p12 = 80;
61
	k70.p16 = buf;
62
	k70.p20 = 0;
63
	k70.p21 = temp;
64
65
 
66
	for (i=0; i<80; i++)
67
		{
68
69
 
70
			con_set_flags(flags|0x100);
71
		else con_set_flags(flags);
72
73
 
74
		}
75
	if ( 0 != result )
76
		{
77
		con_set_flags(flags);
78
		printf ("\n\r");
79
		return TRUE;
80
		}
81
82
 
83
con_set_flags(flags);
84
printf ("\n\r");
85
return TRUE;
86
}
87
>