aboutsummaryrefslogtreecommitdiff
path: root/tests/unistd/io.out
blob: c979557e023c80542d5838317a06f9499d4db0b1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
read from folder: -1
errno: 9
write to folder: -1
errno: 9

read from broken device: -1
errno: 5
write to broken device: -1
errno: 5

read from device: 4
data: ABCD
errno: 0
TO DEVICE: 119
TO DEVICE: 114
TO DEVICE: 105
TO DEVICE: 116
TO DEVICE: 101
TO DEVICE: 109
TO DEVICE: 101
TO DEVICE: 0
write to device: 8
errno: 0

open read-only device from createDevice for read, errno: 0
open read-only device from createDevice for write, errno: 13
open write-only device from createDevice for read, errno: 13
open write-only device from createDevice for write, errno: 0

read from file: 10
data: 1234567890
errno: 0

pread past end of file: 0
data: 
errno: 0

seek: 3
errno: 0

partial read from file: 3
data: 456
errno: 0

seek: 8
errno: 0
partial read from end of file: 2
data: 90
errno: 0

seek: -1
errno: 22
partial read from before start of file: 0
data: 
errno: 0

seek: 0
write to start of file: 3
errno: 0

seek: 10
write to end of file: 3
errno: 0

seek: 23
write after end of file: 8
errno: 0

seek: 0
read after write: 31
errno: 0
final: wri4567890wri\0\0\0\0\0\0\0\0\0\0writeme\0