feat(libc): implement localeconv #3310
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/3310"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from boykopovar/AnyPS5. Originally posted by renzipego-cpu on 2026-10-11T06:56:05Z.
Resubmits #3245 (closed by the intake rule). Fixes #3249.
What
libc does not export
localeconv(0hlfW1O4Aa4, named with tools/nid_names.py against aerolib).mainstops with:Confirmed on
mainfor:localeconv()takes no arguments and returns a pointer to the standard static C-localelconv(offsets asserted:sizeof == 0x60,decimal_pointat 0x00,negative_signat 0x48,int_frac_digitsat 0x50,int_n_sign_posnat 0x5d); string fields are"."fordecimal_pointand""for the rest, character fieldsCHAR_MAX. Recorded in TechnicalDebt:setlocaleis not supported, so the structure never changes.Note: open PR #545 re-exports this NID from libSceAmpr; this PR implements the libc import the affected titles reference.
Tested
Windows 11, MinGW-w64 GCC 15.2.0 (WinLibs r7), Ninja, Release,
BUILD_TESTING=ON:guest_localepasses (asserts every field value, a stable pointer across calls and thaterrnois untouched).python3 -I tools/check_conventions.py --base origin/mainandtools/check_test_registration.pypass. Titles were not run.Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed in TechnicalDebt.mdfiles or images added to the repository (attach them to this PR)Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-11T06:56:14Z.
Thank you for your interest in the project! We are sorry, but we cannot accept more PRs while we work through the existing backlog. This PR has been automatically closed and labeled "intake paused". This is not a judgment of the quality of your changes.
Pull request closed