Search:
Login
Help/Guide
About Trac
Preferences
Register
Forgot your password?
Wiki
Timeline
Roadmap
Browse Source
View Tickets
Search
Context Navigation
Back to Ticket #17636
Ticket #17636
: rline.c
File rline.c,
194 bytes
(added by
Cacodemon345
,
2 years ago
)
Program file demostrating the behaviour
Line
1
#include
<stdio.h>
2
#include
<wchar.h>
3
4
int
main
()
5
{
6
FILE
*
file
=
fopen
(
"./rline.txt"
,
"r+t"
);
7
if
(
file
)
8
{
9
wchar_t
data
[
512
]
=
{
0
};
10
fgetws
(
data
,
4
,
file
);
11
}
12
fclose
(
file
);
13
return
0
;
14
}
Download in other formats:
Original Format