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

std.c: Add setlocale() #20420

Merged
merged 1 commit into from
Jul 5, 2024
Merged

std.c: Add setlocale() #20420

merged 1 commit into from
Jul 5, 2024

Conversation

linusg
Copy link
Sponsor Contributor

@linusg linusg commented Jun 25, 2024

_ = std.c.setlocale(.ALL, null); // Get locale
_ = std.c.setlocale(.ALL, "en_GB.UTF-8"); // Set locale

lib/std/c.zig Outdated Show resolved Hide resolved
@andrewrk andrewrk enabled auto-merge (rebase) July 5, 2024 07:42
@andrewrk andrewrk merged commit b3afba8 into ziglang:master Jul 5, 2024
10 checks passed
@linusg linusg deleted the setlocale branch July 5, 2024 09:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants