• Show log

    Commit

  • Hash : 51f75b8b
    Author : Dav999-v
    Date : 2022-07-04T16:42:46

    Fix fallback implementations of SDL_strchr and SDL_strrchr for '\0'
    
    strchr and strrchr return a pointer to the first/last occurrence of a
    character in a string, or NULL if the character is not found. According
    to the C standard, the final null terminator is part of the string, and
    it should thus be possible to get a pointer to the final null with
    these functions. The fallback implementations of SDL_strchr and
    SDL_strrchr would always return NULL if trying to find '\0', and this
    commit fixes that.
    

  • Properties

  • Git HTTP https://git.kmx.io/kc3-lang/SDL.git
    Git SSH git@git.kmx.io:kc3-lang/SDL.git
    Public access ? public
    Description

    Fork of https://github.com/libsdl-org/SDL

    Users
    thodg_m kc3_lang_org thodg_w www_kmx_io thodg thodg_l
    Tags

  • README.md

  • Simple DirectMedia Layer (SDL) Version 2.0

    https://www.libsdl.org/

    Simple DirectMedia Layer is a cross-platform development library designed to provide low level access to audio, keyboard, mouse, joystick, and graphics hardware via OpenGL and Direct3D. It is used by video playback software, emulators, and popular games including Valve’s award winning catalog and many Humble Bundle games.

    More extensive documentation is available in the docs directory, starting with README.md

    Enjoy!

    Sam Lantinga (slouken@libsdl.org)