Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement direct.h functions #636

Open
wants to merge 14 commits into
base: master
Choose a base branch
from
Open

Commits on Jun 10, 2023

  1. winapi: Implement all direct.h functions apart from path manipulation

    `fnmerge` and `fnsplit` haven't been implemented since I noticed inconsistencies in the documentation relating to them, for now I simply have empty function definitions in the form described by  https://www.digitalmars.com/rtl/direct.html (ie no `_` prefix)
    The status of other functions is as follows:
    `_chdir`, `_chdrive`: impossible to implement, succeeds without an error code, or change of state in the Xbox
    `_getcwd`, `_getwd`: impossible to implement, return NULL pointers and sets `errno` to `-EINVAL`
    `_getdrive`: as before, impossible to implement - returns `0` and sets `errno` to `-EINVAL` (this is the error state described by a combo of MS public documentation and digital mars docs)
    `_searchpath`: impossible to implement since there is no PATH variable on the Xbox
    `_mkdir`, `_rmdir`: implemented, testing required, however
    skye committed Jun 10, 2023
    Configuration menu
    Copy the full SHA
    680b892 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    18c6acf View commit details
    Browse the repository at this point in the history

Commits on Jun 11, 2023

  1. Configuration menu
    Copy the full SHA
    0b37066 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e2f40bf View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    72ae765 View commit details
    Browse the repository at this point in the history

Commits on Jun 16, 2023

  1. Configuration menu
    Copy the full SHA
    aa89850 View commit details
    Browse the repository at this point in the history

Commits on Jun 17, 2023

  1. Configuration menu
    Copy the full SHA
    8893c02 View commit details
    Browse the repository at this point in the history

Commits on Jun 18, 2023

  1. Configuration menu
    Copy the full SHA
    6078f61 View commit details
    Browse the repository at this point in the history
  2. winapi: Fix -Wreturn-type warnings

    skye committed Jun 18, 2023
    Configuration menu
    Copy the full SHA
    a5e09e0 View commit details
    Browse the repository at this point in the history
  3. winapi: Fix typo

    skye committed Jun 18, 2023
    Configuration menu
    Copy the full SHA
    cd71cb3 View commit details
    Browse the repository at this point in the history
  4. winapi: Actually include assert.h

    skye committed Jun 18, 2023
    Configuration menu
    Copy the full SHA
    21fe551 View commit details
    Browse the repository at this point in the history
  5. winapi: Add fallback to return EINVAL

    skye committed Jun 18, 2023
    Configuration menu
    Copy the full SHA
    57cded3 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    5ef78d2 View commit details
    Browse the repository at this point in the history
  7. winapi: Fix debugPrint format specifier

    skye committed Jun 18, 2023
    Configuration menu
    Copy the full SHA
    014d662 View commit details
    Browse the repository at this point in the history