|
| Previous: 6.2 Runtime Support Routines | TOC | Index | Back | Next: 6.2.2 Char |
| Procedure | Description |
|---|---|
| T.BPW() | Return the number of bytes per machine word on the host machine |
| T.CLOSE(fd) | Close file descriptor FD |
| T.CVALIST(n, bmap, in, out) | Convert/export argument list, N=number of arguments, BMAP=argument type bitmap, IN=source list, OUT=destination list, return number of bytes by which OUT was relocated |
| T.GETARG(n, buf, max) | Copy MAX-1 characters of command line argument #N into BUF; N>=1 |
| T.GETENV(name, buf, max) | Copy MAX-1 characters of the value of the environment variable NAME to BUF |
| T.MEMCOMP(r1, r2, len) | Compare LEN bytes at the regions R1 and R2 |
| T.MEMCOPY(dest, src, len) | Copy LEN bytes from SRC to DEST |
| T.MEMFILL(dest, char, len) | Fill LEN bytes at DEST with CHAR |
| T.MEMSCAN(src, char, lim) | Search LIM bytes at SRC for CHAR |
| T.NEWLINE(buf) | Fill BUF with a system dependent newline sequence |
| T.OPEN(path, mode) | Open file PATH in the given MODE |
| T3X.OAPPND T3X.ORDWR T3X.OREAD T3X.OWRITE |
append mode (write-only) read/write mode read-only mode create/overwrite mode (write-only) |
| T.READ(fd, buf, len) | Read LEN bytes from file descriptor FD into buffer BUF |
| T.REMOVE(path) | Delete (link to) the file specified in PATH |
| T.RENAME(old, new) | Rename the file OLD to NEW |
| T.SEEK(fd, dist, org) | Move the file pointer of FD by DIST bytes starting at ORG. |
| T3X.SEEK_BCK T3X.SEEK_END T3X.SEEK_FWD T3X.SEEK_SET |
origin: current position, seek backward origin: end of file, seek backward origin: current position, seek forward origin: beginning of file, seek forward |
| T.WRITE(fd, buf, len) | Write LEN characters from buffer BUF to file descriptor FD |
| Previous: 6.2 Runtime Support Routines | TOC | Index | Back | Next: 6.2.2 Char |