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

Use/fix ret_* helpers for certain libc functions #1212

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Commits on Nov 9, 2024

  1. Use/fix ret_* helpers for certain libc functions

    - use ret_usize() instead of ret_send_recv() for c::recvmsg(), as it
      always returns c::ssize_t
    - use ret_usize() instead of ret_send_recv() for c::sendmsg(), as it
      always returns c::ssize_t
    - change the ret_send_recv() used on OSes different than Windows,
      Redox, and wasi to take c::ssize_t as parameter, as it is what
      c::recv(), c::send(), c::recvfrom(), and c::sendto() return on
      most/all of those OSes
    pinotree committed Nov 9, 2024
    Configuration menu
    Copy the full SHA
    553a614 View commit details
    Browse the repository at this point in the history