Zesstra | 1862697 | 2017-01-31 10:38:27 +0100 | [diff] [blame^] | 1 | read_data() |
| 2 | =========== |
| 3 | |
| 4 | SYNOPSIS |
| 5 | -------- |
| 6 | :: |
| 7 | |
| 8 | string read_data(string file, int start, int anzahl) |
| 9 | |
| 10 | BESCHREIBUNG |
| 11 | ------------ |
| 12 | :: |
| 13 | |
| 14 | Diese Funktion macht genau das, was read_file() tut (also siehe dort), |
| 15 | allerdings stellt sie sicher, dass <file> immer mit einem /data/ |
| 16 | beginnt (setzt es also notfalls davor). |
| 17 | Es wird also immer irgendwo unterhalb von /data/ gelesen. |
| 18 | |
| 19 | BEISPIEL |
| 20 | -------- |
| 21 | :: |
| 22 | |
| 23 | # read_data("/d/ebene/zesstra/blupp"); |
| 24 | -> liest das File /data/d/ebene/zesstra/blupp. |
| 25 | # read_data("/data/d/ebene/zesstra/blupp"); |
| 26 | -> tut dasselbe. |
| 27 | |
| 28 | SIEHE AUCH |
| 29 | ---------- |
| 30 | :: |
| 31 | |
| 32 | write_data() |
| 33 | read_file(E), write_file(E), read_bytes(E), write_file(E) |
| 34 | |