This file is indexed.

/usr/share/SuperCollider/HelpSource/Classes/UnixFILE.schelp is in supercollider-common 1:3.8.0~repack-2.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 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
73
74
75
76
77
78
79
80
81
class:: UnixFILE
summary:: An abstract class
related:: Classes/File, Classes/Pipe
categories:: Files

InstanceMethods::

private::prGetLine, addOpenFile

method::isOpen
Returns whether the file is open. An open request can fail if a file cannot be found for example. This method lets you test that the open call succeeded.

method::pos
Answer the current file position

argument::offset
an offset in bytes.

argument::origin
one of the following link::Classes/Integer::s:
definitionList::
## 0 || seek from beginning of file.
## 1 || seek from current position in file.
## 2 || seek from end of file.
::

method::write
Writes an item to the file.

argument::item
one of the following:
definitionList::
## link::Classes/Float:: ||
## link::Classes/Integer:: ||
## link::Classes/Char:: ||
## link::Classes/Color:: ||
## link::Classes/Symbol:: || writes the name of the Symbol as a C string.
## link::Classes/RawArray:: || write the bytes from any RawArray in big endian.
::

method::getLine
reads and returns a link::Classes/String:: up to lesser of next newline or 1023 chars.

method::getChar
read one byte and return as a link::Classes/Char::.

method::getInt8
read one byte and return as a link::Classes/Integer::.

method::getInt16
read two bytes and return as an link::Classes/Integer::.

method::getInt32
read four bytes and return as an link::Classes/Integer::.

method::getFloat
read four bytes and return as a link::Classes/Float::.

method::getDouble
read eight bytes and return as a link::Classes/Float::.

method::putChar
write a link::Classes/Char:: as one byte.

method::putInt8
write an link::Classes/Integer:: as one byte. That is a signed link::Classes/Integer:: value between -128 and 127.

method::putInt16
write an link::Classes/Integer:: as two bytes.

method::putInt32
write an link::Classes/Integer:: as four bytes.

method::putFloat
write a link::Classes/Float:: as four bytes.

method::putDouble
write a link::Classes/Float:: as eight bytes.

method::putString
write a null terminated link::Classes/String::.