Commit Graph

10 Commits

Author SHA1 Message Date
Lorenzo Cogotti d440a40863 [osx,config.ld] Add LDoc documentation. 2022-12-14 12:28:41 +01:00
Lorenzo Cogotti e67135cbab [osx] Minor style fix. 2022-12-13 11:34:07 +01:00
Lorenzo Cogotti 9f4c8b7a98 [osx] Avoid using _fseeki64_nolock(), does not buy much and not very compatible. 2022-12-12 19:54:38 +01:00
Lorenzo Cogotti 89751336d2 [osx] Properly handle 0 length on Windows implementation of flocking(). 2022-12-12 19:46:30 +01:00
Lorenzo Cogotti 0e3125e59c [osx] sys_posix_fadvise()->fadvise(). 2022-12-12 15:58:36 +01:00
Lorenzo Cogotti 1cc6bb3a90 [osx] Improve os_getcwd() on Lua>=52. 2022-12-12 15:57:54 +01:00
Lorenzo Cogotti 0f893a4682 [osx.c] Add directory __tostring() metamethod. 2022-12-12 12:35:48 +01:00
Lorenzo Cogotti 672f94e73d [osx.c] Add file range locking functionality. 2022-12-12 12:35:24 +01:00
Lorenzo Cogotti 31bc1077c1 [osx.c] Rework directory iteration.
- add opendir() to open a directory and return it.
- add directory listfiles() method, returning all remaining entries as
  an array
- rework directory iteration
2022-12-12 00:42:36 +01:00
Lorenzo Cogotti 7c36f77dfa [*] First commit. 2022-12-11 18:58:11 +01:00