Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
ErrLimitReached means that the read limit is reached.
Functions ¶
func ConsistentRead ¶
ConsistentRead repeatedly reads a file until it gets the same content twice. This is useful when reading files in /proc that are larger than page size and kernel may modify them between individual read() syscalls.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.