mirror of https://git.sr.ht/~rabbits/uxn
Browse Source
Previously, writing to the stat port would produce a line of text similar to the listing used when reading a directory. This did not match the documentation around the stat port. After the change, writing an address to the stat port will fill that address with bytes equal to the length parameter. These will either be a hexadecimal file size, or else the same character repeated N times according to the following logic: - path is a directory ? file size of path does not fit in N hexadecimal characters ! path is not readable Note that unlike when reading a directory, the string will not include the requested path, a newline, or a null terminator.main
1 changed files with 29 additions and 6 deletions
Loading…
Reference in new issue